home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / lang / c / 13229 < prev    next >
Encoding:
Text File  |  1992-09-04  |  889 b   |  29 lines

  1. Newsgroups: comp.lang.c
  2. Path: sparky!uunet!gatech!darwin.sura.net!uvaarpa!cv3.cv.nrao.edu!laphroaig!cflatter
  3. From: cflatter@nrao.edu (Chris Flatters)
  4. Subject: Re: C vs. FORTRAN
  5. Message-ID: <1992Sep4.160618.21473@nrao.edu>
  6. Sender: news@nrao.edu
  7. Reply-To: cflatter@nrao.edu
  8. Organization: NRAO
  9. References: <1992Sep4.001842.6039@menudo.uh.edu>
  10. Date: Fri, 4 Sep 1992 16:06:18 GMT
  11. Lines: 16
  12.  
  13. In article 6039@menudo.uh.edu, svec5@menudo.uh.edu (T.C. Zhao) writes:
  14. >Yet another possibility (although it won't explain the huge difference):
  15. >Fortran compiler knows the sin and cos functions and hence there is
  16. >a possibility to do inlining while C compiler is not aware of these
  17. >functions and there is no possibility of doing so without violeting
  18. >the standard.
  19.  
  20. An ANSI C compiler is allowed to inline any standard library functions,
  21. including sin and cos.
  22.  
  23.     Chris Flatters
  24.     cflatter@nrao.edu
  25.  
  26.  
  27.  
  28.  
  29.