[cfe-commits] r64723 - /cfe/trunk/lib/Headers/tgmath-sofar.h
Chris Lattner
sabre at nondot.org
Mon Feb 16 18:37:35 PST 2009
Author: lattner
Date: Mon Feb 16 20:37:35 2009
New Revision: 64723
URL: http://llvm.org/viewvc/llvm-project?rev=64723&view=rev
Log:
asin support. No we don't care about complex int :)
Modified:
cfe/trunk/lib/Headers/tgmath-sofar.h
Modified: cfe/trunk/lib/Headers/tgmath-sofar.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Headers/tgmath-sofar.h?rev=64723&r1=64722&r2=64723&view=diff
==============================================================================
--- cfe/trunk/lib/Headers/tgmath-sofar.h (original)
+++ cfe/trunk/lib/Headers/tgmath-sofar.h Mon Feb 16 20:37:35 2009
@@ -69,7 +69,19 @@
__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)
More information about the cfe-commits
mailing list