<feed xmlns='http://www.w3.org/2005/Atom'>
<title>clojure/src/clj, branch equiv</title>
<subtitle>The Clojure programming language http://clojure.org</subtitle>
<id>https://git.amat.us/clojure/atom/src/clj?h=equiv</id>
<link rel='self' href='https://git.amat.us/clojure/atom/src/clj?h=equiv'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/clojure/'/>
<updated>2010-06-25T17:13:02Z</updated>
<entry>
<title>incorporate BigInt</title>
<updated>2010-06-25T17:13:02Z</updated>
<author>
<name>Rich Hickey</name>
<email>richhickey@gmail.com</email>
</author>
<published>2010-06-25T17:13:02Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/clojure/commit/?id=07f05862c2362f6b51e7c92ccd9476c45c9dff6e'/>
<id>urn:sha1:07f05862c2362f6b51e7c92ccd9476c45c9dff6e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>box longs-and-smaller as longs</title>
<updated>2010-06-24T00:00:10Z</updated>
<author>
<name>Rich Hickey</name>
<email>richhickey@gmail.com</email>
</author>
<published>2010-06-24T00:00:10Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/clojure/commit/?id=845c63e9317826a5564ef766550562b3fbe68181'/>
<id>urn:sha1:845c63e9317826a5564ef766550562b3fbe68181</id>
<content type='text'>
</content>
</entry>
<entry>
<title>equiv-based =, equiv overloading for Util</title>
<updated>2010-06-23T17:28:16Z</updated>
<author>
<name>Rich Hickey</name>
<email>richhickey@gmail.com</email>
</author>
<published>2010-06-23T17:28:16Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/clojure/commit/?id=df0e4b677bdb563abdc2aa03cb8e6376eceaf8d5'/>
<id>urn:sha1:df0e4b677bdb563abdc2aa03cb8e6376eceaf8d5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>restore hard error on primitive local recur mismatch</title>
<updated>2010-06-19T13:59:48Z</updated>
<author>
<name>Rich Hickey</name>
<email>richhickey@gmail.com</email>
</author>
<published>2010-06-19T13:59:48Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/clojure/commit/?id=25165a9ccd1001fa7c4725a8219c4108803ae834'/>
<id>urn:sha1:25165a9ccd1001fa7c4725a8219c4108803ae834</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Swap defaults, now non-promoting +, * etc is default. Use +', *' etc for arbitrary precision.</title>
<updated>2010-06-19T01:06:06Z</updated>
<author>
<name>Rich Hickey</name>
<email>richhickey@gmail.com</email>
</author>
<published>2010-06-19T01:06:06Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/clojure/commit/?id=310534b8e7e7f28c75bb122b4bf1bee320cdae67'/>
<id>urn:sha1:310534b8e7e7f28c75bb122b4bf1bee320cdae67</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Allow ' as constituent character</title>
<updated>2010-06-18T20:20:32Z</updated>
<author>
<name>Rich Hickey</name>
<email>richhickey@gmail.com</email>
</author>
<published>2010-06-18T20:20:32Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/clojure/commit/?id=c79d28775e06b196ae1426f6c1446d00b621d2e1'/>
<id>urn:sha1:c79d28775e06b196ae1426f6c1446d00b621d2e1</id>
<content type='text'>
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
</content>
</entry>
<entry>
<title>Change = to include type of boxed numbers (and collections thereof). Use == for inter-type numeric equivalence.</title>
<updated>2010-06-17T17:12:59Z</updated>
<author>
<name>Rich Hickey</name>
<email>richhickey@gmail.com</email>
</author>
<published>2010-06-17T17:12:59Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/clojure/commit/?id=8b849574ca1186c65124b43da8de6be6bace3f96'/>
<id>urn:sha1:8b849574ca1186c65124b43da8de6be6bace3f96</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tighten up numeric comparisons</title>
<updated>2010-06-17T14:01:10Z</updated>
<author>
<name>Rich Hickey</name>
<email>richhickey@gmail.com</email>
</author>
<published>2010-06-17T14:01:10Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/clojure/commit/?id=e526bb845d76dd920df335dedd796b8f44ab4b4e'/>
<id>urn:sha1:e526bb845d76dd920df335dedd796b8f44ab4b4e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>remove unchecked-inc from amap, areduce</title>
<updated>2010-06-16T12:09:54Z</updated>
<author>
<name>Rich Hickey</name>
<email>richhickey@gmail.com</email>
</author>
<published>2010-06-16T12:09:54Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/clojure/commit/?id=26e50c31e4fd822df1c4a385b5f57f09175ebb52'/>
<id>urn:sha1:26e50c31e4fd822df1c4a385b5f57f09175ebb52</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Unify numeric semantics around longs, with throw on overflow. Allow numeric 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:</title>
<updated>2010-06-16T03:13:05Z</updated>
<author>
<name>Rich Hickey</name>
<email>richhickey@gmail.com</email>
</author>
<published>2010-06-16T03:13:05Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/clojure/commit/?id=6ab3e4cd672092823a04c944210a23c29142785d'/>
<id>urn:sha1:6ab3e4cd672092823a04c944210a23c29142785d</id>
<content type='text'>
http://gist.github.com/440102
</content>
</entry>
</feed>
