Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* bug on DS3100 in ldexp()?
@ 1989-09-24 15:31 Steve Wampler
  0 siblings, 0 replies; only message in thread
From: Steve Wampler @ 1989-09-24 15:31 UTC (permalink / raw)


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
# include <stdio.h>

main()
   {
   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}


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1989-09-24 15:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1989-09-24 15:31 bug on DS3100 in ldexp()? Steve Wampler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox