LDEXP

Section: C Library Functions (3)
Index Return to Main Contents

BSD mandoc
 

NAME

ldexp - multiply floating-point number by integral power of 2  

SYNOPSIS

Fd #include <math.h> Ft double Fn ldexp double x int exp  

DESCRIPTION

The Fn ldexp function multiplies a floating-point number by an integral power of 2.  

RETURN VALUES

The Fn ldexp function returns the value of Fa x times 2 raised to the power Fa exp .

If the resultant value would cause an overflow, the global variable errno is set to Er ERANGE and the value HUGE is returned.  

SEE ALSO

frexp(3), modf(3), math(3)  

STANDARDS

The Fn ldexp function conforms to St -ansiC .


 

Index

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUES
SEE ALSO
STANDARDS

This document was created by man2html, using the manual pages.
Time: 21:44:09 GMT, August 05, 2022