Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!apple!bloom-beacon!think!husc6!endor!siegel From: siegel@endor.harvard.edu (Rich Siegel) Newsgroups: comp.sys.mac Subject: Re: LSC math libraries on SE/30 Message-ID: <2091@husc6.harvard.edu> Date: 20 Jun 89 22:11:56 GMT References: <4150@merlin.usc.edu> Sender: news@husc6.harvard.edu Reply-To: siegel@endor.UUCP (Rich Siegel) Organization: Symantec/THINK Technologies, Bedford, MA Lines: 31 In article <4150@merlin.usc.edu> sshimoji@nunki.usc.edu (Shunichi Shimoji) writes: > >The source file is shown below. >I compiled it with MacTraps, stdio and Math libraries, >and it produced correctly: > log(100.000000)=4.605170 > >But when I used MathHybrid instead of Math, it produced > log(?)=-0.000434 >and when Math881, it even gave the link error > undefined: log > >I defined _MC68881_ macro for MathHybrid and Math881. >Why do they NOT work correctly? Be sure to turn on 68881 code generation in the Options dialog. That will solve your problem... --Rich ~~~~~~~~~~~~~~~ Rich Siegel Staff Software Developer Symantec Corporation, Language Products Group Internet: siegel@endor.harvard.edu UUCP: ..harvard!endor!siegel I classify myself as a real developer because my desk is hip-deep in assembly-language listings and I spend more than 50% of my time in TMON. ~~~~~~~~~~~~~~~