summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libclc/generic/include/clc/clc.h1
-rw-r--r--libclc/generic/include/clc/math/native_tan.h10
2 files changed, 11 insertions, 0 deletions
diff --git a/libclc/generic/include/clc/clc.h b/libclc/generic/include/clc/clc.h
index e2f0f4f3b52..da526b20d0d 100644
--- a/libclc/generic/include/clc/clc.h
+++ b/libclc/generic/include/clc/clc.h
@@ -103,6 +103,7 @@
#include <clc/math/native_sin.h>
#include <clc/math/native_sqrt.h>
#include <clc/math/native_rsqrt.h>
+#include <clc/math/native_tan.h>
#include <clc/math/rsqrt.h>
/* 6.11.2.1 Floating-point macros */
diff --git a/libclc/generic/include/clc/math/native_tan.h b/libclc/generic/include/clc/math/native_tan.h
new file mode 100644
index 00000000000..cb4453895c5
--- /dev/null
+++ b/libclc/generic/include/clc/math/native_tan.h
@@ -0,0 +1,10 @@
+//===-- generic/include/clc/math/native_tan.h -----------------------------===//
+
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is dual licensed under both the University of Illinois Open Source
+// License and the MIT license. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+#define native_tan tan
OpenPOWER on IntegriCloud