Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Oct 2011 06:10:32 +0000 (UTC)
From:      David Schultz <das@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r226460 - head/lib/msun/man
Message-ID:  <201110170610.p9H6AWYR097970@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201110170610.p9H6AWYR097970>