core packages now split out

This commit is contained in:
2026-02-20 14:14:07 -06:00
parent e6d05abd03
commit 285395807b
49 changed files with 1303 additions and 1281 deletions

14
src/cell_math.h Normal file
View File

@@ -0,0 +1,14 @@
#ifndef CELL_MATH_H
#define CELL_MATH_H
#include "cell.h"
JSValue js_math_e (JSContext *ctx, JSValue this_val, int argc, JSValue *argv);
JSValue js_math_ln (JSContext *ctx, JSValue this_val, int argc, JSValue *argv);
JSValue js_math_log10 (JSContext *ctx, JSValue this_val, int argc, JSValue *argv);
JSValue js_math_log2 (JSContext *ctx, JSValue this_val, int argc, JSValue *argv);
JSValue js_math_power (JSContext *ctx, JSValue this_val, int argc, JSValue *argv);
JSValue js_math_root (JSContext *ctx, JSValue this_val, int argc, JSValue *argv);
JSValue js_math_sqrt (JSContext *ctx, JSValue this_val, int argc, JSValue *argv);
#endif