From 700c827f79fdada656444055061175ed7157ac72 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Astor?= Date: Fri, 13 May 2022 11:04:19 +0200 Subject: [PATCH] :bug: Fix constant fold code --- src/lib/prim.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/prim.c b/src/lib/prim.c index fcaab1fa..a6dc951a 100644 --- a/src/lib/prim.c +++ b/src/lib/prim.c @@ -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, >>,) -- 2.43.0