Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!ncar!noao!arizona!naucse!sbw From: sbw@naucse.UUCP (Steve Wampler) Newsgroups: comp.sys.dec Subject: bug on DS3100 in ldexp()? Message-ID: <1710@naucse.UUCP> Date: 24 Sep 89 15:31:29 GMT Organization: Northern Arizona University, Flagstaff, AZ Lines: 25 Under Ultrix 3.0 on a DECstation 3100, the following script files shows that ldexp() incorrectly scales the value 0.0. Is this still true under 3.1? Could someone else verify this for me? Thanks! (I know ldexp() works properly under the uVAXen versions of Ultrix, but am curious as to whether it's been fixed in 3.1.) --- cut 'typescript' --- Script started on Sun Sep 24 08:26:00 1989 -> cat t.c # includemain() { double ldexp(); printf("0.0 scales to: %lg\n",ldexp(0.0,-1)); } -> cc t.c -lm -o t -> t 0.0 scales to: 5.56268e-309 -> --- end 'typescript' --- -- Steve Wampler {....!arizona!naucse!sbw}