Newsgroups: comp.lang.c Path: utzoo!henry From: henry@utzoo.uucp (Henry Spencer) Subject: Re: C optimizer Message-ID: <1989Feb14.154531.15292@utzoo.uucp> Organization: U of Toronto Zoology References: <515@larry.UUCP> <9648@smoke.BRL.MIL> Date: Tue, 14 Feb 89 15:45:31 GMT In article <9648@smoke.BRL.MIL> gwyn@brl.arpa (Doug Gwyn (VLD/VMB) ) writes: >... to allow the compiler to generate >in-line code rather than an actual function call for standard >functions. There actually is floating-point hardware with SQRT >support; I don't know about COS. You betcha; the 80x87 and the 6888x implement everything including the kitchen sink, notably the trig functions. Never mind the mundane stuff like cos(): the 68881 has a hyperbolic-arctangent instruction! Of course, the newer and faster FPUs like the MIPS one don't have all this gingerbread, so who knows what next year's FPUs will look like... -- The Earth is our mother; | Henry Spencer at U of Toronto Zoology our nine months are up. | uunet!attcan!utzoo!henry henry@zoo.toronto.edu