summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2005-01-13 10:43:01 +0000
committerru <ru@FreeBSD.org>2005-01-13 10:43:01 +0000
commitd9ecb772dbf34edc2e570432ca6796391770d95c (patch)
tree3f9952c0fb7b1f7a3ed66e30b0e09c4e10942db3 /lib
parent17b51a3306627ad58cf45a3ad54dbcb476f4bf32 (diff)
downloadFreeBSD-src-d9ecb772dbf34edc2e570432ca6796391770d95c.zip
FreeBSD-src-d9ecb772dbf34edc2e570432ca6796391770d95c.tar.gz
Markup nits.
Diffstat (limited to 'lib')
-rw-r--r--lib/msun/man/cimag.328
-rw-r--r--lib/msun/man/lrint.316
-rw-r--r--lib/msun/man/lround.316
3 files changed, 27 insertions, 33 deletions
diff --git a/lib/msun/man/cimag.3 b/lib/msun/man/cimag.3
index 8fe3cc4..10a3b2c 100644
--- a/lib/msun/man/cimag.3
+++ b/lib/msun/man/cimag.3
@@ -24,20 +24,14 @@
.\"
.\" $FreeBSD$
.\"
-.Dd Aug 7, 2004
+.Dd August 7, 2004
.Dt CIMAG 3
.Os
.Sh NAME
-.Nm cimag ,
-.Nm cimagf ,
-.Nm cimagl ,
-.Nm conj ,
-.Nm conjf ,
-.Nm conjl ,
-.Nm creal ,
-.Nm crealf ,
-.Nm creall
-.Nd functions to manipulate complex numbers
+.Nm cimag , cimagf , cimagl ,
+.Nm conj , conjf , conjl ,
+.Nm creal , crealf , creall
+.Nd "functions to manipulate complex numbers"
.Sh LIBRARY
.Lb libm
.Sh SYNOPSIS
@@ -46,19 +40,19 @@
.Fn cimag "double complex z"
.Ft float
.Fn cimagf "float complex z"
-.Ft long double
+.Ft "long double"
.Fn cimagl "long double complex z"
-.Ft double complex
+.Ft "double complex"
.Fn conj "double complex z"
-.Ft float complex
+.Ft "float complex"
.Fn conjf "float complex z"
-.Ft long double complex
+.Ft "long double complex"
.Fn conjl "long double complex z"
.Ft double
.Fn creal "double complex z"
.Ft float
.Fn crealf "float complex z"
-.Ft long double
+.Ft "long double"
.Fn creall "long double complex z"
.Sh DESCRIPTION
Let
@@ -66,7 +60,7 @@ Let
.Fa a + b * Em i
.Sm on
denote the complex number
-.Ar z .
+.Fa z .
.Pp
The
.Fn cimag
diff --git a/lib/msun/man/lrint.3 b/lib/msun/man/lrint.3
index 678bac8..bae9c45 100644
--- a/lib/msun/man/lrint.3
+++ b/lib/msun/man/lrint.3
@@ -32,14 +32,14 @@
.Nm llrintf ,
.Nm lrint ,
.Nm lrintf
-.Nd convert to integer
+.Nd "convert to integer"
.Sh LIBRARY
.Lb libm
.Sh SYNOPSIS
.In math.h
-.Ft long long
+.Ft "long long"
.Fn llrint "double x"
-.Ft long long
+.Ft "long long"
.Fn llrintf "float x"
.Ft long
.Fn lrint "double x"
@@ -52,7 +52,7 @@ function returns the integer nearest to its argument
.Fa x
according to the current rounding mode.
If the rounded result is too large to be represented as a
-.Ft long
+.Vt long
value, an invalid exception is raised and the return value is undefined.
Otherwise, if
.Fa x
@@ -60,12 +60,12 @@ is not an integer,
.Fn lrint
raises an inexact exception.
When the rounded result is representable as a
-.Ft long ,
+.Vt long ,
the expression
-.Li lrint(x)
+.Fn lrint x
is equivalent to
-.Li (long)rint(x)
-(although the former may be more efficient.)
+.Po Vt long Pc Ns Fn rint x
+(although the former may be more efficient).
.Pp
The
.Fn llrint ,
diff --git a/lib/msun/man/lround.3 b/lib/msun/man/lround.3
index e5479ae..d45bb27 100644
--- a/lib/msun/man/lround.3
+++ b/lib/msun/man/lround.3
@@ -32,14 +32,14 @@
.Nm llroundf ,
.Nm lround ,
.Nm lroundf
-.Nd convert to nearest integral value
+.Nd "convert to nearest integral value"
.Sh LIBRARY
.Lb libm
.Sh SYNOPSIS
.In math.h
-.Ft long long
+.Ft "long long"
.Fn llround "double x"
-.Ft long long
+.Ft "long long"
.Fn llroundf "float x"
.Ft long
.Fn lround "double x"
@@ -52,7 +52,7 @@ function returns the integer nearest to its argument
.Fa x ,
rounding away from zero in halfway cases.
If the rounded result is too large to be represented as a
-.Ft long
+.Vt long
value, an invalid exception is raised and the return value is undefined.
Otherwise, if
.Fa x
@@ -60,12 +60,12 @@ is not an integer,
.Fn lround
may raise an inexact exception.
When the rounded result is representable as a
-.Ft long ,
+.Vt long ,
the expression
-.Li lround(x)
+.Fn lround x
is equivalent to
-.Li (long)round(x)
-(although the former may be more efficient.)
+.Po Vt long Pc Ns Fn round x
+(although the former may be more efficient).
.Pp
The
.Fn llround ,
OpenPOWER on IntegriCloud