__builtin_isnormal question

Andrew Haley aph@redhat.com
Tue Jun 5 11:01:00 GMT 2018

On 06/04/2018 09:44 PM, Steve Ellcey wrote:
> 0.0 is a normal (as opposed to a denormalized) number isn't
> it?  Or is zero special?

In addition to the other answers, yes, zero is special.  Normal numbers
in IEEE-754 have an implicit leading 1 bit.  Zero is a case of a denormal

Andrew Haley
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671

More information about the Gcc mailing list