Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libm/man Add a list of pre-defined values (such as pi, e...
details: https://anonhg.NetBSD.org/src/rev/b59f19bcc2a8
branches: trunk
changeset: 555894:b59f19bcc2a8
user: jschauma <jschauma%NetBSD.org@localhost>
date: Wed Dec 03 23:31:21 2003 +0000
description:
Add a list of pre-defined values (such as pi, e etc.).
Ok by wiz@.
diffstat:
lib/libm/man/math.3 | 26 ++++++++++++++++++++++++--
1 files changed, 24 insertions(+), 2 deletions(-)
diffs (47 lines):
diff -r 0823157320ce -r b59f19bcc2a8 lib/libm/man/math.3
--- a/lib/libm/man/math.3 Wed Dec 03 23:20:53 2003 +0000
+++ b/lib/libm/man/math.3 Wed Dec 03 23:31:21 2003 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: math.3,v 1.17 2003/08/07 16:44:48 agc Exp $
+.\" $NetBSD: math.3,v 1.18 2003/12/03 23:31:21 jschauma Exp $
.\"
.\" Copyright (c) 1985 Regents of the University of California.
.\" All rights reserved.
@@ -29,7 +29,7 @@
.\"
.\" from: @(#)math.3 6.10 (Berkeley) 5/6/91
.\"
-.TH MATH 3 "May 6, 1991"
+.TH MATH 3 "Dec 3, 2003"
.UC 4
.ds up \fIulp\fR
.ds nn \fINaN\fR
@@ -102,6 +102,28 @@
yn j0.3 Bessel function ???
.ta
.fi
+.SH "LIST OF DEFINED VALUES"
+.sp 2
+.nf
+.ta \w'M_2_SQRTPI'u+2n +\w'1.12837916709551257390'u+4n +\w'2/sqrt(pi)'u+6nC
+\fIName\fP \fIValue\fP \fIDescription\fP
+.ta \w'M_2_SQRTPI'u+2n +\w'1.12837916709551257390'u+4n +\w'2/sqrt(pi)'u+6nC
+.sp 3p
+M_E 2.7182818284590452354 e
+M_LOG2E 1.4426950408889634074 log 2e
+M_LOG10E 0.43429448190325182765 log 10e
+M_LN2 0.69314718055994530942 log e2
+M_LN10 2.30258509299404568402 log e10
+M_PI 3.14159265358979323846 pi
+M_PI_2 1.57079632679489661923 pi/2
+M_PI_4 0.78539816339744830962 pi/4
+M_1_PI 0.31830988618379067154 1/pi
+M_2_PI 0.63661977236758134308 2/pi
+M_2_SQRTPI 1.12837916709551257390 2/sqrt(pi)
+M_SQRT2 1.41421356237309504880 sqrt(2)
+M_SQRT1_2 0.70710678118654752440 1/sqrt(2)
+.ta
+.fi
.SH NOTES
In 4.3 BSD, distributed from the University of California
in late 1985, most of the foregoing functions come in two
Home |
Main Index |
Thread Index |
Old Index