Math h C Tutorial

Item Value
Header filemath.h
Declarationfloat scalbnf(float val, int exp);double scalbn(double val, int exp);long double scalbnl(long double val, int exp);
Returnreturns val * FLT_RADIX^exp
The macro FLT_RADIX is defined in , and its value is the radix of exponent representation.

#include 
  #include 
  int main(void)
  {
    printf("%f\n", scalbn (11,2));
    return 0;
  }
44.000000