strtod() problem - bug in library?
slh at gibdo.engr.washington.edu
slh at gibdo.engr.washington.edu
Tue Apr 23 17:17:38 AEST 1991
In article <5!mgj6f at rpi.edu> fitz at mml0.meche.rpi.edu (Brian Fitzgerald) writes:
|String-to-decimal conversion problem on AIX/370
|------ -- ------- ---------- ------- -- -------
|
|When a string equivalent to zero containing no decimal
|point is encountered, strtod() does not store a pointer to
|the unconverted suffix. Instead, it stores the same
|pointer that was supplied, as though the conversion were
|unsuccessful.
|
strtoul() also seems to be incorrect:
if integer can not be formed, addr before string is returned in pointer
and not string
More information about the Comp.unix.aix
mailing list