From: Uncle George <gatgul@voicenet.com>
Subject: Re: floating point busted on 21164 ( 164LX ) ?
Date: Fri, 07 Nov 1997 16:11:23 -0500 [thread overview]
Message-ID: <a2faf031177029bc8d475d3cf91357ab.axp-list@archive.invalid> (raw)
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
next reply other threads:[~1997-11-07 21:11 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-11-07 21:11 Uncle George [this message]
-- strict thread matches above, loose matches on Subject: below --
1997-11-08 11:51 floating point busted on 21164 ( 164LX ) ? Uncle George
[not found] <346383F9.25160866@voicenet.com>
1997-11-08 6:30 ` Michal Jaegermann
1997-11-07 19:30 Wes Bauske
1997-11-06 19:38 Uncle George
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox