NaNs Just Don't Get No Respect

Chad J chadjoan at __spam.is.bad__gmail.com
Tue Aug 21 05:25:37 PDT 2012


On 08/20/2012 11:09 AM, Andrej Mitrovic wrote:
> On 8/20/12, Walter Bright<newshound2 at digitalmars.com>  wrote:
>> On 8/19/2012 6:33 PM, Chad J wrote:
>>> How?  I remember reading a lot of material on NaNs in D, but I don't
>>> recall these.
>>
>> Set the control word for the x87 to turn it on. Probably have to do a little
>>
>> inline assembly.
>>
>
> I thought you could do by setting FloatingPointControl in std.math.

That looks much more convenient and clean.

Gotta make the right thing easy to do, right? <g>

How thread-local is it?




More information about the Digitalmars-d-announce mailing list