Question

How do I initialize number with NaN in Borland C++?

duplicate: Using NaN in C++?

Was it helpful?

Solution

You can look at std::numeric_limits<double>::quiet_NaN(). Include <limits>.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top