Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何在 Borland C++ 中使用 NaN 初始化数字?
重复:在 C++ 中使用 NaN?
你可以看看std::numeric_limits<double>::quiet_NaN()。包括<limits>.
std::numeric_limits<double>::quiet_NaN()
<limits>