File:  [Power 6/32 Unix Tahoe 4.2BSD] / cci / usr / src / man / man3 / frexp.3
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Sun Jul 28 12:24:19 2019 UTC (7 years ago) by root
Branches: bsd, MAIN
CVS tags: v12b, v121, HEAD
Power 6/32 Unix version 1.2b

.TH FREXP 3 "19 January 1983"
.SH NAME
frexp, ldexp, modf \- split into mantissa and exponent
.SH SYNOPSIS
.nf
.B double frexp(value, eptr)
.B double value;
.B int *eptr;
.PP
.B double ldexp(value, exp)
.B double value;
.PP
.B double modf(value, iptr)
.B double value, *iptr;
.SH DESCRIPTION
.I Frexp
returns the mantissa of a double 
.I value
as a double quantity,
.I x,
of magnitude less than 1
and stores an integer 
.I n
such that
.I value
=
\fIx\fP\|\(**\|2\u\fIn\fP\d
indirectly through 
.I eptr.
.PP
.I Ldexp
returns the quantity
\fIvalue\|\(**\|2\u\fIexp\fP\d.
.PP
.I Modf
returns the positive fractional part of
.I value
and stores the integer part indirectly
through 
.I iptr.

unix.superglobalmegacorp.com

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