Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!uwvax!spool!bates From: bates@wingra.stat.wisc.edu (Douglas Bates) Newsgroups: comp.sys.next Subject: Inline math in gcc (was NeXT vs Sun3) Message-ID: Date: 23 Oct 89 23:53:19 GMT References: <925@abvax.UUCP> <13246@orstcs.CS.ORST.EDU> <17434@watdragon.waterloo.edu> <191@med.Stanford.EDU> Sender: news@spool.cs.wisc.edu Organization: Statistics Dept., U. of Wisconsin - Madison Lines: 8 In-reply-to: nrt@cs.brown.edu's message of 22 Oct 89 03:27:56 GMT Nick Thompson (nrt@cs.brown.edu) writes: Is gcc on the NeXT using inline 68882 instructions? If it is and the Fortran compiler is not, this could explain the speed difference. Saving a function call for every operation will do that... Yes, gcc does use inline floating point functions unless you define STRICT_ANSI. Look at the file /usr/include/math.h.