home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.amiga.applications
- Path: sparky!uunet!cs.utexas.edu!sun-barr!ames!haven.umd.edu!darwin.sura.net!gatech!news.byu.edu!ux1!fcom.cc.utah.edu!dave
- From: dave@news.ccutah.edu (dave martin)
- Subject: Re: SAS C 6.0
- Message-ID: <1992Sep10.192942.10151@fcom.cc.utah.edu>
- Sender: news@fcom.cc.utah.edu
- Organization: University of Utah Computer Center
- X-Newsreader: Tin 1.1 PL3
- References: <Bu9EGK.Gvn@unx.sas.com>
- Date: Thu, 10 Sep 92 19:29:42 GMT
- Lines: 12
-
- I just discovered two days ago that atof in 5.10b with ansi libraries
- is "broke". I quote it because it just occured to me that it may be
- returning long double which the 5.10 compiler doesn't support.
- I'm compiling with -cfirst -f8 (and linking with approprate libraries);
- it returns 0 for "0" and "0.0" but returns things
- like 1.2423e+173 for things like "1.0".
-
- Anyway, is it broke, and if so is it fixed?
- I've resorted to using sscanf in the meantime.
-
- dave@csulx.weber.edu
- dmartin@cc.weber.edu
-