summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordas <das@FreeBSD.org>2011-10-17 06:10:32 +0000
committerdas <das@FreeBSD.org>2011-10-17 06:10:32 +0000
commit2a41d7e8051e247e771134602fcf07235a90a819 (patch)
tree076eac3782fe1378feecf5b9027486a25148b392
parentab686ad475f8fc9c70cece2888819a6d09cb5883 (diff)
downloadFreeBSD-src-2a41d7e8051e247e771134602fcf07235a90a819.zip
FreeBSD-src-2a41d7e8051e247e771134602fcf07235a90a819.tar.gz
It's no longer accurate to say that math.h "constitute[s] the C math
library," since complex.h, tgmath.h, and fenv.h are also part of the math library. Replace the outdated sentence with some references to the other parts.
-rw-r--r--lib/msun/man/math.317
1 files changed, 16 insertions, 1 deletions
diff --git a/lib/msun/man/math.3 b/lib/msun/man/math.3
index 9ffe080..f6b1289 100644
--- a/lib/msun/man/math.3
+++ b/lib/msun/man/math.3
@@ -39,7 +39,21 @@
.Sh SYNOPSIS
.In math.h
.Sh DESCRIPTION
-These functions constitute the C math library.
+The math library includes the following components:
+.Bl -column "<complex.h>" "polymorphic (type-generic) versions of functions" -compact -offset indent
+.In math.h Ta basic routines and real-valued functions
+.In complex.h Ta complex number support
+.In tgmath.h Ta polymorphic (type-generic) versions of functions
+.In fenv.h Ta routines to control rounding and exceptions
+.El
+The rest of this manual page describes the functions provided by
+.In math.h .
+Please consult
+.Xr complex 3 ,
+.Xr tgmath 3 ,
+and
+.Xr fenv 3
+for information on the other components.
.Sh "LIST OF FUNCTIONS"
Each of the following
.Vt double
@@ -200,6 +214,7 @@ so reproducible results cannot be guaranteed across platforms.
For most of these functions, however, incorrect rounding occurs
rarely, and then only in very-close-to-halfway cases.
.Sh SEE ALSO
+.Xr complex 3 ,
.Xr fenv 3 ,
.Xr ieee 3 ,
.Xr tgmath 3
OpenPOWER on IntegriCloud