[Cfp-interest 2061] Re: Subnormals

Jim Thomas jaswthomas at sbcglobal.net
Sat Jul 17 10:19:22 PDT 2021


Steve, 

Does floating-point compare use FPUnpack() this way too? That is, do all subnormals compare equal with each other and with zero if FZ is 1? 

If FZ is 1, do subnormal inputs cause an Input Denormal exception? If so, do high level programming environments treat this as a floating-point exception (underflow?) for ignore it?

- Jim Thomas

> On Jul 6, 2021, at 6:29 AM, Steve (Numerics) Canon <scanon at apple.com> wrote:
> 
> The effects of the FZ bit in the ARM FPCR are defined by the FPUnpack() and FPRound() operations in ARM’s pseudocode documentation. If the encoded exponent of an input is zero and fpcr.FZ is 1, then the unpacked input value is zero.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.oakapple.net/pipermail/cfp-interest/attachments/20210717/0fdbd38b/attachment.htm>


More information about the Cfp-interest mailing list