#include <math.h>float scalblnf(float val, long int exp);double scalbln(double val, long int exp); long double scalblnl(long double val, long int exp);

scalbln( ), scalblnf( ), and scalblnl( ) were added by C99.

The scalbln( ) family of functions returns the product of val and FLT_RADIX raised to the exp power. That is,

val * FLT_RADIXexp

The macro FLT_RADIX is defined in <float.h> and its value is the radix of exponent representation.

A related function is scalbn( ).

C(s)C++ Programmer's Reference
C Programming on the IBM PC (C Programmers Reference Guide Series)
ISBN: 0673462897
EAN: 2147483647
Year: 2002
Pages: 539 © 2008-2017.
If you may any questions please contact us: