Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!cbmvax!ken From: ken@cbmvax.commodore.com (Ken Farinsky - CATS) Newsgroups: comp.sys.amiga.tech Subject: Re: Math Libraries Message-ID: <13703@cbmvax.commodore.com> Date: 8 Aug 90 14:09:47 GMT References: <26900002@rigel> Reply-To: ken@cbmvax (Ken Farinsky - CATS) Organization: Commodore, West Chester, PA Lines: 21 In article <26900002@rigel> gerber@rigel.astro.uiuc.edu writes: >What are the advantages/disadvantages of using the Math libraries for >mathematical calculations rather than the similar C functions? Shared-code and automatic ability to use an attached numeric processor. When you use the math libraries, your application does not have to contain the code to do the math--your application will be smaller. As an additional benefit, when you add a math co-processor the libraries will use them without any change to your executable. >Or does Lattice C (say) call the math library routines? Lattice C can call the math libraries if you set the correct flags. See the Lattice manual for information on "lc", then look for the "-f" flag. -- -- Ken Farinsky - CATS - (215) 431-9421 - Commodore Business Machines uucp: ...{uunet,rutgers}!cbmvax!ken bix: kfarinsky