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

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

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

solving 897a84cc ...
found 897a84cc 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).