cacosh.c\complex\src - musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
path: root/src/complex/cacosh.c
blob: 8c68cb01fd6039eafaa856a7f3130a425b7504f6 (plain) (blame)
1
2
3
4
5
6
7
8
9
#include "libm.h"
/* acosh(z) = i acos(z) */
double complex cacosh(double complex z)
{
	z = cacos(z);
	return CMPLX(-cimag(z), creal(z));
}
generated by cgit v1.2.1 (git 2.18.0) at 2025年09月25日 16:31:19 +0000

AltStyle によって変換されたページ (->オリジナル) /