home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / os / linux / 10687 < prev    next >
Encoding:
Text File  |  1992-09-14  |  2.7 KB  |  61 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!van-bc!ubc-cs!unixg.ubc.ca!nukta!hodder
  3. From: hodder@geop.ubc.ca (philip hodder)
  4. Subject: Re: gcc 2.2.2 math lib bug???
  5. Message-ID: <1992Sep14.220738.20734@unixg.ubc.ca>
  6. Sender: news@unixg.ubc.ca (Usenet News Maintenance)
  7. Nntp-Posting-Host: nukta.astro.ubc.ca
  8. Reply-To: hodder@geop.ubc.ca
  9. Organization: Geophysics & Astronomy, U.B.C. Vancouver, Canada
  10. References: <1992Sep13.175040.24459@klaava.Helsinki.FI>
  11. Distribution: net
  12. Date: Mon, 14 Sep 1992 22:07:38 GMT
  13. Lines: 46
  14.  
  15. In article 24459@klaava.Helsinki.FI, torvalds@klaava.Helsinki.FI (Linus Benedict Torvalds) writes:
  16. > In article <1992Sep13.161713.8191@monu6.cc.monash.edu.au> int177c@aurora.cc.monash.edu.au (Jae Won) writes:
  17. > >
  18. > >    I found a weidness in gcc2.2.2d. It may be my silly code but I tested
  19. > >the code with gcc compiler at uni(gcc...not sure of the version) and it worked
  20. > >fine...well, like what I expected. The code is a edited fragment of a code 
  21. > >I am writing to do a monte carlo stuff. I use exp() function.
  22. > It's more likely to be a problem with the 387-emulator: the emulator
  23. > does *not* handle under/over-flows gracefully in its current form.  The
  24. > fix is either to get a real 387, check for underflows by hand, or fix
  25. > the emulator.  Fixing the emulator is obviously the optimal solution,
  26. > but it takes some doing, and nobody seems interested (most people,
  27. > including me, seem to have a 387).  The fact that the emulator works
  28. > "well enough" for most things makes it a pretty boring project, so
  29. > nobody has done anything about it. 
  30. >         Linus
  31.  
  32. I've been thinking about getting a 387 - mainly for running stuff under Linux but
  33. also to speed up some DOS applications. Will any old 387 (Intel, Cyrix etc) do?
  34. Or is there a significant difference between them?
  35.  
  36. BTW I have also had problems with math calculations under Linux - code that compiles
  37. and runs under Sun-OS and Linux do not give the same results.
  38.  
  39.             Phil.
  40.  
  41. ---
  42.  
  43. ------------------------------------------------------------------------------
  44.   Philip J. C. Hodder                      INTERNET: hodder@geop.ubc.ca
  45.   Dept. of Geophysics & Astronomy          PHONE:    (604) 822-6722 
  46.   #129-2219 Main Mall                      FAX:      (604) 822-6047
  47.   University of British Columbia          
  48.   Vancouver, British Columbia, Canada         
  49.   V6T 1Z4                                  
  50. ------------------------------------------------------------------------------
  51. "It's another one of those irregular verbs, isn't it?:
  52.     I give confidential press briefings,
  53.     You leak,
  54.     He gets charged under Section 2(a) of the Official Secrets Act!"
  55.  
  56.         Bernard Woolley in "Yes, Prime Minister"
  57. ------------------------------------------------------------------------------
  58.  
  59.