diff options
Diffstat (limited to 'lib/msun')
-rw-r--r-- | lib/msun/man/hypot.3 | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/lib/msun/man/hypot.3 b/lib/msun/man/hypot.3 index f7ae5c07..b866940 100644 --- a/lib/msun/man/hypot.3 +++ b/lib/msun/man/hypot.3 @@ -49,24 +49,27 @@ .Fn hypot "double x" "double y" .Ft float .Fn hypotf "float x" "float y" -.Vt struct {double x, y;} z ; +.In complex.h .Ft double -.Fn cabs z -.Vt struct {float x, y;} z ; +.Fn cabs "double complex z" .Ft float -.Fn cabsf z +.Fn cabsf "float complex z" .Sh DESCRIPTION The -.Fn hypot , -.Fn hypotf , -.Fn cabs +.Fn hypot and -.Fn cabsf +.Fn hypotf functions compute the sqrt(x*x+y*y) in such a way that underflow will not happen, and overflow occurs only if the final result deserves it. +The +.Fn cabs +and +.Fn cabsf +functions compute the complex absolute value of +.Ar z . .Pp .Fn hypot "\*(If" "v" = |