Thread overview
signaling NaNs and quiet NaNs
Sep 01, 2008
dennis luehring
Sep 01, 2008
Paul D. Anderson
Sep 02, 2008
Walter Bright
Sep 02, 2008
dennis luehring
Sep 02, 2008
Walter Bright
September 01, 2008
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
September 01, 2008
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.

September 02, 2008
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.
September 02, 2008
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?

ciao dennis

September 02, 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.