- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Steve

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page