Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!uunet!aplcen!jhunix!esp_05 From: esp_05@jhunix.HCF.JHU.EDU (Stdnt 05) Newsgroups: comp.sys.atari.st Subject: GNU C Floating Point Math Message-ID: <3497@jhunix.HCF.JHU.EDU> Date: 4 Dec 89 16:30:59 GMT Reply-To: esp_05@jhunix.UUCP (Stdnt 05) Organization: The Johns Hopkins University - HCF Lines: 18 Does anyone have any experience with GNU C and using floating point math? From my brief experiences of trying to write some 3D animation in GNU C (or should I say my brief run-in with GNU C) I have uncovered an unreasonably large number of errors in the floating point handling. Admittedly, a number of them cleared up when I stopped using -mshort, even though I used -lpml16 whenever I used -mshort. Some of the errors include: cos(0) doesn't seem to work (x*x)+(y*y) doesn't work when -1