SYNOPSIS
#include <math.h>
double ldexp(double x, int exp);
float ldexpf(float x, int exp);
DESCRIPTION
The
To check for error situations,
set errno to 0
before calling
The
PARAMETERS
RETURN VALUES
The
If the value of x is NaN, NaN is returned and errno is set to EDOM.
If either function overflows, ±HUGE_VAL is returned (according to the sign of x), and errno is set to ERANGE. If it underflows, 0 is returned and errno is set to ERANGE.
CONFORMANCE
ANSI/ISO 9899-1990.
MULTITHREAD SAFETY LEVEL
MT-Safe.
PORTING ISSUES
None.
AVAILABILITY
PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition
SEE ALSO
PTC MKS Toolkit 10.4 Documentation Build 39.