| Thread overview | |||||||
|---|---|---|---|---|---|---|---|
|
September 01, 2008 signaling NaNs and quiet NaNs | ||||
|---|---|---|---|---|
| ||||
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 Re: signaling NaNs and quiet NaNs | ||||
|---|---|---|---|---|
| ||||
Posted in reply to dennis luehring | 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 Re: signaling NaNs and quiet NaNs | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Paul D. Anderson | 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 Re: signaling NaNs and quiet NaNs | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | 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 Re: signaling NaNs and quiet NaNs | ||||
|---|---|---|---|---|
| ||||
Posted in reply to dennis luehring | 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.
| |||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply