diff --git a/src/builtins/grade.h b/src/builtins/grade.h index 66c77276..95aaca74 100644 --- a/src/builtins/grade.h +++ b/src/builtins/grade.h @@ -294,15 +294,15 @@ B GRADE_CAT(c2)(B t, B w, B x) { u8 fl = GRADE_UD(fl_asc,fl_dsc); if (LIKELY(weel_i32 | xe>el_i32) goto gen; + if (elNum(we)) { // number + if (elNum(xe)) { + if (we==el_f64 | xe==el_f64) goto gen; w=toI32Any(w); x=toI32Any(x); } else { for (u64 i=0; i