Software Archive
Read-only legacy content
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
17060 Discussions

Assignment of Signalling NaN

Intel_C_Intel
Employee
481 Views
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.
0 Kudos
1 Reply
Steven_L_Intel1
Employee
481 Views
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?

Steve
0 Kudos
Reply