summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2008-06-12 15:51:43 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2008-06-12 15:51:43 +0000
commitbccef4d20904e9126be50edde929a5d97eb7fa9f (patch)
tree4e7e0f008b7d595ef08553544075c517b4575845 /lib
parentcbe8542c5bf2eb7f2c2b79c66ad1a0db3e68a740 (diff)
Makefile: fix MLINKS
lgamma.3: fix STANDARDS and HISTORY
Diffstat (limited to 'lib')
-rw-r--r--lib/libm/Makefile15
-rw-r--r--lib/libm/man/lgamma.329
2 files changed, 22 insertions, 22 deletions
diff --git a/lib/libm/Makefile b/lib/libm/Makefile
index e5d085f4b43..cad3f2e02bb 100644
--- a/lib/libm/Makefile
+++ b/lib/libm/Makefile
@@ -1,5 +1,5 @@
# $NetBSD: Makefile,v 1.28 1995/11/20 22:06:19 jtc Exp $
-# $OpenBSD: Makefile,v 1.44 2008/06/11 20:53:27 martynas Exp $
+# $OpenBSD: Makefile,v 1.45 2008/06/12 15:51:42 jmc Exp $
#
# @(#)Makefile 5.1beta 93/09/24
#
@@ -174,7 +174,9 @@ MLINKS+=ieee.3 copysign.3 ieee.3 drem.3 ieee.3 finite.3 ieee.3 ilogb.3 \
MLINKS+=logb.3 scalb.3
MLINKS+=logb.3 significand.3
MLINKS+=j0.3 j1.3 j0.3 jn.3 j0.3 y0.3 j0.3 y1.3 j0.3 yn.3
-MLINKS+=lgamma.3 gamma.3 lgamma.3 tgamma.3 lgamma.3 tgammaf.3
+MLINKS+=lgamma.3 gamma.3 lgamma.3 tgamma.3
+MLINKS+=lrint.3 llrint.3
+MLINKS+=lround.3 llround.3
MLINKS+=sqrt.3 cbrt.3
# float versions
@@ -209,9 +211,6 @@ MLINKS+=ieee.3 ilogbf.3
MLINKS+=ieee.3 nextafterf.3
MLINKS+=ieee.3 remainderf.3
MLINKS+=ieee.3 scalbnf.3
-MLINKS+=logb.3 logbf.3
-MLINKS+=logb.3 scalbf.3
-MLINKS+=logb.3 significandf.3
MLINKS+=j0.3 j0f.3
MLINKS+=j0.3 j1f.3
MLINKS+=j0.3 jnf.3
@@ -220,11 +219,13 @@ MLINKS+=j0.3 y1f.3
MLINKS+=j0.3 ynf.3
MLINKS+=lgamma.3 gammaf.3
MLINKS+=lgamma.3 lgammaf.3
+MLINKS+=lgamma.3 tgammaf.3
+MLINKS+=logb.3 logbf.3
+MLINKS+=logb.3 scalbf.3
+MLINKS+=logb.3 significandf.3
MLINKS+=lrint.3 lrintf.3
-MLINKS+=lrint.3 llrint.3
MLINKS+=lrint.3 llrintf.3
MLINKS+=lround.3 lroundf.3
-MLINKS+=lround.3 llround.3
MLINKS+=lround.3 llroundf.3
MLINKS+=math.3 mathf.3
MLINKS+=rint.3 rintf.3
diff --git a/lib/libm/man/lgamma.3 b/lib/libm/man/lgamma.3
index af12f5c50e6..ae00e804eaf 100644
--- a/lib/libm/man/lgamma.3
+++ b/lib/libm/man/lgamma.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: lgamma.3,v 1.15 2008/06/11 20:53:27 martynas Exp $
+.\" $OpenBSD: lgamma.3,v 1.16 2008/06/12 15:51:42 jmc Exp $
.\" Copyright (c) 1985, 1991 Regents of the University of California.
.\" All rights reserved.
.\"
@@ -28,7 +28,7 @@
.\"
.\" from: @(#)lgamma.3 6.6 (Berkeley) 12/3/92
.\"
-.Dd $Mdocdate: June 11 2008 $
+.Dd $Mdocdate: June 12 2008 $
.Dt LGAMMA 3
.Os
.Sh NAME
@@ -77,16 +77,6 @@ and
.Fn tgammaf x
functions return \(*G(x), with no effect on
.Fa signgam .
-.Pp
-The
-.Fn gamma ,
-and
-.Fn gammaf
-are deprecated aliases for
-.Fn lgamma ,
-and
-.Fn lgammaf
-respectively.
.Sh IDIOSYNCRASIES
Do not use the expression
.Sq Li signgam\(**exp(lgamma(x))
@@ -131,16 +121,25 @@ and
.Fn tgammaf
functions are expected to conform to
.St -isoC-99 .
+.Pp
+.Fn gamma
+and
+.Fn gammaf
+are deprecated aliases for
+.Fn lgamma
+and
+.Fn lgammaf ,
+respectively.
.Sh HISTORY
The
.Fn lgamma
-function appeared in
+function first appeared in
.Bx 4.3 .
The
.Fn tgamma
-function appeared in
+function first appeared in
.Ox 4.4 ,
-which is based on the
+and is based on the
.Fn gamma
function that appeared in
.Bx 4.4