signaling NaNs and quiet NaNs
Walter Bright
newshound1 at digitalmars.com
Tue Sep 2 11:14:00 PDT 2008
dennis luehring wrote:
> Walter Bright schrieb:
>> Paul D. Anderson wrote:
>>> dennis luehring Wrote:
>>>
>>>> on http://en.wikipedia.org/wiki/IEEE_754 they talk about
>>>>
>>>> quiet and singnaling NaNs - which of these supports D and how?
>>>>
>>>> do i get an execption when a signaling NaN occure?
>>>>
>>>> ciao dennis
>>>
>>> Walter can give the definitive answer but I'm pretty sure that (at
>>> the moment) D does not use signaling NaNs. That is, any signaling
>>> NaNs that occur are only visible as quiet NaNs, and therefore, no
>>> exceptions are thrown.
>>>
>>
>>
>> Signaling NaNs have fallen out of favor. No exceptions get raised for
>> them.
>
> a signaling NaN becomes then just a quiet NaN (as Paul D. Anderson said)
> - no different behaviour?
None other than what the CPU does. D treats the two as the same.
More information about the Digitalmars-d
mailing list