summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/ltdf2.c
diff options
context:
space:
mode:
Diffstat (limited to 'compiler-rt/lib/ltdf2.c')
-rw-r--r--compiler-rt/lib/ltdf2.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/compiler-rt/lib/ltdf2.c b/compiler-rt/lib/ltdf2.c
new file mode 100644
index 00000000000..07e2a396c6a
--- /dev/null
+++ b/compiler-rt/lib/ltdf2.c
@@ -0,0 +1,16 @@
+//===-- lib/ltdf2.c - Double-precision comparisons ----------------*- C -*-===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+
+#define DOUBLE_PRECISION
+#include "fp_lib.h"
+
+enum LE_RESULT __ledf2(fp_t a, fp_t b);
+enum LE_RESULT __ltdf2(fp_t a, fp_t b) {
+ return __ledf2(a, b);
+}
OpenPOWER on IntegriCloud