Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!usc!snorkelwacker!husc6!endor!siegel From: siegel@endor.harvard.edu (Rich Siegel) Newsgroups: comp.sys.mac.programmer Subject: Re: Lowly FORTRAN & SANE Question Message-ID: <3147@husc6.harvard.edu> Date: 13 Nov 89 01:42:38 GMT References: <227700051@uxa.cso.uiuc.edu> Sender: news@husc6.harvard.edu Reply-To: siegel@endor.UUCP (Rich Siegel) Organization: Symantec Language Products Group Lines: 38 In article <227700051@uxa.cso.uiuc.edu> nljg0470@uxa.cso.uiuc.edu writes: > > Question: In Think C, you can choose, via which library you link, >whether your code will utilize SANE, the FPU, or a little bit of both. What Actually, the choice is made by selecting the appropriate options from the Options... dialog; the choice of library is made simply to complement the choice of code generation, so that everything works correctly. The same holds true for other compilers: choose the code generation, and then link the libraries to match. >to use the 68881/68882 optiion, is SANE totally bypassed and the built in >coprocessor functions are used exclussively or does it still use SANE in order >to get the 96bit (I think it's 96 but I've been wrong before (yes, it's true)) As it turns out the 96-bit data type has the same precision as the 80-bit data type, but has an extra word of zeros after the exponent "to force longword alignment and for future expansion", according to the Motorola manuals. Generally, the compiler will do everything possible using the FPU, but some functions (such as string-to-binary conversions) are still done by SANE. R. ~~~~~~~~~~~~~~~ Rich Siegel Staff Software Developer Symantec Corporation, Language Products Group Internet: siegel@endor.harvard.edu UUCP: ..harvard!endor!siegel "There is no personal problem which cannot be solved by sufficient application of high explosives." ~~~~~~~~~~~~~~~