My program saves and reads float data arrays to/from files in text format.
However, when a value is +inf, -inf or NaN, this ends up in the text file. So far no problem. The problem starts when I try to READ the text file. I want to restore the array to its previous state, including inf and NaN values.
When encountered during read, how do I assign these values to a variable programmatically?
Or, what are the #define values of NaN etc, if any?
Erwin Timmerman