Move math helpers to lj_vmmath.c. Add missing log2/exp2 for Symbian.

This commit is contained in:
Mike Pall
2011-06-03 17:12:46 +02:00
parent 77bb8de93d
commit eec28aa9fd
14 changed files with 160 additions and 119 deletions

View File

@@ -91,9 +91,9 @@ typedef struct CCallInfo {
_(lj_vm_trunc, ARG1_FP, N, NUM, 0) \
_(sqrt, ARG1_FP, N, NUM, 0) \
_(exp, ARG1_FP, N, NUM, 0) \
_(exp2, ARG1_FP, N, NUM, 0) \
_(lj_vm_exp2, ARG1_FP, N, NUM, 0) \
_(log, ARG1_FP, N, NUM, 0) \
_(log2, ARG1_FP, N, NUM, 0) \
_(lj_vm_log2, ARG1_FP, N, NUM, 0) \
_(log10, ARG1_FP, N, NUM, 0) \
_(sin, ARG1_FP, N, NUM, 0) \
_(cos, ARG1_FP, N, NUM, 0) \