Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!uakari.primate.wisc.edu!polyslo!pdavid From: pdavid@polyslo.CalPoly.EDU (Paul C. David) Newsgroups: comp.windows.ms Subject: Re: FAR functions and float types Message-ID: <1989Sep18.194521.17115@polyslo.CalPoly.EDU> Date: 18 Sep 89 19:45:21 GMT References: <246400022@uxa.cso.uiuc.edu> <1989Sep14.101215.21281@ziebmef.mef.org> Reply-To: pdavid@polyslo.CalPoly.EDU (Paul C. David) Organization: Cal Poly State University -- San Luis Obispo Lines: 18 mikek@ziebmef.mef.org (Mike King) writes: >I've had the exact same problem with passing float arguments in Windows! >And I got around it by using doubles instead of floats. I know people are I was REALLY skeptical when I saw this the first time. But I stand corrected, some co-workers recall seeing something about passing floats in the bug list on ONLINE. Another good one is that you don't want to return doubles from a function, as this COULD foul up Global memory. So.... you need to pass the double as a pointer, or declare your function as FAR PASCAL. Have fun.... -Paul. -- Paul C. David pdavid@polyslo.CalPoly.EDU California Polytechic State University, San Luis Obispo Home of the six-year or 60,000 mile undergraduate degree