home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.os2.programmer
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!darwin.sura.net!wupost!gumby!destroyer!ubc-cs!unixg.ubc.ca!kakwa.ucs.ualberta.ca!acs.ucalgary.ca!bauwens
- From: bauwens@acs.ucalgary.ca (Luc Bauwens)
- Subject: Re: Division by 0 crashes OS2/2.0
- Sender: news@acs.ucalgary.ca (USENET News System)
- Message-ID: <92Sep04.024410.14613@acs.ucalgary.ca>
- Date: Fri, 04 Sep 92 02:44:10 GMT
- References: <21529@optima.cs.arizona.edu> <92Sep03.032755.21494@acs.ucalgary.ca> <1992Sep3.131306.13751@tc.cornell.edu>
- Nntp-Posting-Host: acs5.acs.ucalgary.ca
- Organization: The University of Calgary, Alberta
- Lines: 41
-
- In article <1992Sep3.131306.13751@tc.cornell.edu> bai@msiadmin.cit.cornell.edu (Dov Bai-MSI Visitor) writes:
-
- >>>>The following short program compiled with MS-FORTRAN 5.0 with
- >>>>coprocessor crashes OS2 Ver. 2 on my machine:
- >>>
- [me]>>If he uses MS-Fortran, it got to be a DOS program.
- (meaning to say MS Fortran 5.0...)
-
- >
- >No, MS-Fortran 5.0 is both a real & protected mode product. I think
- >that 5.1 merely adds Windows functionality that does not exist in 5.0.
-
- You are right. (I only used 5.0 under DOS and I had forgotten that it
- came with OS/2 libraries).
- >>
- >>I tried with Ms Fortran 5.1 and with Watcom fortran 386 V9.
- >>
- >>Both return an answer 1.00000000.
- >
- >It that is true, it is really bad - I would not trust such
- >a compiler for any serious numerical work.
-
- No disagreement there.
-
- BTW, I tried again; I got an answer 1. both under OS/2 2.0
- and under DOS 5.0 with both compilers (For Watcom, using DOS4gw).
-
- I am inclined to believe the other poster (sorry, forgot his name)
- who says it may be hardware-related.
-
- But in my case, it's not an issue of the known bug in some 486
- motherboards: I am running this on a 386-25 (an old Mylex motherboard
- that I have normally found quite reliable) and (*here it gets
- interesting?*) an IIT FPU *not an Intel*.
-
- (It's all Dov's fault :-)... He called some evil spirits upon
- us by posting all that Fabrikant's literature... :-))
-
- Luc B
-
-
-