aboutsummaryrefslogtreecommitdiff
path: root/src/math/x86_64/lrint.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/x86_64/lrint.c')
-rw-r--r--src/math/x86_64/lrint.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/math/x86_64/lrint.c b/src/math/x86_64/lrint.c
index a742fec6..c51ededc 100644
--- a/src/math/x86_64/lrint.c
+++ b/src/math/x86_64/lrint.c
@@ -6,3 +6,11 @@ long lrint(double x)
__asm__ ("cvtsd2si %1, %0" : "=r"(r) : "x"(x));
return r;
}
+
+
+#ifdef TEST
+int
+main(void) {
+ return 0;
+}
+#endif