summaryrefslogtreecommitdiff
path: root/lib/libm/man/lgamma.3
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2015-09-14 13:08:02 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2015-09-14 13:08:02 +0000
commitfc767d18f4cc7c85b269bbd4ee4fe8de80f48cbc (patch)
treeacadc0d21a9f45e42fed7288538a83ed53d8dab5 /lib/libm/man/lgamma.3
parent8c45e964a6cac4aacc0bf676e780b37023c631b3 (diff)
use .Va for global variables, and .Vt where the type is included
Diffstat (limited to 'lib/libm/man/lgamma.3')
-rw-r--r--lib/libm/man/lgamma.318
1 files changed, 9 insertions, 9 deletions
diff --git a/lib/libm/man/lgamma.3 b/lib/libm/man/lgamma.3
index 624567c118b..432925c21c5 100644
--- a/lib/libm/man/lgamma.3
+++ b/lib/libm/man/lgamma.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: lgamma.3,v 1.22 2015/01/15 19:06:31 schwarze Exp $
+.\" $OpenBSD: lgamma.3,v 1.23 2015/09/14 13:08:01 schwarze 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: January 15 2015 $
+.Dd $Mdocdate: September 14 2015 $
.Dt LGAMMA 3
.Os
.Sh NAME
@@ -44,9 +44,7 @@
.Nd log gamma functions
.Sh SYNOPSIS
.In math.h
-.Ft extern int
-.Fa signgam ;
-.sp
+.Vt extern int signgam ;
.Ft double
.Fn lgamma "double x"
.Ft float
@@ -79,7 +77,7 @@ returns ln\||\(*G(x)| where
returns ln\||\(*G(x)|.
.Pp
The external integer
-.Fa signgam
+.Va signgam
returns the sign of \(*G(x).
The
.Fn lgammaf
@@ -103,7 +101,7 @@ and
that return the sign via the
.Fa signgamp
pointer instead of modifying
-.Fa signgam .
+.Va signgam .
.Pp
The
.Fn tgamma x ,
@@ -111,7 +109,7 @@ The
and
.Fn tgammal x
functions return \(*G(x), with no effect on
-.Fa signgam .
+.Va signgam .
.Sh IDIOSYNCRASIES
Do not use the expression
.Sq Li signgam\(**exp(lgamma(x))
@@ -123,7 +121,9 @@ lg = lgamma(x); g = signgam\(**exp(lg);
.Pp
Only after
.Fn lgamma
-has returned can signgam be correct.
+has returned can
+.Va signgam
+be correct.
.Pp
For arguments in its range,
.Fn tgamma