词条 | frexp |
释义 | § 解释 函数名: frexp 功 能: 把一个双精度数分解为尾数的指数 用 法: double frexp(double value, int *eptr); § 程序例 #include <math.h> #include <stdio.h> int main(void) { double mantissa, number; int exponent; number = 8.0; mantissa = frexp(number, &exponent); printf("The number %lf is ", number); printf("%lf times two to the ", mantissa); printf("power of %d\", exponent); return 0; } |
随便看 |
百科全书收录594082条中文百科知识,基本涵盖了大多数领域的百科知识,是一部内容开放、自由的电子版百科全书。