home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / os / linux / 23410 < prev    next >
Encoding:
Text File  |  1993-01-09  |  862 b   |  35 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!mcsun!sunic!ugle.unit.no!lise.unit.no!lasse
  3. From: lasse@Lise.Unit.NO (Lasse \verlier)
  4. Subject: Re: Kernel FP Math bug?
  5. Message-ID: <1993Jan10.000854.13027@ugle.unit.no>
  6. Sender: news@ugle.unit.no (NetNews Administrator)
  7. Organization: Norwegian Institute of Technology
  8. References:  <1993Jan9.144510.9590@walter.cray.com>
  9. Date: Sun, 10 Jan 93 00:08:54 GMT
  10. Lines: 23
  11.  
  12. In article <1993Jan9.144510.9590@walter.cray.com>, rsocia@alberti.cray.com (Rick Socia) writes:
  13.  > I compiled the following program:
  14.  > 
  15.  > main(int argc, char *argv)
  16.  > {
  17.  >   double f;
  18.  > 
  19.  >   f = atof(argv[1]);
  20.  >   printf("The answere is %f\n", f);
  21.  > }
  22.  > 
  23.  > The core dumps.  (passing an argument of "0.50").
  24.  > 
  25.  
  26. Not strange since the argument passed should be 42 :-)
  27.  
  28.  > -- 
  29.  > 
  30.  > Rick Socia
  31.  
  32. ---
  33. Lasse {\O}verlier , lasse@pvv.unit.no
  34. no .sig
  35.