还可以使用指数表示浮点数,参见清单8。
Floats can also be expressed using exponents, as shown Listing 8.
指数函数是一个很好的例子,它表明处理有限精度浮点数(而不是无限精度实数)时是需要非常小心的。
The exponential function serves as a good example of how careful you have to be when dealing with limited-precision floating-point Numbers instead of infinitely precise real numbers. ex (Math.exp ).
longdouble IEEE双字节扩展浮点数15位指数,64位带符号小数。
Long double IEEE double extended floating point exponent of 15 bits and signed fraction of 64 bits.
应用推荐