mailing list of musl libc
 help / color / mirror / code / Atom feed
9b4a3175905aa8ded86b06a1b617857fd0bb570f blob 393 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
 
#include <math.h>
#include <float.h>

#ifdef LONG_DOUBLE_IS_BINARY64
long double fmaxl(long double x, long double y)
{
	return fmax(x, y);
}
#else
long double fmaxl(long double x, long double y)
{
	if (isnan(x))
		return y;
	if (isnan(y))
		return x;
	/* handle signed zeros, see C99 Annex F.9.9.2 */
	if (signbit(x) != signbit(y))
		return signbit(x) ? y : x;
	return x < y ? y : x;
}
#endif
debug log:

solving 9b4a317 ...
found 9b4a317 in https://inbox.vuxu.org/musl/1457404695-17281-1-git-send-email-masanori.ogino@gmail.com/
found 4b03158 in https://git.vuxu.org/mirror/musl/
preparing index
index prepared:
100644 4b03158e06292b28576615a2a1dd36bd6bf1d34a	src/math/fmaxl.c

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

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

index at:
100644 9b4a3175905aa8ded86b06a1b617857fd0bb570f	src/math/fmaxl.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).