Xref: utzoo comp.unix.ultrix:5137 comp.sys.sgi:6573 comp.sys.mips:1136 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!sdd.hp.com!ucsd!ucbvax!mtxinu!sybase!mercury.sybase.com!mcfong From: mcfong@mercury.sybase.com Newsgroups: comp.unix.ultrix,comp.sys.sgi,comp.sys.mips Subject: Another C compiler bug Message-ID: <11565@sybase.sybase.com> Date: 31 Oct 90 21:46:42 GMT Sender: news@Sybase.COM Reply-To: mcfong@mercury.sybase.com () Organization: Sybase, Inc. Lines: 32 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@sybase.com decwrl::"@tis.llnl.gov:mcfong@sybase.com"