c语言 nan 常量_NaN32常量(Julia)
生活随笔
收集整理的這篇文章主要介紹了
c语言 nan 常量_NaN32常量(Julia)
小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.
c語言 nan 常量
Julia| NaN32常數(shù) (Julia | NaN32 Constant)
NaN32 is a constant of the Float32 type in Julia programming language, it represents "not-a-number" value.
NaN32是Julia編程語言中Float32類型的常量,它表示“非數(shù)字”值。
Syntax:
句法:
NaN32Example:
例:
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()函數(shù)和typeof()函數(shù)來打印x的值和類型。
# Julia example of NaN32x = NaN32println("x: ", x) println("typeof(x): ", typeof(x))Output
輸出量
x: NaN typeof(x): Float32Reference: Julia constants
參考: Julia常數(shù)
翻譯自: https://www.includehelp.com/julia/nan32-constant.aspx
c語言 nan 常量
總結(jié)
以上是生活随笔為你收集整理的c语言 nan 常量_NaN32常量(Julia)的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 程序员简历工作模式_简历的完整形式是什么
- 下一篇: Java包hashCode()方法及示例