mailing list of musl libc
 help / color / mirror / code / Atom feed
98afa2d6787a8f43fac0f574dd1854a83ff04caa blob 121 bytes (raw)

1
2
3
4
5
6
7
 
#include <math.h>

long double truncl(long double x)
{
	__asm__ ("fixbra %0, 5, %1, 4" : "=f"(x) : "f"(x));
	return x;
}
debug log:

solving 98afa2d ...
found 98afa2d in https://inbox.vuxu.org/musl/CAGWvnykYbN-OyJOkn8=eKFvuxAnMXQM01Us9iWOHy6w86_JM8w@mail.gmail.com/ ||
	https://inbox.vuxu.org/musl/CAGWvnynPNVY6Xgz8+S=wOtQuXFis=4eH1-523d=PvtnRbSGCUg@mail.gmail.com/

applying [1/2] https://inbox.vuxu.org/musl/CAGWvnykYbN-OyJOkn8=eKFvuxAnMXQM01Us9iWOHy6w86_JM8w@mail.gmail.com/
diff --git a/src/math/s390x/truncl.c b/src/math/s390x/truncl.c
new file mode 100644
index 0000000..98afa2d

Checking patch src/math/s390x/truncl.c...
Applied patch src/math/s390x/truncl.c cleanly.

skipping https://inbox.vuxu.org/musl/CAGWvnynPNVY6Xgz8+S=wOtQuXFis=4eH1-523d=PvtnRbSGCUg@mail.gmail.com/ for 98afa2d
index at:
100644 98afa2d6787a8f43fac0f574dd1854a83ff04caa	src/math/s390x/truncl.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).