Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!rice!sun-spots-request From: bauman@shell.com (E. G. Bauman) Newsgroups: comp.sys.sun Subject: Bug in DOS Windows Keywords: Software Message-ID: <10050@brazos.Rice.edu> Date: 17 Jul 90 21:41:48 GMT Sender: root@rice.edu Organization: Sun-Spots Lines: 27 Approved: Sun-Spots@rice.edu X-Sun-Spots-Digest: Volume 9, Issue 269, message 12 I found a serious bug in DOS Windows on a SPARCstation. Compile the following FORTRAN program with Microsoft FORTRAN version 5.0. do 10 i=-5,5 x = 10.0 ** i write(6,*)i,x 10 continue end Then run it under DOS Windows 1.0: H:\>exp -5 1#NAN........ run-time error M6111: MATH - floating-point error: stack underflow H:\> This program runs just fine on a PS/2 model 80 without the need for recompilation. Moral of the story - beware when doing floating point math under DOS Windows on a SPARCstation. Evan G. Bauman Shell Development Company - Westhollow Research Center PO Box 1380; Houston, TX 77251-1380 bauman@shell.com or for the uucp types: {sun,bcm}!shell!bauman