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

Functions

long double ldexpl (long double x, int exp)
 Generate value from significand and exponent. More...
 

Function Documentation

◆ ldexpl()

long double ldexpl ( long double  x,
int  exp 
)

Generate value from significand and exponent.

The ldexpl functions multiply a floating-point number by an integral power of 2. A range error may occur.

Parameters
xGenerate value from significand and exponent
expValue of the exponent.
Returns
The ldexpl functions return x * 2^exp.