aboutsummaryrefslogtreecommitdiff
path: root/cbits/arith_lists.h
diff options
context:
space:
mode:
authorTom Smeding <t.j.smeding@uu.nl>2024-05-27 14:10:57 +0200
committerTom Smeding <t.j.smeding@uu.nl>2024-05-27 14:10:57 +0200
commit9e5945120bbcfeff15ee7356398e06ab5ba25561 (patch)
tree9e9432d60b901776ebf552b501724e4c0a7b18f3 /cbits/arith_lists.h
parente80b2593edc3d216905279ebcfa797593a1efbfc (diff)
Fast (C) Floating ops
Diffstat (limited to 'cbits/arith_lists.h')
-rw-r--r--cbits/arith_lists.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/cbits/arith_lists.h b/cbits/arith_lists.h
index 1137c18..2e37575 100644
--- a/cbits/arith_lists.h
+++ b/cbits/arith_lists.h
@@ -3,12 +3,33 @@ LIST_BINOP(BO_SUB, 2, -)
LIST_BINOP(BO_MUL, 3, *)
LIST_FBINOP(FB_DIV, 1, /)
+LIST_FBINOP(FB_POW, 2, **)
+LIST_FBINOP(FB_LOGBASE, 3, logBase)
LIST_UNOP(UO_NEG, 1,)
LIST_UNOP(UO_ABS, 2,)
LIST_UNOP(UO_SIGNUM, 3,)
LIST_FUNOP(FU_RECIP, 1,)
+LIST_FUNOP(FU_EXP, 2,)
+LIST_FUNOP(FU_LOG, 3,)
+LIST_FUNOP(FU_SQRT, 4,)
+LIST_FUNOP(FU_SIN, 5,)
+LIST_FUNOP(FU_COS, 6,)
+LIST_FUNOP(FU_TAN, 7,)
+LIST_FUNOP(FU_ASIN, 8,)
+LIST_FUNOP(FU_ACOS, 9,)
+LIST_FUNOP(FU_ATAN, 10,)
+LIST_FUNOP(FU_SINH, 11,)
+LIST_FUNOP(FU_COSH, 12,)
+LIST_FUNOP(FU_TANH, 13,)
+LIST_FUNOP(FU_ASINH, 14,)
+LIST_FUNOP(FU_ACOSH, 15,)
+LIST_FUNOP(FU_ATANH, 16,)
+LIST_FUNOP(FU_LOG1P, 17,)
+LIST_FUNOP(FU_EXPM1, 18,)
+LIST_FUNOP(FU_LOG1PEXP, 19,)
+LIST_FUNOP(FU_LOG1MEXP, 20,)
LIST_REDOP(RO_SUM1, 1,)
LIST_REDOP(RO_PRODUCT1, 2,)