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