mailing list of musl libc
 help / color / mirror / code / Atom feed
b071e82ff573addf123b6eee9c77433008ad39de 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 fminl(long double x, long double y)
{
	return fmin(x, y);
}
#else
long double fminl(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) ? x : y;
	return x < y ? x : y;
}
#endif
debug log:

solving b071e82 ...
found b071e82 in https://inbox.vuxu.org/musl/1457404695-17281-1-git-send-email-masanori.ogino@gmail.com/
found 69bc24a in https://git.vuxu.org/mirror/musl/
preparing index
index prepared:
100644 69bc24a79bef742518735980c2ff5919589fbb46	src/math/fminl.c

applying [1/1] https://inbox.vuxu.org/musl/1457404695-17281-1-git-send-email-masanori.ogino@gmail.com/
diff --git a/src/math/fminl.c b/src/math/fminl.c
index 69bc24a..b071e82 100644

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

index at:
100644 b071e82ff573addf123b6eee9c77433008ad39de	src/math/fminl.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).