double frexp (double x, int* exp);
double frexp (double x , int* exp); float frexpf (float x , int* exp);long double frexpl (long double x, int* exp);
double frexp (double x , int* exp); float frexp (float x , int* exp);long double frexp (long double x, int* exp);
double frexp (double x , int* exp); float frexp (float x , int* exp);long double frexp (long double x, int* exp); double frexp (T x , int* exp); // additional overloads for integral types
0.5
(包含)和 1.0
(不包含)之间的浮点数)和以 2
为底的整数指数,使得int
的指针,用于存储指数的值。[0.5,1)
内的浮点值,该值乘以 2
的 exp 次幂后等于 x。
|
|
8.000000 = 0.500000 * 2^4 |