add math.mod function

Sun, 07 Mar 2010 21:17:04 +0000

author
Matthew Wild <mwild1@gmail.com>
date
Sun, 07 Mar 2010 21:17:04 +0000
changeset 2
fa2f5d4b53c0
parent 1
da04c529c0de
child 3
3ea7fa7ca324

add math.mod function

lua.nanorc file | annotate | diff | comparison | revisions
--- a/lua.nanorc	Tue Nov 24 17:50:10 2009 +0000
+++ b/lua.nanorc	Sun Mar 07 21:17:04 2010 +0000
@@ -31,7 +31,7 @@
 
 # Standard library
 color brightyellow "io\.\<(close|flush|input|lines|open|output|popen|read|tmpfile|type|write|stdin|stdout|stderr)\>"
-color brightyellow "math\.\<(abs|acos|asin|atan2|atan|ceil|cosh|cos|deg|exp|floor|fmod|frexp|huge|ldexp|log10|log|max|min|modf|pi|pow|rad|random|randomseed|sinh|tan)\>"
+color brightyellow "math\.\<(abs|acos|asin|atan2|atan|ceil|cosh|cos|deg|exp|floor|fmod|frexp|huge|ldexp|log10|log|max|min|mod|modf|pi|pow|rad|random|randomseed|sinh|tan)\>"
 color brightyellow "os\.\<(clock|date|difftime|execute|exit|getenv|remove|rename|setlocale|time|tmpname)\>"
 color brightyellow "package\.\<(cpath|loaded|loadlib|path|preload|seeall)\>"
 color brightyellow "string\.\<(byte|char|dump|find|format|gmatch|gsub|len|lower|match|rep|reverse|sub|upper)\>"

mercurial