changeset 541:fda38db30e65

minor
author Franklin Schmidt <fschmidt@gmail.com>
date Mon, 01 Jun 2015 18:13:06 -0600
parents 4362eb720da9
children 7170a0c414d5
files core/src/luan/modules/Math.luan core/src/luan/modules/MathLuan.java
diffstat 2 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
diff -r 4362eb720da9 -r fda38db30e65 core/src/luan/modules/Math.luan
--- a/core/src/luan/modules/Math.luan	Mon Jun 01 18:04:50 2015 -0600
+++ b/core/src/luan/modules/Math.luan	Mon Jun 01 18:13:06 2015 -0600
@@ -31,6 +31,7 @@
 M.sqrt = MathLuan.sqrt
 M.tan = MathLuan.tan
 M.tanh = MathLuan.tanh
-M.to_string = MathLuan.to_string
+
+M.long_to_string = MathLuan.long_to_string
 
 return M
diff -r 4362eb720da9 -r fda38db30e65 core/src/luan/modules/MathLuan.java
--- a/core/src/luan/modules/MathLuan.java	Mon Jun 01 18:04:50 2015 -0600
+++ b/core/src/luan/modules/MathLuan.java	Mon Jun 01 18:13:06 2015 -0600
@@ -115,7 +115,7 @@
 		return Math.tanh(x);
 	}
 
-	public static String to_string(long i,Integer radix) {
+	public static String long_to_string(long i,Integer radix) {
 		return radix==null ? Long.toString(i) : Long.toString(i,radix);
 	}