strtod() problem - bug in library?

John F Haugh II jfh at greenber.austin.ibm.com
Wed Apr 24 09:13:57 AEST 1991


In article <5!mgj6f at rpi.edu> fitz at mml0.meche.rpi.edu (Brian Fitzgerald) writes:
>The AIX strtod() man page says that the decimal point is
>optional.

Yes, it is.  And single digits (your "1", for example) work
just fine.  The problem only occurs with a single "0" digit.

>Is my strtod function broken, is my code wrong, or am I
>trying to do something non-portable or undefined?

I've located the bug and requested that it be APAR'd.  Thanks
for sending in the bug report.
-- 
John F. Haugh II      |      I've Been Moved     |    MaBellNet: (512) 838-4340
SneakerNet: 809/1D064 |          AGAIN !         |      VNET: LCCB386 at AUSVMQ
BangNet: ..!cs.utexas.edu!ibmchs!auschs!snowball.austin.ibm.com!jfh (e-i-e-i-o)



More information about the Comp.unix.aix mailing list