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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
 
#include "libm.h"
#ifdef LONG_DOUBLE_IS_BINARY64
long double fabsl(long double x)
{
	return fabs(x);
}
#elif defined(LONG_DOUBLE_IS_X87_EXTENDED) || defined(LONG_DOUBLE_IS_BINARY128)
long double fabsl(long double x)
{
	union ldshape u = {x};

	u.i.se &= 0x7fff;
	return u.f;
}
#endif
debug log:

solving 5a8e634 ...
found 5a8e634 in https://inbox.vuxu.org/musl/1457404695-17281-1-git-send-email-masanori.ogino@gmail.com/
found c4f36ec in https://git.vuxu.org/mirror/musl/
preparing index
index prepared:
100644 c4f36ec2810ce50a7f7129800fbaf6f398139f5f	src/math/fabsl.c

applying [1/1] https://inbox.vuxu.org/musl/1457404695-17281-1-git-send-email-masanori.ogino@gmail.com/
diff --git a/src/math/fabsl.c b/src/math/fabsl.c
index c4f36ec..5a8e634 100644

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

index at:
100644 5a8e634955bf5cd883b4eb43f6831caf4aefbec4	src/math/fabsl.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).