Refactor math library

This commit is contained in:
James Roseborough
2012-09-10 14:21:18 +00:00
parent f8b7e1ee1c
commit 382b3b998e
5 changed files with 172 additions and 154 deletions

View File

@@ -19,7 +19,7 @@ local singleargfunctions = {
}
local singleargposdomain = {
'log', 'log10', 'sqrt', 'ceil',
'log', 'sqrt', 'ceil',
}
local twoargfunctions = {

View File

@@ -76,7 +76,7 @@ local ONEARG_JME = {
}
local ONEARG_JSE = {
"acos", "asin", "atan", "cosh",
"log", "log10", "sinh", "tanh",
"log", "sinh", "tanh",
}
local TWOARGS_JME = {
"fmod", "ldexp", "pow",

View File

@@ -24,7 +24,7 @@ for DIR in "errors" "perf" "."; do
FILES=`ls -1 *.lua | awk 'BEGIN { FS="." } ; { print $1 }'`
for FILE in $FILES ; do
echo 'executing' `pwd` $FILE
lua ${FILE}.lua > ${FILE}.out
lua ${FILE}.lua JSE > ${FILE}.out
done
cd ..
done