From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,4a212ac2372bd10e X-Google-Attributes: gid1164f8,public X-Google-Thread: 102b75,4a212ac2372bd10e X-Google-Attributes: gid102b75,public From: Terje Mathisen Subject: Re: 21164PC demonstration/talk at Microprocessor Forum Date: 1996/11/11 Message-ID: <3287353D.15F@hda.hydro.com>#1/1 X-Deja-AN: 195772840 references: <54r02t$fjc@usenet.pa.dec.com> <557hl1$srt@usenet.pa.dec.com> <327FEF6E.783A@OntheNet.com.au> <3283D700.47EB@OntheNet.com.au> <32871515.200912006@nntp.ne.highway1.com> content-type: text/plain; charset=us-ascii organization: Hydro mime-version: 1.0 newsgroups: comp.arch,comp.sys.dec x-mailer: Mozilla 3.0Gold (WinNT; I) John S. Yates, Jr. wrote: > > On Mon, 11 Nov 1996 07:27:45 GMT, zalman@netcom.com (Zalman Stern) > wrote: > > > Now > >if you want something tricky, lets talk about exact emulation of 80-bit > >floating-point, complete with exceptions. Ugh...) > > Good point Zalman. FX!32 does not implement 80 bit floating point > arithmetic. (Neither do any of the other x86 emulators.) The biggest > problem that this introduces is emulating precision related exceptions > (denormal input, overflow, underflow, and especially imprecise). FX!32 > does emulate other fp exceptions correctly: invalid operation, divide > by zero, stack overflow and stack underflow. > > It would seem, especially in realm of Win32 applications, that users > are hard put to rely on the properties of 80 bit arithmetic: Microsoft > has made it impossible to get at them from any of their higher level > lanuages (declaring a "long double" in C/C++ no longer provide 80 bit > objects, only 64 bits!). I hope that this means that you do _try to_ emulate 80-bit fp, just not all of the special/borderline cases. I know that I have plenty of code that depends upon having a 64-bit mantissa which will do exact operations on 64-bit ints loaded into it. Terje -- - Using self-discipline, see http://www.eiffel.com/discipline "almost all programming can be viewed as an exercise in caching"