🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #51557

atof problem

#51557
From: Kevin Lee 19726
Date: Tue, 04 May 1993 17:19
12 lines
1132 bytes
Hello,

We are trying to compile a small program that uses "atof".  We're running 
Coherent on a 386DX PC.  We're using the floating point emulator.  In our
program we have #include<stdlib.h> and it compiles without errors.

The problem is:  When we run the program, "atof" returns NaN.

Kevin Lee                            | Aerospace Corporation, El Segundo, CA
Phone: (310)336-7989                 | 2350 E. El Segundo Blvd., M1-177
Voice Mail: (310)336-5454, box 67989 | El Segundo, CA  90245
Internet: klee@nurb.aero.org         |
Technical Details
Message-ID: <9305041711.AA06113@nurb.aero.org>
Path: arc1-ca.pugleaf.net!gmd.de!ira.uka.de!sol.ctr.columbia.edu!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!cis.ohio-state.edu!nurb.aero.ORG!klee

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,d455025ade9aefad,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1993-05-04 10:54:22 PST
Path: arc1-ca.pugleaf.net!gmd.de!ira.uka.de!sol.ctr.columbia.edu!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!cis.ohio-state.edu!nurb.aero.ORG!klee
From: klee@nurb.aero.ORG (Kevin Lee 19726)
Newsgroups: gnu.gcc.help
Subject: atof problem
Date: 4 May 1993 13:19:54 -0400
Organization: GNUs Not Usenet
Lines: 12
Sender: daemon@cis.ohio-state.edu
Distribution: gnu
Message-ID: <9305041711.AA06113@nurb.aero.org>