Markup nits.

This commit is contained in:
ru 2005-01-13 10:43:01 +00:00
parent 17b51a3306
commit d9ecb772db
3 changed files with 27 additions and 33 deletions

View File

@ -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

View File

@ -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 ,

View File

@ -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 ,