Xref: utzoo comp.lang.c:38591 comp.unix.aix:4692 Newsgroups: comp.lang.c,comp.unix.aix Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!batcomputer!cornell!uw-beaver!milton!gibdo!slh From: slh@gibdo.engr.washington.edu () Subject: Re: strtod() problem - bug in library? Message-ID: <1991Apr23.071505.16713@gibdo.engr.washington.edu> Summary: strtoul() too Keywords: strtod() strtoul() Sender: news@milton.u.washington.edu (News) Reply-To: slh@gibdo.engr.washington.edu (PUT YOUR NAME HERE) Organization: zippity References: <5!mgj6f@rpi.edu> Date: Tue, 23 Apr 1991 07:17:38 GMT In article <5!mgj6f@rpi.edu> fitz@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