summaryrefslogtreecommitdiff
path: root/src/tgmath/acos.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tgmath/acos.h')
-rw-r--r--src/tgmath/acos.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/tgmath/acos.h b/src/tgmath/acos.h
new file mode 100644
index 00000000..c7697ea2
--- /dev/null
+++ b/src/tgmath/acos.h
@@ -0,0 +1,19 @@
+#define acos(__x) _Generic((__x), \
+ long double complex: cacosl, \
+ double complex: cacos, \
+ float complex: cacosf, \
+ long double: $sl, \
+ double: acos, \
+ unsigned long long: acos, \
+ long long: acos, \
+ unsigned long: acos, \
+ long: acos, \
+ unsigned int: acos, \
+ int: acos, \
+ unsigned short: acos, \
+ short: acos, \
+ unsigned char: acos, \
+ signed char: acos, \
+ char: acos, \
+ float: acos \
+ )(__x)\n