I have some code that will allow me to draw a crescent moon shape, and have extracted the values to excel to be drawn. However in place of some numbers, there is '-1.#IND' in place. Firstly if anyone could explain what this means, as google came back with 0 links. And secondly if there is anyway to stop it from occuring. Thank you
With floating point, NaN (eg. 0.0/0.0 or square root of a negative number), infinity ( eg. result of the division of a non-zero value by zero), overflow (which may result in infinity), and underflow (which may result in a subnormal value) are all possibilities which have to be taken care of programmatically.
For example, anything can happen if we use the non-predicate version of std::sort() on a sequence of floating point values containing NaNs.