1FREXP(3)                   Library Functions Manual                   FREXP(3)
2
3
4

NAME

6       frexp, ldexp, modf - split into mantissa and exponent
7

SYNOPSIS

9       double frexp(value, eptr)
10       double value;
11       int *eptr;
12
13       double ldexp(value, exp)
14       double value;
15
16       double modf(value, iptr)
17       double value, *iptr;
18

DESCRIPTION

20       Frexp  returns  the mantissa of a double value as a double quantity, x,
21       of magnitude less than 1 and stores an integer n such that value = x∗2n
22       indirectly through eptr.
23
24       Ldexp returns the quantity value∗2exp.
25
26       Modf returns the positive fractional part of value and stores the inte‐
27       ger part indirectly through iptr.
28
29
30
317th Edition                      May 15, 1985                         FREXP(3)
Impressum