MicrOS
scalblnl.c File Reference
#include "../math.h"

Functions

long double scalblnl (long double x, long int n)
 Scale significand using floating-point base exponent. More...
 

Function Documentation

◆ scalblnl()

long double scalblnl ( long double  x,
long int  n 
)

Scale significand using floating-point base exponent.

The scalblnl function compute x × FLT_RADIX^n efficiently, not normally by computing FLT_RADIX^n explicitly. A range error may occur.

Parameters
xValue representing the significand.
nValue of the exponent.
Returns
The scalblnl function return x × FLT_RADIX^n.