Refactor math library
This commit is contained in:
@@ -19,7 +19,7 @@ local singleargfunctions = {
|
||||
}
|
||||
|
||||
local singleargposdomain = {
|
||||
'log', 'log10', 'sqrt', 'ceil',
|
||||
'log', 'sqrt', 'ceil',
|
||||
}
|
||||
|
||||
local twoargfunctions = {
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user