<!-- 
RSS generated by JIRA (4.4#649-r158309) at Mon May 20 20:32:50 CDT 2013

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary add field=key&field=summary to the URL of your request.
For example:
http://dev.clojure.org/jira/si/jira.issueviews:issue-xml/CLJ-455/CLJ-455.xml?field=key&field=summary
-->
<rss version="0.92" >
<channel>
    <title>Clojure JIRA</title>
    <link>http://dev.clojure.org/jira</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>4.4</version>
        <build-number>649</build-number>
        <build-date>25-07-2011</build-date>
    </build-info>

<item>
            <title>[CLJ-455] Calculating large numbers results in java.math.BigIntegerArithmeticException</title>
                <link>http://dev.clojure.org/jira/browse/CLJ-455</link>
                <project id="10010" key="CLJ">Clojure</project>
                        <description>&lt;p&gt;(class (* 1000 1000 1000 1000 1000 1000 1000))&lt;br/&gt;
1.1 returns : java.math.BigInteger&lt;br/&gt;
1.3.0-alpha returns : java.math.BigIntegerArithmeticException integer overflow  clojure.lang.Numbers.throwIntOverflow (Numbers.java:1575)&lt;/p&gt;</description>
                <environment></environment>
            <key id="13852">CLJ-455</key>
            <summary>Calculating large numbers results in java.math.BigIntegerArithmeticException</summary>
                <type id="1" iconUrl="http://dev.clojure.org/jira/images/icons/bug.gif">Defect</type>
                                        <status id="6" iconUrl="http://dev.clojure.org/jira/images/icons/status_closed.gif">Closed</status>
                    <resolution id="2">Declined</resolution>
                                <assignee username="-1">Unassigned</assignee>
                                <reporter username="-1">None</reporter>
                        <labels>
                    </labels>
                <created>Fri, 8 Oct 2010 21:36:00 -0500</created>
                <updated>Sat, 23 Oct 2010 22:52:00 -0500</updated>
                    <resolved>Sat, 23 Oct 2010 22:52:00 -0500</resolved>
                                            <fixVersion>Backlog</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="24298" author="importer" created="Sat, 23 Oct 2010 22:52:00 -0500"  >&lt;p&gt;Converted from &lt;a href=&quot;http://www.assembla.com/spaces/clojure/tickets/455&quot;&gt;http://www.assembla.com/spaces/clojure/tickets/455&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="24299" author="importer" created="Sat, 23 Oct 2010 22:52:00 -0500"  >&lt;p&gt;ataggart said: This is correct behavior with respect to 1.3.0 (yes, it&apos;s a breaking change). &lt;/p&gt;

&lt;p&gt;If one wants to allow numbers larger than what fits in a long to flow out of math ops, one needs to explicitly start with a BigInt:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;user=&amp;gt; (type 1N)
clojure.lang.BigInt
user=&amp;gt; (class (* 1000N 1000N 1000N 1000N 1000N 1000N 1000N))
clojure.lang.BigInt&amp;lt;/code&amp;gt;&amp;lt;/pre&amp;gt;
If one wants to allow autopromotion, one can use the &lt;span class=&quot;code-keyword&quot;&gt;new&lt;/span&gt; &lt;span class=&quot;code-quote&quot;&gt;&quot;tick&quot;&lt;/span&gt; math ops:
&amp;lt;pre&amp;gt;&amp;lt;code&amp;gt;user=&amp;gt; (class (*&apos; 1000 1000 1000 1000 1000 1000 1000))
clojure.lang.BigInt&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;NB: Rich suspects almost no one should need these ops, and if you think you do, you&apos;re probably wrong.&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                            <customfield id="customfield_10010" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Global Rank</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                                                                            </customfields>
    </item>
</channel>
</rss>