[patch] use long math, if you want long results
-----------------------------------------------

                 Key: CASSANDRA-3364
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3364
             Project: Cassandra
          Issue Type: Bug
          Components: Core
            Reporter: Dave Brosius
            Priority: Trivial
         Attachments: use_long_math.diff

Code calculates long values, using integer intermediate input, which can cause 
truncation errors, safer just to use long input.

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

        

Reply via email to