-.\" $OpenBSD: acos.3,v 1.15 2016/04/26 19:49:22 tb Exp $
+.\" $OpenBSD: acos.3,v 1.16 2021/06/29 14:47:33 schwarze Exp $
.\" Copyright (c) 1991 The Regents of the University of California.
.\" All rights reserved.
.\"
.\"
.\" from: @(#)acos.3 5.1 (Berkeley) 5/2/91
.\"
-.Dd $Mdocdate: April 26 2016 $
+.Dd $Mdocdate: June 29 2021 $
.Dt ACOS 3
.Os
.Sh NAME
.Fn acosl "x"
set the global variable
.Va errno
-to EDOM.
+to
+.Er EDOM .
.Sh SEE ALSO
.Xr asin 3 ,
.Xr atan 3 ,
-.\" $OpenBSD: acosh.3,v 1.17 2016/04/26 19:49:22 tb Exp $
+.\" $OpenBSD: acosh.3,v 1.18 2021/06/29 14:47:33 schwarze Exp $
.\" Copyright (c) 1991 Regents of the University of California.
.\" All rights reserved.
.\"
.\"
.\" from: @(#)acosh.3 5.2 (Berkeley) 5/6/91
.\"
-.Dd $Mdocdate: April 26 2016 $
+.Dd $Mdocdate: June 29 2021 $
.Dt ACOSH 3
.Os
.Sh NAME
function computes the inverse hyperbolic cosine
of the real
argument
-.Ar x .
+.Fa x .
The
.Fn acoshf
function is a single precision version of
function is an extended precision version of
.Fn acosh .
.Sh RETURN VALUES
-If x is less than one,
+If
+.Fa x
+is less than one,
.Fn acosh "x" ,
.Fn acoshf "x"
and
.Fn acoshl "x"
return NaN and set the global variable
.Va errno
-to EDOM.
+to
+.Er EDOM .
.Sh SEE ALSO
.Xr asinh 3 ,
.Xr atanh 3 ,
-.\" $OpenBSD: asin.3,v 1.16 2016/04/26 19:49:22 tb Exp $
+.\" $OpenBSD: asin.3,v 1.17 2021/06/29 14:47:33 schwarze Exp $
.\" Copyright (c) 1991 The Regents of the University of California.
.\" All rights reserved.
.\"
.\"
.\" from: @(#)asin.3 5.1 (Berkeley) 5/2/91
.\"
-.Dd $Mdocdate: April 26 2016 $
+.Dd $Mdocdate: June 29 2021 $
.Dt ASIN 3
.Os
.Sh NAME
.Fn asinl "x"
return NaN and set the global variable
.Va errno
-to EDOM.
+to
+.Er EDOM .
.Sh SEE ALSO
.Xr acos 3 ,
.Xr atan 3 ,
-.\" $OpenBSD: asinh.3,v 1.15 2016/03/10 11:45:37 jmc Exp $
+.\" $OpenBSD: asinh.3,v 1.16 2021/06/29 14:47:33 schwarze Exp $
.\" Copyright (c) 1985, 1991 Regents of the University of California.
.\" All rights reserved.
.\"
.\"
.\" from: @(#)asinh.3 6.4 (Berkeley) 5/6/91
.\"
-.Dd $Mdocdate: March 10 2016 $
+.Dd $Mdocdate: June 29 2021 $
.Dt ASINH 3
.Os
.Sh NAME
and
.Fn asinhl
functions return the inverse hyperbolic sine of
-.Ar x .
+.Fa x .
.Sh SEE ALSO
.Xr acosh 3 ,
.Xr atanh 3 ,
-.\" $OpenBSD: atan2.3,v 1.19 2016/04/26 19:49:22 tb Exp $
+.\" $OpenBSD: atan2.3,v 1.20 2021/06/29 14:47:33 schwarze Exp $
.\" Copyright (c) 1991 The Regents of the University of California.
.\" All rights reserved.
.\"
.\"
.\" from: @(#)atan2.3 5.1 (Berkeley) 5/2/91
.\"
-.Dd $Mdocdate: April 26 2016 $
+.Dd $Mdocdate: June 29 2021 $
.Dt ATAN2 3
.Os
.Sh NAME
The
.Fn atan2
function computes the principal value of the arc tangent of
-.Ar y/ Ns Ar x ,
+.Fa y Ns / Ns Fa x ,
using the signs of both arguments to determine the quadrant of
the return value.
The
.Fn atan2l
functions, if successful,
return the arc tangent of
-.Ar y/ Ns Ar x
+.Fa y Ns / Ns Fa x
in the range
.Bk -words
.Bq \&- Ns pi , \&+ Ns pi
.Ek
radians.
If both
-.Ar x
+.Fa x
and
-.Ar y
+.Fa y
are zero, the global variable
.Va errno
is set to
-.\" $OpenBSD: atanh.3,v 1.18 2016/04/27 06:44:54 jmc Exp $
+.\" $OpenBSD: atanh.3,v 1.19 2021/06/29 14:47:33 schwarze Exp $
.\" Copyright (c) 1985, 1991 Regents of the University of California.
.\" All rights reserved.
.\"
.\"
.\" from: @(#)atanh.3 5.2 (Berkeley) 5/6/91
.\"
-.Dd $Mdocdate: April 27 2016 $
+.Dd $Mdocdate: June 29 2021 $
.Dt ATANH 3
.Os
.Sh NAME
function computes the inverse hyperbolic tangent
of the real
argument
-.Ar x .
+.Fa x .
The
.Fn atanhf
function is a single precision version of
.Fn atanhl "x"
return +infinity, -infinity or NaN, and set the global variable
.Va errno
-to EDOM.
+to
+.Er EDOM .
.Sh SEE ALSO
.Xr acosh 3 ,
.Xr asinh 3 ,
-.\" $OpenBSD: cosh.3,v 1.16 2016/04/26 19:49:22 tb Exp $
+.\" $OpenBSD: cosh.3,v 1.17 2021/06/29 14:47:33 schwarze Exp $
.\" Copyright (c) 1989, 1991 The Regents of the University of California.
.\" All rights reserved.
.\"
.\"
.\" from: @(#)cosh.3 5.1 (Berkeley) 5/2/91
.\"
-.Dd $Mdocdate: April 26 2016 $
+.Dd $Mdocdate: June 29 2021 $
.Dt COSH 3
.Os
.Sh NAME
.Fn coshl "x"
return infinity and set the global variable
.Va errno
-to ERANGE.
+to
+.Er ERANGE .
.Sh SEE ALSO
.Xr acos 3 ,
.Xr asin 3 ,
-.\" $OpenBSD: exp.3,v 1.34 2016/06/01 13:43:54 tb Exp $
+.\" $OpenBSD: exp.3,v 1.35 2021/06/29 14:47:33 schwarze Exp $
.\"
.\" Copyright (c) 1985, 1991 Regents of the University of California.
.\" All rights reserved.
.\"
.\" from: @(#)exp.3 6.12 (Berkeley) 7/31/91
.\"
-.Dd $Mdocdate: June 1 2016 $
+.Dd $Mdocdate: June 29 2021 $
.Dt EXP 3
.Os
.Sh NAME
The
.Fn pow
function computes the value of
-.Ar x
+.Fa x
to the exponent
-.Ar y .
+.Fa y .
The
.Fn powf
function is a single precision version of
-.\" $OpenBSD: hypot.3,v 1.25 2020/02/08 01:09:57 jsg Exp $
+.\" $OpenBSD: hypot.3,v 1.26 2021/06/29 14:47:33 schwarze Exp $
.\" Copyright (c) 1985, 1991 Regents of the University of California.
.\" All rights reserved.
.\"
.\"
.\" from: @(#)hypot.3 6.7 (Berkeley) 5/6/91
.\"
-.Dd $Mdocdate: February 8 2020 $
+.Dd $Mdocdate: June 29 2021 $
.Dt HYPOT 3
.Os
.Sh NAME
.Pp
.Fn hypot "infinity" "v" No = Fn hypot "v" "infinity" No = +infinity
for all
-.Ar v ,
+.Fa v ,
including NaN.
.Pp
The
.Fn hypot "NaN" "v"
are NaN for all
.Em finite
-.Ar v .
+.Fa v .
Programmers might be surprised at first to discover that
.Fn hypot "\(+-infinity" "NaN" No = +infinity .
This is intentional; it happens because
.Fn hypot "infinity" "v" No = +infinity
for
.Em all
-.Ar v ,
+.Fa v ,
finite or infinite.
Hence
.Fn hypot "infinity" "v"
is independent of
-.Ar v .
+.Fa v .
The IEEE NaN is designed to disappear
when it turns out to be irrelevant, as it does in
.Fn hypot "infinity" "NaN" .
-.\" $OpenBSD: j0.3,v 1.16 2016/04/26 19:49:22 tb Exp $
+.\" $OpenBSD: j0.3,v 1.17 2021/06/29 14:47:33 schwarze Exp $
.\" Copyright (c) 1985, 1991 Regents of the University of California.
.\" All rights reserved.
.\"
.\"
.\" from: @(#)j0.3 6.7 (Berkeley) 4/19/91
.\"
-.Dd $Mdocdate: April 26 2016 $
+.Dd $Mdocdate: June 29 2021 $
.Dt J0 3
.Os
.Sh NAME
If these functions are successful,
the computed value is returned, otherwise the global variable
.Va errno
-is set to EDOM or ERANGE.
+is set to
+.Er EDOM
+or
+.Er ERANGE .
.Sh HISTORY
The functions
.Fn j0 ,
-.\" $OpenBSD: sincos.3,v 1.1 2018/03/10 20:52:58 kettenis Exp $
+.\" $OpenBSD: sincos.3,v 1.2 2021/06/29 14:47:34 schwarze Exp $
.\" Copyright (c) 2011 Steven G. Kargl.
.\"
.\" Redistribution and use in source and binary forms, with or without
.\"
.\" $FreeBSD: head/lib/msun/man/sincos.3 319047 2017-05-28 06:13:38Z mmel $
.\"
-.Dd $Mdocdate: March 10 2018 $
+.Dd $Mdocdate: June 29 2021 $
.Dt SINCOS 3
.Os
.Sh NAME
and
.Fn sincosl ,
the objects pointed to by
-.Ar "*s"
+.Fa s
and
-.Ar "*c"
+.Fa c
are assigned the values of sine and cosine, respectively.
.Sh SEE ALSO
.Xr cos 3 ,