From acf8fcbd932a68d130fa3e3654e1b622e10fd6af Mon Sep 17 00:00:00 2001 From: Mike Pall Date: Tue, 13 Oct 2026 12:14:15 +0200 Subject: [PATCH] x86: Fix math.floor()/ceil() argument check. Thanks to RaphaelIT7. #1532 --- src/vm_x86.dasc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vm_x86.dasc b/src/vm_x86.dasc index 9ea02ef7..1631097a 100644 --- a/src/vm_x86.dasc +++ b/src/vm_x86.dasc @@ -2022,7 +2022,7 @@ static void build_subroutines(BuildCtx *ctx) | jmp ->vm_return | |.macro math_round, func - | .ffunc math_ .. func + | .ffunc_1 math_ .. func |.if DUALNUM | cmp dword [BASE+4], LJ_TISNUM; jne >1 | mov RB, dword [BASE]; jmp ->fff_resi