home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.linux
- Path: sparky!uunet!stanford.edu!nntp.Stanford.EDU!leland.Stanford.EDU!britt
- From: britt@leland.Stanford.EDU (Britt Park)
- Subject: Re: Kernel FP Math bug?
- Message-ID: <1993Jan9.234314.20990@leland.Stanford.EDU>
- Sender: news@leland.Stanford.EDU (Mr News)
- Organization: DSG, Stanford University, CA 94305, USA
- References: <1993Jan9.144510.9590@walter.cray.com>
- Date: Sat, 9 Jan 93 23:43:14 GMT
- Lines: 17
-
- I believe that atof() is broken. I've had the same experience and I have a
- 387 in my Linux box. A simple work-around is to replace
-
- blab=atof(blabula);
-
- by
-
- sscanf(blabula,"%lf",&blab);
-
- Inelegant, I admit, but it works.
-
- I don't know the origin of the problem. It might be a shared library thing.
- I experienced some really strange behavior with some of the early shared X
- libs which went away when I linked things statically.
-
- Britt Park
- britt@cb-iris.stanford.edu
-