mailing list of musl libc
 help / color / mirror / code / Atom feed
d029f2e089c5d57553d1b1ac0932a9e75ca28ca0 blob 287 bytes (raw)

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

#ifdef LONG_DOUBLE_IS_BINARY64
long double fdiml(long double x, long double y)
{
	return fdim(x, y);
}
#else
long double fdiml(long double x, long double y)
{
	if (isnan(x))
		return x;
	if (isnan(y))
		return y;
	return x > y ? x - y : 0;
}
#endif
debug log:

solving d029f2e ...
found d029f2e in https://inbox.vuxu.org/musl/1457404695-17281-1-git-send-email-masanori.ogino@gmail.com/
found 62e29b7 in https://git.vuxu.org/mirror/musl/
preparing index
index prepared:
100644 62e29b7df39e1cb25e73b844cbb98e423bf87d26	src/math/fdiml.c

applying [1/1] https://inbox.vuxu.org/musl/1457404695-17281-1-git-send-email-masanori.ogino@gmail.com/
diff --git a/src/math/fdiml.c b/src/math/fdiml.c
index 62e29b7..d029f2e 100644

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

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