double scalbn (double x , int n); float scalbnf (float x , int n);long double scalbnl (long double x, int n);
double scalbn (double x , int n); float scalbn (float x , int n);long double scalbn (long double x, int n); double scalbn (T x , int n); // additional overloads for integral types
scalbn(x,n)
= x * FLT_RADIXn 相同2
,这使得该函数等同于 ldexp。long int
。
|
|
1.500000 * 2^4 = 24.000000 |