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 常量