Hi Emil,

Emil Engler wrote on Tue, Jun 29, 2021 at 03:41:31PM +0200:

> This diff inserts an .Fa to the places where it belongs to as well
> as an .Er for EDOM.

This patch is completely correct and i just committed it.

Thank you,
  Ingo


> Index: lib/libm/man/sqrt.3
> ===================================================================
> RCS file: /cvs/src/lib/libm/man/sqrt.3,v
> retrieving revision 1.17
> diff -u -p -u -p -r1.17 sqrt.3
> --- lib/libm/man/sqrt.3 8 Feb 2020 01:09:57 -0000       1.17
> +++ lib/libm/man/sqrt.3 29 Jun 2021 13:36:28 -0000
> @@ -57,7 +57,7 @@
>  The
>  .Fn cbrt
>  function computes the cube root of
> -.Ar x .
> +.Fa x .
>  The
>  .Fn cbrtf
>  function is a single precision version of
> @@ -70,7 +70,8 @@ function is an extended precision versio
>  The
>  .Fn sqrt
>  function computes
> -the non-negative square root of x.
> +the non-negative square root of
> +.Fa x .
>  The
>  .Fn sqrtf
>  function is a single precision version of
> @@ -80,14 +81,17 @@ The
>  function is an extended precision version of
>  .Fn sqrt .
>  .Sh RETURN VALUES
> -If x is negative,
> +If
> +.Fa x
> +is negative,
>  .Fn sqrt "x" ,
>  .Fn sqrtf "x"
>  and
>  .Fn sqrtl "x"
>  set the global variable
>  .Va errno
> -to EDOM.
> +to
> +.Er EDOM .
>  .Sh HISTORY
>  A
>  .Fn sqrt

Reply via email to