Doesn't atof() work under SCO Unix V/386???
Tom Ivar Helbekkmo
tih at barsoom.nhh.no
Sat Jun 16 21:05:10 AEST 1990
OK, I give up... Either I've gone blind, or the implementation of
atof() under SCO Unix V/386 3.2.0's development system is broken!
Test program:
#include <stdio.h>
#include <math.h>
int main(int argc, char **argv) {
printf("%lf\n", atof("1"));
exit(0);
}
Compile it by:
% cc -o test test.c -lm
And then run it:
% ./test
0.000000
Does anyone have a working atof() replacement I can have a copy of?
-tih
--
Tom Ivar Helbekkmo, NHH, Bergen, Norway. Telephone: +47-5-959205
tih at barsoom.nhh.no, thelbekk at norunit.bitnet, edb_tom at debet.nhh.no
More information about the Comp.unix.i386
mailing list