真实

实数基础知识

- 6.0;
val it = 6.0 : real
- ~6.0;
val it = ~6.0 : real
- 6.0 + ~6.0;
val it = 0.0 : real
- 6.0 / 3.0;
val it = 2.0 : real
- 4.0 / 6.0;
val it = 0.666666666667 : real

真正的价值界限

使用 Real Basis Library 函数

- Real.maxFinite;
val it = 1.79769313486E308 : real
- Real.minPos;
val it = 4.94065645841E~324 : real
- Real.minNormalPos;
val it = 2.22507385851E~308 : real

无穷

- Real.posInf;
val it = inf : real
- Real.negInf;
val it = ~inf : real