home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.os2.programmer
- Path: sparky!uunet!gatech!destroyer!fmsrl7!lynx!nmsu.edu!opus!ghenniga
- From: ghenniga@NMSU.Edu
- Subject: Re: Division by 0 crashes OS2/2.0
- In-Reply-To: bai@msiadmin.cit.cornell.edu's message of Thu, 3 Sep 1992 13:13:06 GMT
- Message-ID: <GHENNIGA.92Sep4094517@ampere.ampere>
- Sender: usenet@nmsu.edu
- Reply-To: ghenniga@NMSU.Edu
- Organization: New Mexico State University - Electromagnetics Group
- References: <1992Sep2.163508.17347@tc.cornell.edu> <21529@optima.cs.arizona.edu>
- <92Sep03.032755.21494@acs.ucalgary.ca>
- <1992Sep3.131306.13751@tc.cornell.edu>
- Date: Fri, 4 Sep 1992 16:45:17 GMT
- Lines: 26
-
-
- I tried a simple program to test this out:
-
- PROGRAM TEST
- X1 = 10.0
- X2 = 2.0
- Y1 = X1-5.0*X2
- X3 = X1/Y1
- STOP
- END
- I ran it and it gave me the following on the command line:
-
- run-time error M6103: MATH
- - floating-point error: divide by 0
-
- This is with MS Fortran 5.1 on a 486/33...So it appears that the problem is
- either specific to your hardware or MS Fortran 5.0. Again, this was with the
- protected mode libraries for OS/2 1.3 running under OS/2 2.0.
-
- Gary Hennigan
- +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=++=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
- += PhD Student, Computational Electromagnetics | Member: Utilitarian +=
- += New Mexico State University | .signature club +=
- += email: ghenniga@NMSU.Edu +=
-
-
-