ldexp10 Function (Macro)

math.h, timath.h

float ldexp10 (float x, short exponent);

Calculates x times 10 raised to exponent.

ldexp10 calculates x times 10 raised to exponent, and returns the result, i.e. returns x*10^exponent. Strictly speaking, ldexp10 is a macro, not a function.

Note: This routine is analogous to ldexp in ANSI C math library, except using base ten rather than base two.