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

  1. Newsgroups: comp.os.os2.programmer
  2. Path: sparky!uunet!caen!batcomputer!msiadmin.cit.cornell.edu!bai
  3. From: bai@msiadmin.cit.cornell.edu (Dov Bai-MSI Visitor)
  4. Subject: Re: Division by 0 crashes OS2/2.0
  5. Message-ID: <1992Sep4.172138.12818@tc.cornell.edu>
  6. Sender: news@tc.cornell.edu
  7. Nntp-Posting-Host: msiadmin.cit.cornell.edu
  8. Organization: /usr/local/lib/news/organization
  9. References: <92Sep03.032755.21494@acs.ucalgary.ca> <1992Sep3.131306.13751@tc.cornell.edu> <GHENNIGA.92Sep4094517@ampere.ampere>
  10. Date: Fri, 4 Sep 1992 17:21:38 GMT
  11. Lines: 35
  12.  
  13. In article <GHENNIGA.92Sep4094517@ampere.ampere> ghenniga@NMSU.Edu writes:
  14. >
  15. >I tried a simple program to test this out:
  16. >
  17. >    PROGRAM TEST
  18. >    X1 = 10.0
  19. >    X2 = 2.0
  20. >    Y1 = X1-5.0*X2
  21. >    X3 = X1/Y1
  22. >    STOP
  23. >    END
  24. >I ran it and it gave me the following on the command line:
  25. >
  26. >    run-time error M6103: MATH
  27. >- floating-point error: divide by 0
  28. >
  29. >This is with MS Fortran 5.1 on a 486/33...So it appears that the problem is
  30. >either specific to your hardware or MS Fortran 5.0. Again, this was with the
  31. >protected mode libraries for OS/2 1.3 running under OS/2 2.0.
  32.  
  33. Thanks for trying it. I tried the same program and it crashed 2.0
  34. but 1.3 survives - so it seems to be specific to my hardware. I think
  35. I will report it to IBM. It seems weird that a simple program crashes
  36. 2.0 but not DOS.
  37.  
  38. >
  39. >Gary Hennigan
  40. >+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=++=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
  41. >+= PhD Student, Computational Electromagnetics  | Member: Utilitarian  +=
  42. >+= New Mexico State University                  | .signature club      +=
  43. >+= email: ghenniga@NMSU.Edu                                            +=
  44. >
  45. >
  46.  
  47.  
  48.