c语言 nan 常量
Julia| NaN32常数 (Julia | NaN32 Constant)
NaN32 is a constant of the Float32 type in Julia programming language, it represents "not-a-number" value.
NaN32是Julia编程语言中Float32类型的常量,它表示“非数字”值。
Syntax:
句法:
NaN32
Example:
例:
In this example, we are taking a variable x and assigning it with NaN32. We are printing the value and type of x using using println() function and typeof() function.
在此示例中,我们采用变量x并将其分配给NaN32 。 我们正在使用println()函数和typeof()函数来打印x的值和类型。
# Julia example of NaN32
x = NaN32
println("x: ", x)
println("typeof(x): ", typeof(x))
Output
输出量
x: NaN
typeof(x): Float32
Reference: Julia constants
参考: Julia常数
翻译自: https://www.includehelp.com/julia/nan32-constant.aspx
c语言 nan 常量