Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.3 4.3bsd-beta 6/6/85; site ucbvax.BERKELEY.EDU Path: utzoo!watmath!clyde!burl!ulysses!ucbvax!cory.berkeley.edu!dillon From: dillon@CORY.BERKELEY.EDU (Matt Dillon) Newsgroups: net.micro.amiga Subject: Re: Floating point routines with Lattice V3.03 - Questions ?? Message-ID: <8603121639.AA11477@cory> Date: Wed, 12-Mar-86 11:39:47 EST Article-I.D.: cory.8603121639.AA11477 Posted: Wed Mar 12 11:39:47 1986 Date-Received: Fri, 14-Mar-86 05:36:29 EST Sender: daemon@ucbvax.BERKELEY.EDU Organization: University of California at Berkeley Lines: 14 I don't have stdio.h with me at the moment. I don't think it extern's atof(). Therefore, you should have the following line: extern double atof(); In any case, if you didn't extern it, lattice would think atof() returned an INT, and attempt to convert INT->FLOAT before assigning it to your variable. Needless to say, this is why you are getting such strange numbers. -Matt