scalbln: returns val * FLT_RADIX^exp : scalbln « math.h « C / ANSI-C






scalbln: returns val * FLT_RADIX^exp


    

//Declaration: float scalblnf(float val, long int exp); 
               double scalbln(double val, long int exp); 
               long double scalblnl(long double val, long int 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;
  }

         
/*44.000000*/         

           
       








Related examples in the same category