diff options
author | P. J. McDermott <pj@pehjota.net> | 2017-01-07 04:34:08 (EST) |
---|---|---|
committer | P. J. McDermott <pj@pehjota.net> | 2017-01-07 04:34:08 (EST) |
commit | 2f6f1e382704f829628427995556e4f0e63fc82e (patch) | |
tree | c572c3c70b7e6a6fa0d233a89369618e0522c962 /lib | |
parent | 2dc86b808a2283a17b9be8910ffd067ff118324e (diff) | |
download | decmath.js-2f6f1e382704f829628427995556e4f0e63fc82e.zip decmath.js-2f6f1e382704f829628427995556e4f0e63fc82e.tar.gz decmath.js-2f6f1e382704f829628427995556e4f0e63fc82e.tar.bz2 |
drhtz(), drhfz(): Remove debugging output
Diffstat (limited to 'lib')
-rw-r--r-- | lib/decmath.js | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/decmath.js b/lib/decmath.js index 4d2da54..348af6a 100644 --- a/lib/decmath.js +++ b/lib/decmath.js @@ -76,9 +76,7 @@ function drhtz(a, p) if (a.length == 1) return null; var ad = a[1].substr(p); a[1] = a[1].substr(0, p); - //console.log("ai: " + a[0] + ", af: " + a[1] + ", ad: " + ad); var as = a.join(""); - //console.log("as: " + as); if (as.charAt(0) != "-") { if (parseInt(ad, 10) > 5 * Math.pow(10, ad.length - 1)) { as = (parseInt(as) + 1).toString(); @@ -99,9 +97,7 @@ function drhfz(a, p) if (a.length == 1) return null; var ad = a[1].substr(p); a[1] = a[1].substr(0, p); - //console.log("ai: " + a[0] + ", af: " + a[1] + ", ad: " + ad); var as = a.join(""); - //console.log("as: " + as); if (as.charAt(0) != "-") { if (parseInt(ad, 10) >= 5 * Math.pow(10, ad.length - 1)) { as = (parseInt(as) + 1).toString(); |