aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-02-17 02:37:35 +0000
committerChris Lattner <sabre@nondot.org>2009-02-17 02:37:35 +0000
commit05a6c166e8d6c8b20360661fd42a5fd2aee8a601 (patch)
tree0e21b0f978e0b31db1c5271f7630e541d312b7ed
parente5b7d644c23c5da0cfc0790dd0f2f65dafdaa541 (diff)
asin support. No we don't care about complex int :)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64723 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Headers/tgmath-sofar.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/lib/Headers/tgmath-sofar.h b/lib/Headers/tgmath-sofar.h
index b3c0981235..bcc1907809 100644
--- a/lib/Headers/tgmath-sofar.h
+++ b/lib/Headers/tgmath-sofar.h
@@ -69,7 +69,19 @@ __TG_ATTRS _Complex double __tg_acos(_Complex double x) { return cacos
__TG_ATTRS _Complex long double __tg_acos(_Complex long double x) { return cacosl(x); }
#define acos(x) __tg_acos(x)
-__TG_RC_1(x, asin, casin)
+// asin
+__TG_ATTRS float __tg_asin(float x) { return asinf(x); }
+__TG_ATTRS double __tg_asin(double x) { return asin(x); }
+__TG_ATTRS long double __tg_asin(long double x) { return asinl(x); }
+__TG_ATTRS double __tg_asin(long long x) { return asin(x); }
+__TG_ATTRS double __tg_asin(long x) { return asin(x); }
+__TG_ATTRS double __tg_asin(int x) { return asin(x); }
+__TG_ATTRS double __tg_asin(unsigned long long x) { return asin(x); }
+__TG_ATTRS double __tg_asin(unsigned long x) { return asin(x); }
+__TG_ATTRS double __tg_asin(unsigned x) { return asin(x); }
+__TG_ATTRS _Complex float __tg_asin(_Complex float x) { return casinf(x); }
+__TG_ATTRS _Complex double __tg_asin(_Complex double x) { return casin(x); }
+__TG_ATTRS _Complex long double __tg_asin(_Complex long double x) { return casinl(x); }
#define asin(x) __tg_asin(x)