mailing list of musl libc
 help / color / mirror / code / Atom feed
6e7f2344a9db7a54a689df5a49c08a963c6e9e6d blob 239 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
 
#include <math.h>
#ifdef LONG_DOUBLE_IS_BINARY64
long double logbl(long double x)
{
	return logb(x);
}
#else
long double logbl(long double x)
{
	if (!isfinite(x))
		return x * x;
	if (x == 0)
		return -1/(x*x);
	return ilogbl(x);
}
#endif
debug log:

solving 6e7f234 ...
found 6e7f234 in https://inbox.vuxu.org/musl/1457404695-17281-1-git-send-email-masanori.ogino@gmail.com/
found 962973a in https://git.vuxu.org/mirror/musl/
preparing index
index prepared:
100644 962973a7b99bfffdcb2c1677a3c0b2ba5f87d357	src/math/logbl.c

applying [1/1] https://inbox.vuxu.org/musl/1457404695-17281-1-git-send-email-masanori.ogino@gmail.com/
diff --git a/src/math/logbl.c b/src/math/logbl.c
index 962973a..6e7f234 100644

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

index at:
100644 6e7f2344a9db7a54a689df5a49c08a963c6e9e6d	src/math/logbl.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).