diff options
Diffstat (limited to 'newlib/libm/complex/casin.c')
-rw-r--r-- | newlib/libm/complex/casin.c | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/newlib/libm/complex/casin.c b/newlib/libm/complex/casin.c index 7e392944f..5019fd8cb 100644 --- a/newlib/libm/complex/casin.c +++ b/newlib/libm/complex/casin.c @@ -32,6 +32,49 @@ * Marco Atzeri <marco_atzeri@yahoo.it> */ +/* +FUNCTION + <<casin>>, <<casinf>>---complex arc sine + +INDEX + casin +INDEX + casinf + +ANSI_SYNOPSIS + #include <complex.h> + double complex casin(double complex <[z]>); + float complex casinf(float complex <[z]>); + + +DESCRIPTION + These functions compute the complex arc sine of <[z]>, + with branch cuts outside the interval [-1, +1] along the real axis. + + <<casinf>> is identical to <<casin>>, except that it performs + its calculations on <<floats complex>>. + +RETURNS + @ifnottex + These functions return the complex arc sine value, in the range + of a strip mathematically unbounded along the imaginary axis + and in the interval [-pi/2, +pi/2] along the real axis. + @end ifnottex + @tex + These functions return the complex arc sine value, in the range + of a strip mathematically unbounded along the imaginary axis + and in the interval [$-\pi/2$, $+\pi/2$] along the real axis. + @end tex + +PORTABILITY + <<casin>> and <<casinf>> are ISO C99 + +QUICKREF + <<casin>> and <<casinf>> are ISO C99 + +*/ + + #include <complex.h> #include <math.h> |