unleashed-firmware/lib/mjs
WillyJL c673b53e21
JS: Add math module (#3598)
* JS: Add math module
* Double constants
* Error on argument type mismatch
* Fix missing returns
* Using sin, exp from c library
* asin, acos, pow, sqrt too
* Js: tests for math module and various fixes.

Co-authored-by: あく <alleteam@gmail.com>
Co-authored-by: nminaylov <nm29719@gmail.com>
2024-05-17 17:45:40 +01:00
..
common [FL-3579, FL-3601, FL-3714] JavaScript runner (#3286) 2024-02-12 15:54:32 +07:00
ffi [FL-3579, FL-3601, FL-3714] JavaScript runner (#3286) 2024-02-12 15:54:32 +07:00
mjs_array_buf_public.h [FL-3579, FL-3601, FL-3714] JavaScript runner (#3286) 2024-02-12 15:54:32 +07:00
mjs_array_buf.c [FL-3579, FL-3601, FL-3714] JavaScript runner (#3286) 2024-02-12 15:54:32 +07:00
mjs_array_buf.h [FL-3579, FL-3601, FL-3714] JavaScript runner (#3286) 2024-02-12 15:54:32 +07:00
mjs_array_public.h [FL-3579, FL-3601, FL-3714] JavaScript runner (#3286) 2024-02-12 15:54:32 +07:00
mjs_array.c [FL-3579, FL-3601, FL-3714] JavaScript runner (#3286) 2024-02-12 15:54:32 +07:00
mjs_array.h [FL-3579, FL-3601, FL-3714] JavaScript runner (#3286) 2024-02-12 15:54:32 +07:00
mjs_bcode.c [FL-3579, FL-3601, FL-3714] JavaScript runner (#3286) 2024-02-12 15:54:32 +07:00
mjs_bcode.h [FL-3579, FL-3601, FL-3714] JavaScript runner (#3286) 2024-02-12 15:54:32 +07:00
mjs_builtin.c [FL-3579, FL-3601, FL-3714] JavaScript runner (#3286) 2024-02-12 15:54:32 +07:00
mjs_builtin.h [FL-3579, FL-3601, FL-3714] JavaScript runner (#3286) 2024-02-12 15:54:32 +07:00
mjs_core_public.h [FL-3579, FL-3601, FL-3714] JavaScript runner (#3286) 2024-02-12 15:54:32 +07:00
mjs_core.c JS: Add math module (#3598) 2024-05-17 17:45:40 +01:00
mjs_core.h [FL-3579, FL-3601, FL-3714] JavaScript runner (#3286) 2024-02-12 15:54:32 +07:00
mjs_dataview.c [FL-3579, FL-3601, FL-3714] JavaScript runner (#3286) 2024-02-12 15:54:32 +07:00
mjs_dataview.h [FL-3579, FL-3601, FL-3714] JavaScript runner (#3286) 2024-02-12 15:54:32 +07:00
mjs_exec_public.h [FL-3579, FL-3601, FL-3714] JavaScript runner (#3286) 2024-02-12 15:54:32 +07:00
mjs_exec.c [FL-3579, FL-3601, FL-3714] JavaScript runner (#3286) 2024-02-12 15:54:32 +07:00
mjs_exec.h [FL-3579, FL-3601, FL-3714] JavaScript runner (#3286) 2024-02-12 15:54:32 +07:00
mjs_features.h [FL-3579, FL-3601, FL-3714] JavaScript runner (#3286) 2024-02-12 15:54:32 +07:00
mjs_ffi_public.h [FL-3579, FL-3601, FL-3714] JavaScript runner (#3286) 2024-02-12 15:54:32 +07:00
mjs_ffi.c [FL-3579, FL-3601, FL-3714] JavaScript runner (#3286) 2024-02-12 15:54:32 +07:00
mjs_ffi.h [FL-3579, FL-3601, FL-3714] JavaScript runner (#3286) 2024-02-12 15:54:32 +07:00
mjs_gc_public.h [FL-3579, FL-3601, FL-3714] JavaScript runner (#3286) 2024-02-12 15:54:32 +07:00
mjs_gc.c [FL-3579, FL-3601, FL-3714] JavaScript runner (#3286) 2024-02-12 15:54:32 +07:00
mjs_gc.h [FL-3579, FL-3601, FL-3714] JavaScript runner (#3286) 2024-02-12 15:54:32 +07:00
mjs_internal.h [FL-3579, FL-3601, FL-3714] JavaScript runner (#3286) 2024-02-12 15:54:32 +07:00
mjs_json.c [FL-3579, FL-3601, FL-3714] JavaScript runner (#3286) 2024-02-12 15:54:32 +07:00
mjs_json.h [FL-3579, FL-3601, FL-3714] JavaScript runner (#3286) 2024-02-12 15:54:32 +07:00
mjs_license.h [FL-3579, FL-3601, FL-3714] JavaScript runner (#3286) 2024-02-12 15:54:32 +07:00
mjs_mm.h [FL-3579, FL-3601, FL-3714] JavaScript runner (#3286) 2024-02-12 15:54:32 +07:00
mjs_object_public.h [FL-3579, FL-3601, FL-3714] JavaScript runner (#3286) 2024-02-12 15:54:32 +07:00
mjs_object.c [FL-3579, FL-3601, FL-3714] JavaScript runner (#3286) 2024-02-12 15:54:32 +07:00
mjs_object.h [FL-3579, FL-3601, FL-3714] JavaScript runner (#3286) 2024-02-12 15:54:32 +07:00
mjs_parser.c [FL-3579, FL-3601, FL-3714] JavaScript runner (#3286) 2024-02-12 15:54:32 +07:00
mjs_parser.h [FL-3579, FL-3601, FL-3714] JavaScript runner (#3286) 2024-02-12 15:54:32 +07:00
mjs_primitive_public.h [FL-3579, FL-3601, FL-3714] JavaScript runner (#3286) 2024-02-12 15:54:32 +07:00
mjs_primitive.c [FL-3579, FL-3601, FL-3714] JavaScript runner (#3286) 2024-02-12 15:54:32 +07:00
mjs_primitive.h [FL-3579, FL-3601, FL-3714] JavaScript runner (#3286) 2024-02-12 15:54:32 +07:00
mjs_string_public.h [FL-3579, FL-3601, FL-3714] JavaScript runner (#3286) 2024-02-12 15:54:32 +07:00
mjs_string.c [FL-3579, FL-3601, FL-3714] JavaScript runner (#3286) 2024-02-12 15:54:32 +07:00
mjs_string.h [FL-3579, FL-3601, FL-3714] JavaScript runner (#3286) 2024-02-12 15:54:32 +07:00
mjs_tok.c [FL-3579, FL-3601, FL-3714] JavaScript runner (#3286) 2024-02-12 15:54:32 +07:00
mjs_tok.h [FL-3579, FL-3601, FL-3714] JavaScript runner (#3286) 2024-02-12 15:54:32 +07:00
mjs_util_public.h [FL-3579, FL-3601, FL-3714] JavaScript runner (#3286) 2024-02-12 15:54:32 +07:00
mjs_util.c [FL-3579, FL-3601, FL-3714] JavaScript runner (#3286) 2024-02-12 15:54:32 +07:00
mjs_util.h [FL-3579, FL-3601, FL-3714] JavaScript runner (#3286) 2024-02-12 15:54:32 +07:00
SConscript mjs: minor fixes (#3442) 2024-02-12 18:16:58 +04:00