home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.linux
- Path: sparky!uunet!timbuk.cray.com!walter.cray.com!alberti!rsocia
- From: rsocia@alberti.cray.com (Rick Socia)
- Subject: Kernel FP Math bug?
- Message-ID: <1993Jan9.144510.9590@walter.cray.com>
- Lines: 26
- Sender: rsocia@alberti (Rick Socia)
- Nntp-Posting-Host: alberti.cray.com
- Organization: Cray Research, Inc.
- Date: 9 Jan 93 14:45:10 CST
-
- I compiled the following program:
-
- main(int argc, char *argv)
- {
- double f;
-
- f = atof(argv[1]);
- printf("The answere is %f\n", f);
- }
-
- The core dumps. (passing an argument of "0.50").
-
- The reason I wrote this example is that I have a much larger application which
- uses a line much like this that, when it hits this line, it jumps to another
- part of the code with out executing the following instruction.
-
- I am getting quite a few FP related problems.
-
- I am using kernel 0.99-47 (SLS release) and gcc-2.3.3 with all the whistles
- and library bells installed. The system is a 386/33 with NO 387.
-
- Any ideas?
-
- --
-
- Rick Socia
-