summaryrefslogtreecommitdiff
path: root/src/tgmath
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2024-05-28 14:56:06 -0400
committerJakob Kaivo <jkk@ung.org>2024-05-28 14:56:06 -0400
commitb4cd7036bea6c6440fbbcdaebe53c864c87a5646 (patch)
tree260670ad9a9637c8c36d84b9cf77ec412017b038 /src/tgmath
parenta69b11fd8974a898a26081950bd4add7c82ea45d (diff)
integrate jkmalloc/prep for readonly
Diffstat (limited to 'src/tgmath')
-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