1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 20:27:34 +00:00

LibJS: expose some more math functions

This commit is contained in:
stelar7 2020-06-21 11:34:00 +02:00 committed by Andreas Kling
parent b97da17b90
commit 9e18005c64
7 changed files with 124 additions and 2 deletions

View file

@ -56,6 +56,11 @@ private:
JS_DECLARE_NATIVE_FUNCTION(expm1);
JS_DECLARE_NATIVE_FUNCTION(sign);
JS_DECLARE_NATIVE_FUNCTION(clz32);
JS_DECLARE_NATIVE_FUNCTION(acosh);
JS_DECLARE_NATIVE_FUNCTION(asinh);
JS_DECLARE_NATIVE_FUNCTION(atanh);
JS_DECLARE_NATIVE_FUNCTION(log1p);
JS_DECLARE_NATIVE_FUNCTION(cbrt);
};
}