FREXP
Section: C Library Functions (3)
Updated: August 1, 1992
Index
Return to Main Contents
NAME
frexp, ldexp, modf - split into mantissa and exponent
SYNOPSIS
#include <math.h>
double frexp(double value, int *eptr);
double ldexp(double value, int exp);
double modf(double value, double *iptr);
DESCRIPTION
frexp returns a mantissa x and (indirectly through eptr)
an exponent n such that
x multiplied by 2 raised to n is equal to value:
value = x*2^n
ldexp
returns the quantity
value*2^exp.
modf
returns the positive fractional part of
value
and stores the integer part indirectly
through
iptr.
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
This document was created by
man2html,
using the manual pages.
Time: 17:21:03 GMT, March 25, 2025