diff options
author | Mike Pall <mike> | 2011-06-03 17:12:46 +0200 |
---|---|---|
committer | Mike Pall <mike> | 2011-06-03 17:15:44 +0200 |
commit | eec28aa9fdf5f733a4f7d2628fc060eac66ab713 (patch) | |
tree | d37d099e35e86df696d0b130cf98b098cd604d12 /src/lib_math.c | |
parent | 77bb8de93da29cc3b1a3fbc2f605f8b70841657b (diff) | |
download | luajit-eec28aa9fdf5f733a4f7d2628fc060eac66ab713.tar.gz luajit-eec28aa9fdf5f733a4f7d2628fc060eac66ab713.tar.bz2 luajit-eec28aa9fdf5f733a4f7d2628fc060eac66ab713.zip |
Move math helpers to lj_vmmath.c. Add missing log2/exp2 for Symbian.
Diffstat (limited to 'src/lib_math.c')
-rw-r--r-- | src/lib_math.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/lib_math.c b/src/lib_math.c index 24501139..917b5e7b 100644 --- a/src/lib_math.c +++ b/src/lib_math.c | |||
@@ -84,10 +84,6 @@ LJLIB_ASM_(math_max) LJLIB_REC(math_minmax IR_MAX) | |||
84 | LJLIB_PUSH(3.14159265358979323846) LJLIB_SET(pi) | 84 | LJLIB_PUSH(3.14159265358979323846) LJLIB_SET(pi) |
85 | LJLIB_PUSH(1e310) LJLIB_SET(huge) | 85 | LJLIB_PUSH(1e310) LJLIB_SET(huge) |
86 | 86 | ||
87 | LJ_FUNCA double lj_wrapper_sinh(double x) { return sinh(x); } | ||
88 | LJ_FUNCA double lj_wrapper_cosh(double x) { return cosh(x); } | ||
89 | LJ_FUNCA double lj_wrapper_tanh(double x) { return tanh(x); } | ||
90 | |||
91 | /* ------------------------------------------------------------------------ */ | 87 | /* ------------------------------------------------------------------------ */ |
92 | 88 | ||
93 | /* This implements a Tausworthe PRNG with period 2^223. Based on: | 89 | /* This implements a Tausworthe PRNG with period 2^223. Based on: |