- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm looking for advice on representing bad data.
I am aware of the function ISNAN(), which returns .true. if the argument is an IEEE Not-a-Number. Is NaN a 'recommended' or sensible way of representing bad data? And what's the simplest way of setting a value to NaN without producing a run-time error?
Are there any potential issues I need to watch out for (e.g. reading and writing formatted data containing NaN)?
I am aware of the function ISNAN(), which returns .true. if the argument is an IEEE Not-a-Number. Is NaN a 'recommended' or sensible way of representing bad data? And what's the simplest way of setting a value to NaN without producing a run-time error?
Are there any potential issues I need to watch out for (e.g. reading and writing formatted data containing NaN)?
Link Copied
0 Replies
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