[PATCH] Add missing parenthesis to csqrt.3

Mateusz Piotrowski 0mp at FreeBSD.org
Sun Nov 4 01:18:31 UTC 2018


On Wed, 31 Oct 2018 17:22:34 -0700 Steve Kargl <sgk at troutmask.apl.washington.edu> wrote:

>On Wed, Oct 31, 2018 at 04:50:43PM -0700, Steve Kargl wrote:
>> The patch at the end of this email adds a missing ')'.
>>   
>
>Minor update.  The rhs should have csqrt instead of sqrt.
>
>Index: csqrt.3
>===================================================================
>--- csqrt.3     (revision 339978)
>+++ csqrt.3     (working copy)
>@@ -24,7 +24,7 @@
> .\"
> .\" $FreeBSD$
> .\"
>-.Dd March 30, 2008
>+.Dd October 31, 2018
> .Dt CSQRT 3
> .Os
> .Sh NAME
>@@ -78,7 +78,7 @@
> .Pp
> For numbers with negative imaginary parts, the above special cases
> apply given the identity:
>-.Dl csqrt(conj(z) = conj(sqrt(z))
>+.Dl csqrt(conj(z)) = conj(csqrt(z))
> Note that the sign of \*(Na is indeterminate.
> Also, if the real or imaginary part of the input is finite and
> an \*(Na is generated, an invalid exception will be thrown.
>

Thanks!

The commit is pending approval now: https://reviews.freebsd.org/D17831


More information about the freebsd-doc mailing list