digitalmars.D - signaling NaNs and quiet NaNs
- dennis luehring <dl.soluz gmx.net> Sep 01 2008
- Paul D. Anderson <paul.d.removethis.anderson comcast.andthis.net> Sep 01 2008
- Walter Bright <newshound1 digitalmars.com> Sep 01 2008
- dennis luehring <dl.soluz gmx.net> Sep 01 2008
- Walter Bright <newshound1 digitalmars.com> Sep 02 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
Sep 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.
Sep 01 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.
Sep 01 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
Sep 01 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.
Sep 02 2008








Walter Bright <newshound1 digitalmars.com>