mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-28 02:27:19 +02:00
LibJS: Add almost all Math functions
This commit is contained in:
committed by
Andreas Kling
parent
a35693915e
commit
7c9c3a10d3
Notes:
sideshowbarker
2024-07-19 00:29:50 +09:00
Author: https://github.com/Cleverking2003 🔰 Commit: https://github.com/SerenityOS/serenity/commit/7c9c3a10d3d Pull-request: https://github.com/SerenityOS/serenity/pull/4599 Reviewed-by: https://github.com/linusg
@@ -64,6 +64,15 @@ private:
|
||||
JS_DECLARE_NATIVE_FUNCTION(atanh);
|
||||
JS_DECLARE_NATIVE_FUNCTION(log1p);
|
||||
JS_DECLARE_NATIVE_FUNCTION(cbrt);
|
||||
JS_DECLARE_NATIVE_FUNCTION(atan2);
|
||||
JS_DECLARE_NATIVE_FUNCTION(fround);
|
||||
JS_DECLARE_NATIVE_FUNCTION(hypot);
|
||||
JS_DECLARE_NATIVE_FUNCTION(log);
|
||||
JS_DECLARE_NATIVE_FUNCTION(log2);
|
||||
JS_DECLARE_NATIVE_FUNCTION(log10);
|
||||
JS_DECLARE_NATIVE_FUNCTION(sinh);
|
||||
JS_DECLARE_NATIVE_FUNCTION(cosh);
|
||||
JS_DECLARE_NATIVE_FUNCTION(tanh);
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user