aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/clojure/contrib/math.clj2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/clojure/contrib/math.clj b/src/clojure/contrib/math.clj
index f7176a59..d7937745 100644
--- a/src/clojure/contrib/math.clj
+++ b/src/clojure/contrib/math.clj
@@ -136,7 +136,7 @@ round always returns an integer. Rounds up for values exactly in between two in
(defmethod integer-length java.lang.Integer [n]
(count (Integer/toBinaryString n)))
(defmethod integer-length java.lang.Long [n]
- (count (Integer/toBinaryString n)))
+ (count (Long/toBinaryString n)))
(defmethod integer-length java.math.BigInteger [n]
(count (. n toString 2)))