svn commit: r226460 - head/lib/msun/man

David Schultz das at FreeBSD.org
Mon Oct 17 06:10:32 UTC 2011


Author: das
Date: Mon Oct 17 06:10:32 2011
New Revision: 226460
URL: http://svn.freebsd.org/changeset/base/226460

Log:
  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.

Modified:
  head/lib/msun/man/math.3

Modified: head/lib/msun/man/math.3
==============================================================================
--- head/lib/msun/man/math.3	Mon Oct 17 05:42:53 2011	(r226459)
+++ head/lib/msun/man/math.3	Mon Oct 17 06:10:32 2011	(r226460)
@@ -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 guaran
 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


More information about the svn-src-head mailing list