From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: X-Archive-Original-Message-ID: <199711071515.KAA13408@ren.globecomm.net> Date: Fri, 07 Nov 1997 16:11:23 -0500 From: Uncle George Subject: Re: floating point busted on 21164 ( 164LX ) ? interestingly enough there is enough of a worry that DEC has a toggle bit in the FPCR ( floating point controll register ) of the 21164. on the underflow, u can set the hardware to either plug in a 0x00, or a denormal number. The 21064 does not have this feature. Linux, the kern, does not care too much about the FPCR, and doesn't even bother with the new bits in the FPCR that controll this behavior. ergo u get what ever someone else has set if u dont bother to ( or know how to) change the FPCR register to suit ur application. thanks for the interest. PS, the denormal is used by the solaris/java/alpha port of java 114. a true zero is detected, and rejected by the java compile scripts as unacceptable!!!!!! a denormal, I should say a IEEE denormal is needed. Wes Bauske wrote: > Uncle George wrote: > > > > it seems that the noname, and a linux 486 seem to think that the floating point > > operation > > associated with the following pgm are the same. When it comes to the 164LX, this > > result is always 0 ( ie 0x000000000000000000, the 486/noname have a 0x01 ) > > If you mean 0x00000001, isn't that an unnormalized floating point > number?? I always thought 0x00000000 would be the smallest number > correctly represented with IEEE single precision floating point > with the implied bit on. Out of curiosity, what sort of application > worries about that sort of number? Why not just switch to double > precision?? > > No answer, but I do lot's of single precision floating point and > I usually just want the numbers to underflow gracefully to zero. > If the algorithm is unstable with single precision, I normally > switch to double precision. > > -- > > Regards, > > Wes > > -- > To unsubscribe: send e-mail to axp-list-request@redhat.com with > 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com