Skip to content

Commit a3cd25f

Browse files
committed
Exclude clojure.core/abs for future proofing re CLJ-2673
1 parent e8387df commit a3cd25f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/clojure/clojure/math/numeric_tower.clj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,8 @@ exact-integer-sqrt - Implements a math function from the R6RS Scheme
6060
returns [s r] where k = s^2+r and k < (s+1)^2. In other words, it
6161
returns the floor of the square root and the \"remainder\".
6262
"}
63-
clojure.math.numeric-tower)
63+
clojure.math.numeric-tower
64+
(:refer-clojure :exclude [abs]))
6465

6566
;; so this code works with both 1.2.x and 1.3.0:
6667
(def ^{:private true} minus (first [-' -]))

0 commit comments

Comments
 (0)