C Tutorial/math.h/scalbln
Версия от 14:21, 25 мая 2010; (обсуждение)
scalbln
Item Value Header file math.h Declaration float scalblnf(float val, long int exp);double scalbln(double val, long int exp);long double scalblnl(long double val, long int exp); Return returns val * FLT_RADIX^exp
The macro FLT_RADIX is defined in <float.h>, and its value is the radix of exponent representation.
#include <math.h>
#include <stdio.h>
int main(void)
{
printf("%f\n", scalbln (11,2));
return 0;
}