home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / os / os2 / programm / 4711 < prev    next >
Encoding:
Text File  |  1992-09-03  |  2.0 KB  |  53 lines

  1. Newsgroups: comp.os.os2.programmer
  2. Path: sparky!uunet!haven.umd.edu!news.umbc.edu!gmuvax2!kbass
  3. From: kbass@gmuvax2.gmu.edu (Ken Bass)
  4. Subject: Re: Division by 0 crashes OS2/2.0
  5. Message-ID: <1992Sep3.145040.26255@gmuvax2.gmu.edu>
  6. Organization: George Mason University, Fairfax, Va.
  7. References: <21529@optima.cs.arizona.edu> <92Sep03.032755.21494@acs.ucalgary.ca> <1992Sep3.131306.13751@tc.cornell.edu>
  8. Date: Thu, 3 Sep 1992 14:50:40 GMT
  9. Lines: 42
  10.  
  11. In article <1992Sep3.131306.13751@tc.cornell.edu> bai@msiadmin.cit.cornell.edu (Dov Bai-MSI Visitor) writes:
  12. >In article <92Sep03.032755.21494@acs.ucalgary.ca> bauwens@acs.ucalgary.ca (Luc Bauwens) writes:
  13. >>In article <21529@optima.cs.arizona.edu> shack@cs.arizona.edu (David Shackelford) writes:
  14. >>>In article <1992Sep2.163508.17347@tc.cornell.edu> bai@msiadmin.cit.cornell.edu (Dov Bai-MSI Visitor) writes:
  15. >>>>The following short program compiled with MS-FORTRAN 5.0 with 
  16. >>>>coprocessor crashes OS2 Ver. 2 on my machine:
  17. >>>
  18. >>>Sounds interesting.  Are you compiling to a DOS program and running
  19. >>>it in a VDM, or an OS/2 program?  If OS/2, is it with the 1.x or 2.0
  20. >>>libraries?  Please post more information...
  21. >>
  22. >>If he uses MS-Fortran, it got to be a DOS program.
  23. >
  24. >No, MS-Fortran 5.0 is both a real & protected mode product. I think
  25. >that 5.1 merely adds Windows functionality that does not exist in 5.0.
  26. >
  27. >>
  28. >>I tried with Ms Fortran 5.1 and with Watcom fortran 386 V9.
  29. >>
  30. >>Both return an answer 1.00000000.
  31. >
  32. >It that is true, it is really bad - I would not trust such 
  33. >a compiler for any serious numerical work. 
  34. >
  35. >>
  36. >>Luc B
  37. >>
  38. >>
  39. >
  40. >Dov 
  41.  
  42. Many motherboards (Micronics Rev E specifically), and I'm sure others,
  43. have a hardware problem with trapping floating point errors. This causes
  44. the problem, not the compiler. The compiler has no effect on this, I
  45. dont believe. 
  46.  
  47.    ---Ken
  48.  
  49. -- 
  50. Ken Bass (kbass@gmuvax2.gmu.edu)              |   Telecommunications  
  51. George Mason University                       |   Techniques Corp, 
  52. Student, Department of Electrical Engineering |   Software Engineer 
  53.