]> Nishi Git Mirror - gwion.git/commitdiff
:bug: Fix constant fold code
authorJérémie Astor <fennecdjay@gmail.com>
Fri, 13 May 2022 09:04:19 +0000 (11:04 +0200)
committerJérémie Astor <fennecdjay@gmail.com>
Fri, 13 May 2022 09:04:19 +0000 (11:04 +0200)
src/lib/prim.c

index fcaab1fad4bd66cab3bac8111f3b458c84c9bd6e..a6dc951a297e1ee458dfd111a44c9c4750e3f652 100644 (file)
@@ -84,8 +84,8 @@ static inline uint pot(const m_int x) { return (x > 0) && ((x & (x - 1)) == 0);
 
 BINARY_INT_FOLD(add, et_int, +,)
 BINARY_INT_FOLD(sub, et_int, -,)
-BINARY_INT_FOLD(mul, et_int, *, POWEROF2_OPT(name, <<))
-BINARY_INT_FOLD_Z(div, et_int, /, POWEROF2_OPT(name, >>))
+BINARY_INT_FOLD(mul, et_int, *, /*POWEROF2_OPT(name, <<)*/)
+BINARY_INT_FOLD_Z(div, et_int, /,/* POWEROF2_OPT(name, >>)*/)
 BINARY_INT_FOLD_Z(mod, et_int, %,)
 BINARY_INT_FOLD(sl, et_int, <<,)
 BINARY_INT_FOLD(sr, et_int, >>,)