f16b8a9cd44d99c4690ce529948f1c06ed46c8b2 blob 115 bytes (raw)
1
2
3
4
5
6
7
8
| | #include <math.h>
long lrint(double x)
{
long r;
__asm__ ("fistpll %0" : "=m"(r) : "t"(x) : "st");
return r;
}
|
debug log:
solving f16b8a9c ...
found f16b8a9c in https://inbox.vuxu.org/musl/20200111152354.5743-1-amonakov@ispras.ru/
applying [1/1] https://inbox.vuxu.org/musl/20200111152354.5743-1-amonakov@ispras.ru/
diff --git a/src/math/i386/lrint.c b/src/math/i386/lrint.c
new file mode 100644
index 00000000..f16b8a9c
Checking patch src/math/i386/lrint.c...
Applied patch src/math/i386/lrint.c cleanly.
index at:
100644 f16b8a9cd44d99c4690ce529948f1c06ed46c8b2 src/math/i386/lrint.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).