Skip to content
Commits on Jul 31, 2010
  1. @stuarthalloway

    temporary workaround for #388

    stuarthalloway committed with Jun 23, 2010
     - note need for full package name (in some places, didn't track down)
     - note need for redundant hinting (interface hinting flows sometimes?)
Commits on Jun 25, 2010
  1. @richhickey

    incorporate BigInt

    richhickey committed Jun 25, 2010
Commits on Jun 24, 2010
  1. @richhickey
Commits on Jun 23, 2010
  1. @richhickey

    add hashCode/equals to BigInt, refine number =, new method equal chec…

    richhickey committed Jun 23, 2010
    …ks for matching category before equivalence, move array and hashMap to equiv for keys
  2. @Chouser @richhickey

    Initial version of BigInt -- note overflow caps/rolls over inconsiste…

    Chouser committed with richhickey Jun 23, 2010
    …ntly
    
    Signed-off-by: Rich Hickey <richhickey@gmail.com>
  3. @richhickey
Commits on Jun 21, 2010
  1. @richhickey

    auto-box loop arg when primitive local recur mismatch, print warning …

    richhickey committed Jun 21, 2010
    …that this is happening when *warn-on-reflection* is true
Commits on Jun 19, 2010
  1. @richhickey
  2. @richhickey

    Swap defaults, now non-promoting +, * etc is default. Use +', *' etc …

    richhickey committed Jun 18, 2010
    …for arbitrary precision.
  3. @richhickey
Commits on Jun 18, 2010
  1. @richhickey

    Allow ' as constituent character

    richhickey committed Jun 18, 2010
    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
Commits on Jun 17, 2010
  1. @richhickey

    Change = to include type of boxed numbers (and collections thereof). …

    richhickey committed Jun 17, 2010
    …Use == for inter-type numeric equivalence.
  2. @richhickey
  3. @richhickey
  4. @richhickey
Commits on Jun 16, 2010
  1. @richhickey
  2. @richhickey
  3. @richhickey
  4. @richhickey
  5. @richhickey
  6. @richhickey
  7. @richhickey

    Unify numeric semantics around longs, with throw on overflow. Allow n…

    richhickey committed Jun 15, 2010
    …umeric literals to be primitive initializers. Canonicalize boxing of integers, if it fits in int, is Integer, else Long, thus primitive coercions can't be used to get particular boxed types, use Long/valueOf etc. Ask for BigIntegers if you want arbitrary precision, new literal number format - append 'N' for BigInteger. BigIntegers do not reduce automatically, are contagious. New particular names for unchecked ops - unchecked-xxx-int or unchecked-xxx-long. You should need far fewer hints for primitive perf, and avoid int casts and any casting of numeric literals, see:
    
    http://gist.github.com/440102
Commits on Jun 13, 2010
  1. @richhickey

    incomplete work in progress

    richhickey committed Jun 13, 2010
Commits on Jun 12, 2010
  1. @richhickey

    incomplete work in progress

    richhickey committed Jun 12, 2010
Commits on Jun 11, 2010
  1. @richhickey
Commits on Jun 10, 2010
  1. @richhickey
  2. @stuarthalloway @richhickey

    #377 test now reports file/line for failures in repl or Ant build

    stuarthalloway committed with richhickey Jun 8, 2010
    Signed-off-by: Rich Hickey <richhickey@gmail.com>
  3. @richhickey
  4. @richhickey
  5. @richhickey
  6. @richhickey
  7. @richhickey
  8. @richhickey

    detect constant maps, emit as constants

    richhickey committed Jun 9, 2010
    break down constant inits into separate methods, call from init
    move core.clj to statics
Commits on Jun 9, 2010
  1. @richhickey

    moved statics to using arglist metadata, support recursion and variad…

    richhickey committed Jun 9, 2010
    …ics, limit primitives to long and double
Something went wrong with that request. Please try again.