scalbln : scalbln « math.h « C Tutorial






ItemValue
Header filemath.h
Declarationfloat scalblnf(float val, long int exp);
double scalbln(double val, long int exp);
long double scalblnl(long double val, long int exp);
Returnreturns val * FLT_RADIX^exp


The macro FLT_RADIX is defined in , 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;
  }
44.000000








19.61.scalbln
19.61.1.scalbln