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

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

double trunc(double x)
{
	__asm__ ("frintz %d0, %d1" : "=w"(x) : "w"(x));
	return x;
}
debug log:

solving e592147a ...
found e592147a in https://git.vuxu.org/mirror/musl/

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).