Assignment of Signalling NaN

Assignment of Signalling NaN

How do I initialize a variable to NaN? [I plowed through various sources to little avail; I only found that the signalling NaN does not result from computation but could be set? ?] thanks in advance.

2 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

Very tricky to do on X86 - the processor will convert a signalling NaN to a quiet NaN anytime a floating load is done on it. What exactly are you trying to accomplish?


Retired 12/31/2016

Leave a Comment

Please sign in to add a comment. Not a member? Join today