[comp.sys.amiga.tech] Need help with atof

paleo@uncecs.edu (Constantine A. LaPasha) (09/05/90)

I'm using SAS/C 5.10 on a 7M A2500/30. -- I can't seem to get
atof() to return a correct double when fed a null terminated
ASCII string representation of the thing.  What's up??  Does
it work for other folks?? Am I doing something really wrong?
Or is it broke?? -- I'm including the correct headers to my
understanding..

Any help is greatly appreciated.  Thanks.

-- 
===============================================
Kostya LaPasha          paleo@ecsvax.uncecs.edu
==== ... virtually, we can do anything ... ====

TCampbell@cup.portal.com (Thomas W Campbell) (09/07/90)

If you are using the Build icon from WB, go to the Options icon, click on
Object Options, and insert the line LIB:LCM.LIB into the Linker Objects
window.
 
I think the CLI version of the above is LC -Lm filename.c.
 
____
 /c
 
(TCampbell@cup.portal.com)