clojure:equal

Last commit made on 2010-06-21
Get this branch:
git clone -b equal https://git.launchpad.net/clojure

Branch merges

Branch information

Name:
equal
Repository:
lp:clojure

Recent commits

0df995d... by Rich Hickey <email address hidden>

auto-box loop arg when primitive local recur mismatch, print warning that this is happening when *warn-on-reflection* is true

25165a9... by Rich Hickey <email address hidden>

restore hard error on primitive local recur mismatch

310534b... by Rich Hickey <email address hidden>

Swap defaults, now non-promoting +, * etc is default. Use +', *' etc for arbitrary precision.

7652f7e... by Rich Hickey <email address hidden>

print recur mismatch warnings, for now

c79d287... by Rich Hickey <email address hidden>

Allow ' as constituent character
Bigints auto-reduce in all cases
Restore +, *, -, inc, dec as auto-promoting ops, will never return primitive integers, will auto-promote even when given primitives.
Add +', *', -', inc', dec', that do exactly what their counterparts do except when given integers of long or smaller, in which case they will not auto-promote but instead throw on overflow, and can return primitives.
Return primitive doubles on all ops involving primitive doubles
Box on long ops only after checking for overflow

8b84957... by Rich Hickey <email address hidden>

Change = to include type of boxed numbers (and collections thereof). Use == for inter-type numeric equivalence.

863decc... by Rich Hickey <email address hidden>

Util.equals unboxed support for long/double

4003a1c... by Rich Hickey <email address hidden>

tighten up narrowing conversion checks

e526bb8... by Rich Hickey <email address hidden>

tighten up numeric comparisons

a1a25da... by Rich Hickey <email address hidden>

return bigints from ratio ops only when bigint operand