函数名: frexp
功 能: 把一个双精度数分解为尾数的指数
用 法: #include <math.h>
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\n", exponent);
return 0;
}