Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!apple!bbn!husc6!encore!xenna.UUCP From: goldman@xenna.UUCP (Steve Goldman) Newsgroups: comp.sys.encore Subject: Re: Compiler bug or insuficient language definition ? Message-ID: <7451@xenna.Encore.COM> Date: 1 Jun 89 14:58:23 GMT References: <50537@tut.cis.ohio-state.edu> Sender: news@Encore.COM Lines: 14 Answer is (c) other. Multimax floating point is little endian. f is promoted to double on each printf call. The second call dutifully prints the low order 32 bits of the mantissa which are zero. On a big endian machine you'd get the high order bits which in this case are much more interesting. Steve Goldman, Encore Computer Corp (919) 481-3730 901 Kildaire Farm rd., bldg D Cary, NC 27511 USA arpa: goldman@Encore.COM (129.91.1.14) uucp: {necntc,talcott,decvax,allegra}!encore!goldman Steve Goldman, Encore Computer Corp (919) 481-3730 901 Kildaire Farm rd., bldg D Cary, NC 27511 USA arpa: goldman@Encore.COM (129.91.1.14) uucp: {necntc,talcott,decvax,allegra}!encore!goldman