还可以使用指数表示浮点数,参见清单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 ).
longdoubleIEEE双字节扩展浮点数15位指数,64位带符号小数。
Long double IEEE double extended floating point exponent of 15 bits and signed fraction of 64 bits.
直接用泰劳级数在浮点数运算下计算指数、对数函数的值有严重缺点。
There are serious disadvantages with calculating the value of exponential and logarithmic functions by directly using the Taylor series.
此外,还可以使用指数记数法表示浮点型直接量,即实数后跟随字母e或E,后面加上正负号,其后再加一个整型指数。
Floating-Point literals may also be represented using exponential notation: a real number followed by the letter e(or E), followed by an optional plus or minus sign, followed by an integer exponent.
浮点文字量由整数部分,小数点,小数部分,e或e,可选的有符号整数指数,以及可选的类型后缀组成。
A floating literal consists of an integer part, a decimal point, a fraction part, ane or e, an optionally signed integer exponent, and an optional type suffix.
浮点文字量由整数部分,小数点,小数部分,e或e,可选的有符号整数指数,以及可选的类型后缀组成。
A floating literal consists of an integer part, a decimal point, a fraction part, ane or e, an optionally signed integer exponent, and an optional type suffix.
应用推荐