diff options
author | Tom Smeding <tom@tomsmeding.com> | 2024-05-26 14:57:34 +0200 |
---|---|---|
committer | Tom Smeding <tom@tomsmeding.com> | 2024-05-26 14:57:34 +0200 |
commit | e80b2593edc3d216905279ebcfa797593a1efbfc (patch) | |
tree | 5e5057e03f35369983f6600efc59c438c0cf2366 /cbits/arith_lists.h | |
parent | 2ac16efe59051e0cdeb37422ab579c8d354d562a (diff) |
Fast Fractional ops via C code
Diffstat (limited to 'cbits/arith_lists.h')
-rw-r--r-- | cbits/arith_lists.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cbits/arith_lists.h b/cbits/arith_lists.h index c7495e8..1137c18 100644 --- a/cbits/arith_lists.h +++ b/cbits/arith_lists.h @@ -2,9 +2,13 @@ LIST_BINOP(BO_ADD, 1, +) LIST_BINOP(BO_SUB, 2, -) LIST_BINOP(BO_MUL, 3, *) +LIST_FBINOP(FB_DIV, 1, /) + LIST_UNOP(UO_NEG, 1,) LIST_UNOP(UO_ABS, 2,) LIST_UNOP(UO_SIGNUM, 3,) +LIST_FUNOP(FU_RECIP, 1,) + LIST_REDOP(RO_SUM1, 1,) LIST_REDOP(RO_PRODUCT1, 2,) |