Files
cell/src/cell_math.h

15 lines
639 B
C

#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