mailing list of musl libc
 help / color / mirror / code / Atom feed
0b5980523f6c0d5eccb375d75aa8234e73a7480c blob 237 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
 
#include "libm.h"

/* acosh(z) = i acos(z) */

double complex cacosh(double complex z)
{
        _Bool zineg = cimag(z) < 0;

	z = cacos(z);
	if (zineg) return CMPLX(cimag(z), -creal(z));
	else       return CMPLX(-cimag(z), creal(z));
}
debug log:

solving 0b598052 ...
found 0b598052 in https://inbox.vuxu.org/musl/df809c4a40da4b46a53c4e78c1b20c75@tachyum.com/
found 8c68cb01 in https://git.vuxu.org/mirror/musl/
preparing index
index prepared:
100644 8c68cb01fd6039eafaa856a7f3130a425b7504f6	src/complex/cacosh.c

applying [1/1] https://inbox.vuxu.org/musl/df809c4a40da4b46a53c4e78c1b20c75@tachyum.com/
diff --git a/src/complex/cacosh.c b/src/complex/cacosh.c
index 8c68cb01..0b598052 100644

Checking patch src/complex/cacosh.c...
Applied patch src/complex/cacosh.c cleanly.

index at:
100644 0b5980523f6c0d5eccb375d75aa8234e73a7480c	src/complex/cacosh.c

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).