home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / os / os2 / programm / 4896 < prev    next >
Encoding:
Text File  |  1992-09-11  |  2.6 KB  |  67 lines

  1. Newsgroups: comp.os.os2.programmer
  2. Path: sparky!uunet!europa.asd.contel.com!darwin.sura.net!wupost!gumby!destroyer!ubc-cs!unixg.ubc.ca!unixg.ubc.ca!gyan
  3. From: gyan@unixg.ubc.ca (Gyan P. Sinha)
  4. Subject: Re: 2.0 fails miserably in the PARANOIA program ( was: Division by 0 crashes OS2/2.0 )
  5. Message-ID: <gyan.716247010@unixg.ubc.ca>
  6. Sender: news@unixg.ubc.ca (Usenet News Maintenance)
  7. Nntp-Posting-Host: unixg.ubc.ca
  8. Organization: University of British Columbia, Vancouver, B.C., Canada
  9. References: <1992Sep9.225858.6523@tc.cornell.edu> <92Sep10.221229.26167@acs.ucalgary.ca> <1992Sep11.123326.22143@tc.cornell.edu>
  10. Date: Fri, 11 Sep 1992 21:30:10 GMT
  11. Lines: 54
  12.  
  13. In <1992Sep11.123326.22143@tc.cornell.edu> bai@msiadmin.cit.cornell.edu (Dov Bai-MSI Visitor) writes:
  14.  
  15. >In article <92Sep10.221229.26167@acs.ucalgary.ca> bauwens@acs.ucalgary.ca (Luc Bauwens) writes:
  16.  
  17. >>
  18. >>Now about Paranoia:
  19. >>
  20. >>For MS Fortran 5.1, I get *exactly* the same behavior for an
  21. >>OS/2 16 bits executable run under OS/2 2.0, for a DOS executable
  22. >>under OS/2 2.00 and for the DOS executable under DOS 5.00.  I
  23. >>don't have a machine with OS/2 1.3 handy, so I didn't try that.
  24.  
  25. >Few things about the MS-Fortran experiments:
  26.  
  27. >1) I found that the OBJ file produced for the DPARA.FOR is larger than
  28. >   64K (~70k). This may cause failure of the executable. I split
  29. >   DPARA.FOR into 3 files. There are many subroutines so it is easy
  30. >   to split.
  31.  
  32. >2) I found that compiling with optimization (the default)  causes 
  33. >    failures with DPARA. When  I added the -Od switch the problems
  34. >    went away.
  35.  
  36.  
  37. >>Luc B
  38. >>
  39.  
  40. >Dov
  41.  
  42.  
  43. The spara program fails with Watcom 8.5 version of the Fortran compiler,
  44. running in a DOS box under OS/2. The double precision version passes 
  45. with 1 defect. Has anyone run these tests on Watcom 9.0 Fortran? Does
  46. this Single-precision, Double precision dichotomy still hold? 
  47.  
  48. I hope they have fixed up the floating point code. Its useless to have
  49. a Fortran compiler thats deficient in the one area that the Language
  50. is the undisputed leader in (at least in terms of historical inertia
  51. and available code). I wonder how many people program Windows using
  52. Fortran, so in my opinion all that effort would probably be better
  53. spent in cleaning up their floating point libraries. Their 
  54. educational price is great though, so I can't gripe much. Had I been
  55. a shop that had purchased their compiler to do industrial 
  56. strength numerical work, I'd be hopping mad. 
  57.  
  58. I'd run out and buy the Lahey compiler, except that its 4 times as
  59. expensive and doesn't support OS/2 2.0 yet. 
  60.  
  61. Appreciate any comments on all this.
  62.  
  63.  
  64. Gyan P. Sinha
  65. UBC, Vancouver.
  66.  
  67.