tail head cat sleep
QR code linking to this page

Manual Pages  — LDEXP

NAME

ldexp, ldexpf, ldexpl – multiply floating-point number by integral power of 2

CONTENTS

LIBRARY

Math Library (libm, -lm)

SYNOPSIS

#include <math.h>

double
ldexp(double x, int exp);

float
ldexpf(float x, int exp);

long double
ldexpl(long double x, int exp);

DESCRIPTION

The ldexp(), ldexpf(), and ldexpl() functions multiply a floating-point number by an integral power of 2.

RETURN VALUES

These functions return the value of x times 2 raised to the power exp.

SEE ALSO

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

STANDARDS

The ldexp(), ldexpf(), and ldexpl() functions conform to ISO/IEC 9899:1999 ("ISO C99").

LDEXP (3) March 4, 2005

tail head cat sleep
QR code linking to this page


Please direct any comments about this manual page service to Ben Bullock. Privacy policy.

Today, the Unix equivalent of a power drill would have 20 dials and switches, come with a nonstandard plug, require the user to hand-wind the motor coil, and not accept 3/8" or 7/8" drill bits (though this would be documented in the BUGS section of its instruction manual).
— The Unix Haters' handbook