From 8975f6af0066a1c4ac6a8cd32c3a180aca3b5a8d Mon Sep 17 00:00:00 2001 From: dzaima Date: Thu, 24 Aug 2023 21:19:00 +0300 Subject: [PATCH] fast 1|x --- src/builtins/arithd.c | 15 ++++++++------- test/cases/prims.bqn | 10 +++++++--- 2 files changed, 15 insertions(+), 10 deletions(-) diff --git a/src/builtins/arithd.c b/src/builtins/arithd.c index 47395b62..7c36de26 100644 --- a/src/builtins/arithd.c +++ b/src/builtins/arithd.c @@ -137,7 +137,7 @@ static B modint_AS(B w, B xv) { return modint_AA(w, C2(shape, C1(fne, incG(w)) #define DOI16(EXPR,A,W,X,BASE) { Ri16(A) for (usz i=0; i