Changes for clojure.core/unchecked-multiply

kentros on Wed, 06 Aug 2014
;; the unchecked-multiply function silently overflows

user=> (* 1000000000000 10)
10000000000000
user=> (unchecked-multiply 1000000000000 10)
10000000000000

user=> (* 3037000500 3037000500)
ArithmeticException integer overflow  clojure.lang.Numbers.throwIntOverflow (Numbers.java:1424)
user=> (unchecked-multiply 3037000500 3037000500)
-9223372036709301616

shockbob on Sun, 21 Aug 2011
;; demonstrate the the unchecked-multiply function cannot calculate
;; 1 trillion * 10 without throwing an exception

user=> (def thous 1000)
#'user/thous
user=> (def trill (* thous thous thous thous))
#'user/trill
user=> (unchecked-multiply trill 10)
java.lang.IllegalArgumentException: No matching method found: unchecked_multiply
 (NO_SOURCE_FILE:0)
user=> (* trill 10)
10000000000000
user=>