Meg's Mirrors
zig
about
heads
tags
log
tree
search
Search
zig
lib
libc
musl
src
math
x86_64
llrintl.c
pretty
plain
permalink
blame
history
•
8 lines
•
132 B
1
#include <math.h>
2
3
long long llrintl(long double x)
4
{
5
	long long r;
6
	__asm__ ("fistpll %0" : "=m"(r) : "t"(x) : "st");
7
	return r;
8
}