Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-05-13 | inline min/max #784 - not contagious - do math inline for #{prim prim}, ↵ | Stuart Halloway | |
#{obj double} - delegate to gt/lt for #{obj long} #{obj obj} Signed-off-by: Stuart Halloway <stu@thinkrelevance.com> | |||
2011-05-06 | Remove bit-ops' support for boxed numbers. | Alexander Taggart | |
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com> | |||
2011-04-29 | floats box as Floats | Rich Hickey | |
2011-03-21 | get rid of checked exceptions | Rich Hickey | |
2011-02-25 | #380: back out perf-killing andNot overloads. Not needed, since andNot is ↵ | Aaron Bedra and Stuart Halloway | |
static, not inline. Signed-off-by: Stuart Halloway <stu@Stuart-Halloways-MacBook-Air.local> | |||
2011-02-25 | add missing overloads for numerics to prevent major performance regression ↵ | David Powell | |
due to clojure.core functions making slow reflective calls Signed-off-by: Stuart Halloway <stu@Stuart-Halloways-MacBook-Air.local> | |||
2011-01-05 | Handle edge case in arbitrary-precision substraction. refs #690 | Colin Jones | |
Signed-off-by: Stuart Halloway <stu@Orolo.local> | |||
2010-11-27 | Normalize uncheckeds, quotient, remainder. Inline quot and rem. ↵ | Rich Hickey | |
unchecked-foo-long are now just unchecked-foo. | |||
2010-06-25 | incorporate BigIntequiv | Rich Hickey | |
2010-06-23 | box longs-and-smaller as longs | Rich Hickey | |
2010-06-23 | add hashCode/equals to BigInt, refine number =, new method equal checks for ↵ | Rich Hickey | |
matching category before equivalence, move array and hashMap to equiv for keys | |||
2010-06-18 | Allow ' as constituent character | Rich Hickey | |
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 | |||
2010-06-16 | return bigints from ratio ops only when bigint operand | Rich Hickey | |
2010-06-16 | bigdecs trump ratios when combined | Rich Hickey | |
2010-06-16 | return doubles from quotient/remainder on doubles | Rich Hickey | |
2010-06-15 | Unify numeric semantics around longs, with throw on overflow. Allow numeric ↵ | Rich Hickey | |
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 | |||
2010-06-13 | incomplete work in progress | Rich Hickey | |
2010-06-12 | incomplete work in progress | Rich Hickey | |
2010-05-24 | eliminate reflection from bit-shift slow path #355 | Stuart Halloway | |
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com> | |||
2010-04-30 | make == fail on non-numbers | Rich Hickey | |
2010-04-16 | division by negative ratio fix per Tristan King | Stuart Halloway | |
2010-03-11 | made inc/dec of max/min Integer value return Long | Rich Hickey | |
2010-02-10 | inlined bit shifts, added definterface (undocumented for now) | Rich Hickey | |
2009-11-24 | #209 Unifying array support for primatives | unknown | |
Signed-off-by: Rich Hickey <richhickey@gmail.com> | |||
2009-09-07 | fixed NPE when creating an empty array of ints, longs, floats or doubles, ↵ | Frantisek Sodomka | |
fixes #146 Signed-off-by: Chouser <chouser@n01se.net> | |||
2009-05-28 | added reduce to quotient and remainder | Rich Hickey | |
2009-04-10 | Strongly typed minus throws too often [issue 101], patch from olov.lassus | Rich Hickey | |
2009-02-17 | merged lazy branch -r1236:1286 | Rich Hickey | |
2009-02-09 | added #_ ignore form reader macro | Rich Hickey | |
added IDeref above IRef, made delays and futures implement IDeref renamed/moved IRef.get() -> IDeref.deref() deref/@ maps to IDeref/deref added future-calls and future implement pmap on future implement pcalls on pmap | |||
2009-01-14 | fix (- Integer/MAX_VALUE Integer/MIN_VALUE), patch from Achim Passen | Rich Hickey | |
2009-01-08 | fixed Integer/LongOps.Negate overflow when MIN_VALUE | Rich Hickey | |
2008-12-29 | Make sure all integer ops return smallest representation, patch from ↵ | Rich Hickey | |
Christophe Grand fixed inc/dec long for max/min values | |||
2008-12-14 | Moved to Eclipse Public License - see epl-v10.html or | Rich Hickey | |
http://opensource.org/licenses/eclipse-1.0.php | |||
2008-12-08 | added unchecked-remainder | Rich Hickey | |
2008-10-04 | added inlining for integer bitops | Rich Hickey | |
2008-07-22 | fixed truncation in double/long/float_array | Rich Hickey | |
2008-06-02 | added overload resolution support | Rich Hickey | |
2008-06-02 | named int and long divide unchecked-divide | Rich Hickey | |
2008-06-01 | new primitives support | Rich Hickey | |
2008-06-01 | interim checkin - DO NOT USE! | Rich Hickey | |
2008-05-30 | added aset!, aclone | Rich Hickey | |
2008-05-28 | primitive vector support | Rich Hickey | |
2008-05-27 | primitive vectors, in progress | Rich Hickey | |
2008-05-23 | added inlined math primitives in int/long/float/double namespaces | Rich Hickey | |
2008-05-21 | interim checkin | Rich Hickey | |
2008-04-14 | arbitrary precision bitops | Rich Hickey | |
2008-04-11 | bitops in Numbers, from Stephen C. Gilardi | Rich Hickey | |
2008-04-08 | added with-precision patch from Christophe Grand | Rich Hickey | |
2008-04-08 | added rationalize, fixed toRatio, added BigInteger and BigDecimal to ↵ | Rich Hickey | |
auto-imports | |||
2008-04-07 | new numbers - all Num derivees should be not-in-use, all numbers are Java's ↵ | Rich Hickey | |
boxed Numbers, + Ratio, added support for BigDecimal |