summaryrefslogtreecommitdiff
path: root/src/lib_math.c
diff options
context:
space:
mode:
authorMike Pall <mike>2011-06-03 17:12:46 +0200
committerMike Pall <mike>2011-06-03 17:15:44 +0200
commiteec28aa9fdf5f733a4f7d2628fc060eac66ab713 (patch)
treed37d099e35e86df696d0b130cf98b098cd604d12 /src/lib_math.c
parent77bb8de93da29cc3b1a3fbc2f605f8b70841657b (diff)
downloadluajit-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.c4
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)
84LJLIB_PUSH(3.14159265358979323846) LJLIB_SET(pi) 84LJLIB_PUSH(3.14159265358979323846) LJLIB_SET(pi)
85LJLIB_PUSH(1e310) LJLIB_SET(huge) 85LJLIB_PUSH(1e310) LJLIB_SET(huge)
86 86
87LJ_FUNCA double lj_wrapper_sinh(double x) { return sinh(x); }
88LJ_FUNCA double lj_wrapper_cosh(double x) { return cosh(x); }
89LJ_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: