x64: Fix math.floor()/ceil() argument check.

Thanks to RaphaelIT7. #1532
This commit is contained in:
Mike Pall 2026-10-13 12:19:12 +02:00
parent cfb19fe10a
commit 849bbbe763

View File

@ -1774,7 +1774,7 @@ static void build_subroutines(BuildCtx *ctx)
| jmp ->vm_return | jmp ->vm_return
| |
|.macro math_round, func |.macro math_round, func
| .ffunc math_ .. func | .ffunc_1 math_ .. func
|.if DUALNUM |.if DUALNUM
| mov RB, [BASE] | mov RB, [BASE]
| checknumx RB, ->fff_resRB, je | checknumx RB, ->fff_resRB, je