AT&T UNIX™PC Unix System V Users Manual - tenox
AT&T UNIX™PC Unix System V Users Manual - tenox AT&T UNIX™PC Unix System V Users Manual - tenox
FREXP ( 3C ) FREXP ( 3C ) NAME frexp, ldexp, modf - manipulate parts of floating-point numbers SYNOPSIS double frexp (value, eptr) double value; int *eptr; double ldexp (value, exp) double value; int exp; double modf (value, iptr) double value, •iptr; DESCRIPTION Every non-zero number can be written uniquely as x * 2 n , where the "mantissa" (fraction) x is in the range 0.5 :::; I x I < 1.0, and the "exponent" n is an integer. Frexp returns the mantissa of a double value, and stores the exponent indirectly in the location pointed to by eptr . Ldexp returns the quantity value * 2 e:rp . Modf returns the signed fractional part of value and stores the integral part indirectly in the location pointed to by iptr. DIAGNOSTICS If ldexp would cause overflow, HUGE is returned and errno is set to ERANGE. - 1 -
- Page 800 and 801: ·�
- Page 803: CLOCK( 3C ) CLOCK( 3C ) NAME clock
- Page 806 and 807: J ··- � . ..._ __ .·
- Page 809: CTERMID ( 3S ) CTERMID ( 3S ) NAME
- Page 812 and 813: CTIME (3C) CTIME(3C) The external l
- Page 815 and 816: CURSES ( 3 ) CURSES ( 3 ) NAME curs
- Page 817 and 818: CUSERID ( 3S ) CUSERID ( 3S ) NAME
- Page 819 and 820: DIAL (3C) DIAL(3C) NAME dial - esta
- Page 821 and 822: DRAND48 ( 3C ) DRAND48 ( 3C ) NAME
- Page 823 and 824: DRAND48 ( 3C ) DRAND48 ( 3C ) have
- Page 825: ECVT (3C) ECVT (3C) NAME ecvt, fcvt
- Page 829 and 830: EPRINTF ( 3T ) ( AT&T UNIX PC only
- Page 831 and 832: ERF (3M) ERF (3M) NAME erf1 erfc -
- Page 833: EXP ( 3M ) EXP ( 3M ) NAME exp, log
- Page 837: FERROR (3S) FERROR (3S) NAME ferror
- Page 841 and 842: FOPEN(3S) FOPEN (3S) NAME fopen, fr
- Page 843 and 844: FORM ( 3T ) ( AT&T UNIX PC only ) F
- Page 845 and 846: FORM (3T) (AT&T UNIX PC only ) fiel
- Page 847 and 848: FORM (3T) }; (AT&T UNIX PC only ) F
- Page 849: FREAD ( 3S ) FREAD ( 3S ) NAME frea
- Page 855: FTW(3C) FTW(3C) NAME ftw - walk a f
- Page 858 and 859: �·. (
- Page 860 and 861: I� i -� ·-
- Page 863: GETENV (3C) NAME getenv - return va
- Page 866 and 867: GETGRENT ( 3C ) GETGRENT ( 3C ) WAR
- Page 869 and 870: GETOPT (3C) GETOPT (3C) NAME getopt
- Page 871: GETP ASS ( 3C ) GETP ASS ( 3C ) NAM
- Page 874 and 875: � ' ) '"- '
- Page 877 and 878: GETPWENT ( 30 ) GETPWENT ( 30 ) NAM
- Page 879: GETS ( 3S ) GETS ( 3S ) NAME gets,
- Page 882 and 883: GETUT (3C) GETUT (3C) line-> ut_lin
- Page 884 and 885: HSEARCH ( 3C ) HSEARCH ( 3C ) START
- Page 886 and 887: I� ', ...____... .. � · � \
- Page 889 and 890: LDAHREAD ( 3X ) LDAI-IREAD ( 3X ) N
- Page 891: LDCLOSE ( 3X ) LDCLOSE ( 3X ) NAME
- Page 895: LDLREAD ( 3X ) LDLREAD ( 3X ) NAME
- Page 898 and 899: . \
FREXP ( 3C ) FREXP ( 3C )<br />
NAME<br />
frexp, ldexp, modf - manipulate parts of floating-point numbers<br />
SYNOPSIS<br />
double frexp (value, eptr)<br />
double value;<br />
int *eptr;<br />
double ldexp (value, exp)<br />
double value;<br />
int exp;<br />
double modf (value, iptr)<br />
double value, •iptr;<br />
DESCRIPTION<br />
Every non-zero number can be written uniquely as x * 2 n , where<br />
the "mantissa" (fraction) x is in the range 0.5 :::; I x I < 1.0, and<br />
the "exponent" n is an integer. Frexp returns the mantissa of a<br />
double value, and stores the exponent indirectly in the location<br />
pointed to by eptr .<br />
Ldexp returns the quantity value * 2 e:rp .<br />
Modf returns the signed fractional part of value and stores the<br />
integral part indirectly in the location pointed to by iptr.<br />
DIAGNOSTICS<br />
If ldexp would cause overflow, HUGE is returned and errno is set<br />
to ERANGE.<br />
- 1 -