Another C compiler bug

mcfong at mercury.sybase.com mcfong at mercury.sybase.com
Thu Nov 1 08:46:42 AEST 1990


When the following program is run:

	main()
	{
		printf("7e-7 = %f\n", 7e-7);
	}

I get the following results on the following MIPS-based systems:

	RISC ULTRIX 3.0			7e-7 = 0.000000
	SGI IRIX 3.2			7e-7 = 0.000000
	MIPS OS 1.0			7e-7 = 0.000001

Looks like yet another compiler bug which MIPS has fixed but DEC and
SGI have not yet picked up.

Would someone please run the same program on the latest version of RISC
ULTRIX (4.0) and SGI IRIX (3.3) and see if DEC or SGI have fixed the
problem in their later releases?

Thanks.



Martin C. Fong
Sybase Inc.
6475 Christie Ave.
Emeryville, CA  94607
(415)596-3822
sun!sybase!mcfong
mcfong at sybase.com
decwrl::"@tis.llnl.gov:mcfong at sybase.com"



More information about the Comp.unix.ultrix mailing list