luvieere
luvieere

Reputation: 37514

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

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

duplicate: Using NaN in C++?

Upvotes: 1

Views: 1872

Answers (1)

Carl Seleborg
Carl Seleborg

Reputation: 13305

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

Upvotes: 7

Related Questions