aboutsummaryrefslogtreecommitdiff
path: root/cbits/arith_lists.h
blob: 58de65a58df83dc2e45b91039e78a2e29d1c540e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
LIST_BINOP(BO_ADD, 1, +)
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_SUM, 1,)
LIST_REDOP(RO_PRODUCT, 2,)