mailing list of musl libc
 help / color / mirror / code / Atom feed
5ed05ed1d7cd3433ddf4aee18a03ced0206dd14a blob 362 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
 
#include "libm.h"

#ifdef LONG_DOUBLE_IS_BINARY64
long double complex casinl(long double complex z)
{
	return casin(z);
}
#else
// FIXME
long double complex casinl(long double complex z)
{
	long double complex w;
	long double x, y;

	x = creall(z);
	y = cimagl(z);
	w = CMPLXL(1.0 - (x - y)*(x + y), -2.0*x*y);
	return clogl(CMPLXL(-y, x) + csqrtl(w));
}
#endif
debug log:

solving 5ed05ed ...
found 5ed05ed in https://inbox.vuxu.org/musl/1457404695-17281-1-git-send-email-masanori.ogino@gmail.com/
found 0916c60 in https://git.vuxu.org/mirror/musl/
preparing index
index prepared:
100644 0916c60f2a6b3c7eeb71d74c4cff06a5a1273fae	src/complex/casinl.c

applying [1/1] https://inbox.vuxu.org/musl/1457404695-17281-1-git-send-email-masanori.ogino@gmail.com/
diff --git a/src/complex/casinl.c b/src/complex/casinl.c
index 0916c60..5ed05ed 100644

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

index at:
100644 5ed05ed1d7cd3433ddf4aee18a03ced0206dd14a	src/complex/casinl.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).