home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c
- Path: sparky!uunet!gatech!darwin.sura.net!uvaarpa!cv3.cv.nrao.edu!laphroaig!cflatter
- From: cflatter@nrao.edu (Chris Flatters)
- Subject: Re: C vs. FORTRAN
- Message-ID: <1992Sep4.160618.21473@nrao.edu>
- Sender: news@nrao.edu
- Reply-To: cflatter@nrao.edu
- Organization: NRAO
- References: <1992Sep4.001842.6039@menudo.uh.edu>
- Date: Fri, 4 Sep 1992 16:06:18 GMT
- Lines: 16
-
- In article 6039@menudo.uh.edu, svec5@menudo.uh.edu (T.C. Zhao) writes:
- >Yet another possibility (although it won't explain the huge difference):
- >Fortran compiler knows the sin and cos functions and hence there is
- >a possibility to do inlining while C compiler is not aware of these
- >functions and there is no possibility of doing so without violeting
- >the standard.
-
- An ANSI C compiler is allowed to inline any standard library functions,
- including sin and cos.
-
- Chris Flatters
- cflatter@nrao.edu
-
-
-
-
-