1

如何在 Borland C++ 中使用 NaN 初始化数字?

重复:在 C++ 中使用 NaN?

4

1 回答 1

7

你可以看看std::numeric_limits<double>::quiet_NaN()。包括<limits>.

于 2009-10-05T13:13:43.837 回答