Python math.nan常数 (Python math.nan constant)
math.nan constant is a predefined constant, which is defined in the math module, it returns floating-point nan (Not a Number), which is equivalent to float('nan').
math.nan常数是在math模块中定义的预定义常数,它返回浮点nan (不是数字),等效于float('nan') 。
Note: math.nan constant is available from Python 3.5
注意: math.nan常数可从Python 3.5获得
Syntax of math.nan constant:
math.nan常数的语法:
math.nan
Return value: float<