首页 > 技术文章 > C特殊浮点值NaN

dawn-l 2015-09-07 22:35 原文

特殊浮点值NaN(Not-a-Number),例如asin()函数返回反正弦值,所以输入参数不能大于1,否则函数返回NaN值,printf()显示为nan,NaN或类似形式。

推荐阅读