abd30481c66d1150395a47c7aaad95b69671da9a blob 102 bytes (raw)
1
2
3
4
5
6
7
| | #include <math.h>
double trunc(double x)
{
__asm__ ("friz %0, %1" : "=d"(x) : "d"(x));
return x;
}
|
debug log:
solving abd3048 ...
found abd3048 in https://inbox.vuxu.org/musl/CAGWvnymr=J9hFw2CLi6MKAMwWdYbQEjz+oQJ1MrexAaygPoSNA@mail.gmail.com/
applying [1/1] https://inbox.vuxu.org/musl/CAGWvnymr=J9hFw2CLi6MKAMwWdYbQEjz+oQJ1MrexAaygPoSNA@mail.gmail.com/
diff --git a/src/math/powerpc64/trunc.c b/src/math/powerpc64/trunc.c
new file mode 100644
index 0000000..abd3048
Checking patch src/math/powerpc64/trunc.c...
Applied patch src/math/powerpc64/trunc.c cleanly.
index at:
100644 abd30481c66d1150395a47c7aaad95b69671da9a src/math/powerpc64/trunc.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).