Yasunori Miyamoto created JRUBY-6307:
----------------------------------------

             Summary: Powering operation of Integer sometimes gets a wrong 
calculation when 1.9 mode.
                 Key: JRUBY-6307
                 URL: https://jira.codehaus.org/browse/JRUBY-6307
             Project: JRuby
          Issue Type: Bug
          Components: Core Classes/Modules
    Affects Versions: JRuby 1.6.5
         Environment: jruby 1.6.5 (ruby-1.8.7-p330) (2011-10-25 9dcd388) (Java 
HotSpot(TM) 64-Bit Server VM 1.6.0_23) [Windows 7-amd64-java]
            Reporter: Yasunori Miyamoto
            Priority: Critical


ex)
jruby --1.9 -e "p 1539948653 ** 2"
-> 4561929911295338257 (wrong)

jruby --1.9 -e "p 1539948653 * 1539948653"
-> 2371441853876514409 (correct)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to