1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 15:48:12 +00:00

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

This commit is contained in:
Andreas Kling 2023-11-24 09:50:11 +01:00
parent c2ff238467
commit 8447544e17
4 changed files with 24 additions and 3 deletions

View file

@ -18,6 +18,7 @@ namespace JS::Bytecode {
O(MathPow, math_pow, Math, pow, 2) \
O(MathCeil, math_ceil, Math, ceil, 1) \
O(MathFloor, math_floor, Math, floor, 1) \
O(MathRound, math_round, Math, round, 1) \
O(MathSqrt, math_sqrt, Math, sqrt, 1)
enum class Builtin {