1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 22:37:35 +00:00

LibJS/JIT: Add builtin for Math.ceil()

This commit is contained in:
Andreas Kling 2023-11-24 09:46:21 +01:00
parent 08590adf40
commit c2ff238467
4 changed files with 24 additions and 3 deletions

View file

@ -16,6 +16,7 @@ namespace JS::Bytecode {
O(MathAbs, math_abs, Math, abs, 1) \
O(MathLog, math_log, Math, log, 1) \
O(MathPow, math_pow, Math, pow, 2) \
O(MathCeil, math_ceil, Math, ceil, 1) \
O(MathFloor, math_floor, Math, floor, 1) \
O(MathSqrt, math_sqrt, Math, sqrt, 1)