mailing list of musl libc
 help / color / mirror / code / Atom feed
14304677a1e2a72ee6d7126d8c3c5a0b6d3512e3 blob 372 bytes (raw)

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

#ifdef LONG_DOUBLE_IS_BINARY64
long double copysignl(long double x, long double y)
{
	return copysign(x, y);
}
#elif defined(LONG_DOUBLE_IS_X87_EXTENDED) || defined(LONG_DOUBLE_IS_BINARY128)
long double copysignl(long double x, long double y)
{
	union ldshape ux = {x}, uy = {y};
	ux.i.se &= 0x7fff;
	ux.i.se |= uy.i.se & 0x8000;
	return ux.f;
}
#endif
debug log:

solving 1430467 ...
found 1430467 in https://inbox.vuxu.org/musl/1457404695-17281-1-git-send-email-masanori.ogino@gmail.com/
found 9dd933c in https://git.vuxu.org/mirror/musl/
preparing index
index prepared:
100644 9dd933cfa9c55214df9392e9a90dcc83a2dd0c8f	src/math/copysignl.c

applying [1/1] https://inbox.vuxu.org/musl/1457404695-17281-1-git-send-email-masanori.ogino@gmail.com/
diff --git a/src/math/copysignl.c b/src/math/copysignl.c
index 9dd933c..1430467 100644

Checking patch src/math/copysignl.c...
Applied patch src/math/copysignl.c cleanly.

index at:
100644 14304677a1e2a72ee6d7126d8c3c5a0b6d3512e3	src/math/copysignl.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).