如果参数为0,则对应的浮点数和双精度数的结果分别是- 127和- 1023。
If the argument is zero, then the result will be -127 for a float and -1023 for a double.
如果参数为NaN或Inf,则对应的浮点数和双精度数的结果分别是128和1024。
If the argument is NaN or Inf, then the result will be 128 for a float and 1024 for a double.
“普通消费者不需要双精度(浮点数支持)”他说。
应用推荐