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