Path: utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!cs.utexas.edu!yale!mintaka!bloom-beacon!eru!luth!sunic!nuug!ifi!barsoom!tih From: tih@barsoom.nhh.no (Tom Ivar Helbekkmo) Newsgroups: comp.unix.i386 Subject: Doesn't atof() work under SCO Unix V/386??? Message-ID: <925@barsoom.nhh.no> Date: 16 Jun 90 11:05:10 GMT Distribution: comp Organization: Norwegian School of Economics Lines: 28 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 #include 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