tih@barsoom.nhh.no (Tom Ivar Helbekkmo) (06/16/90)
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@barsoom.nhh.no, thelbekk@norunit.bitnet, edb_tom@debet.nhh.no