Annotation of researchv10dc/man/adm/man3/frexp.3, revision 1.1.1.1

1.1       root        1: .TH FREXP 3
                      2: .CT 2 math data_man
                      3: .SH NAME
                      4: frexp, ldexp, modf \(mi split into mantissa and exponent
                      5: .SH SYNOPSIS
                      6: .B #include <math.h>
                      7: .PP
                      8: .nf
                      9: .B double frexp(value, eptr)
                     10: .B double value;
                     11: .B int *eptr;
                     12: .PP
                     13: .B double ldexp(value, exp)
                     14: .B double value;
                     15: .PP
                     16: .B double modf(value, iptr)
                     17: .B double value, *iptr;
                     18: .SH DESCRIPTION
                     19: .I Frexp
                     20: returns the mantissa of
                     21: .I value
                     22: and stores the exponent indirectly through
                     23: .I eptr,
                     24: so that
                     25: .I value
                     26: =
                     27: .if t .IR frexp ( value )\(mu2\u\s-2 \(**eptr \s0\d.
                     28: .if n .IR frexp ( value )*2** (*eptr).
                     29: .PP
                     30: .I Ldexp
                     31: returns the quantity
                     32: .if t .IR value \(mu2\u\s-2 exp \s0\d.
                     33: .if n .IR value *2** exp.
                     34: .PP
                     35: .I Modf
                     36: returns the positive fractional part of
                     37: .I value
                     38: and stores the integer part indirectly
                     39: through
                     40: .I iptr.
                     41: .SH DIAGNOSTICS
                     42: On underflow
                     43: .I ldexp
                     44: returns 0; on
                     45: overflow it returns a properly signed largest value.
                     46: In both cases it sets
                     47: .I errno
                     48: to
                     49: .BR ERANGE .

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.