diff options
Diffstat (limited to 'lib/msun/man/csqrt.3')
-rw-r--r-- | lib/msun/man/csqrt.3 | 30 |
1 files changed, 19 insertions, 11 deletions
diff --git a/lib/msun/man/csqrt.3 b/lib/msun/man/csqrt.3 index 132b314..ef5445f 100644 --- a/lib/msun/man/csqrt.3 +++ b/lib/msun/man/csqrt.3 @@ -1,4 +1,4 @@ -.\" Copyright (c) 2007 David Schultz <das@FreeBSD.org> +.\" Copyright (c) 2007-2008 David Schultz <das@FreeBSD.org> .\" All rights reserved. .\" .\" Redistribution and use in source and binary forms, with or without @@ -24,12 +24,13 @@ .\" .\" $FreeBSD$ .\" -.Dd December 14, 2007 +.Dd March 30, 2008 .Dt CSQRT 3 .Os .Sh NAME .Nm csqrt , -.Nm csqrtf +.Nm csqrtf , +.Nm csqrtl .Nd complex square root functions .Sh LIBRARY .Lb libm @@ -39,18 +40,22 @@ .Fn csqrt "double complex z" .Ft float complex .Fn csqrtf "float complex z" +.Ft long double complex +.Fn csqrtl "long double complex z" .Sh DESCRIPTION The -.Fn csqrt +.Fn csqrt , +.Fn csqrtf , and -.Fn csqrtf +.Fn csqrtl functions compute the square root of .Fa z in the complex plane, with a branch cut along the negative real axis. In other words, -.Fn csqrt +.Fn csqrt , +.Fn csqrtf , and -.Fn csqrtf +.Fn csqrtl always return the square root whose real part is non-negative. .Sh RETURN VALUES These functions return the requested square root. @@ -83,12 +88,15 @@ an \*(Na is generated, an invalid exception will be thrown. .Xr math 3 , .Sh STANDARDS The -.Fn csqrt +.Fn csqrt , +.Fn csqrtf , and -.Fn csqrtf +.Fn csqrtl functions conform to .St -isoC-99 . .Sh BUGS For -.Fn csqrt , -inexact results are not correctly rounded in general. +.Fn csqrt +and +.Fn csqrtl , +inexact results are not always correctly rounded. |