Uploaded image for project: 'Apache Cassandra'
  1. Apache Cassandra
  2. CASSANDRA-3364

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 1.0.1
    • None
    • None
    • Low

    Description

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

      Attachments

        1. use_long_math.diff
          2 kB
          Dave Brosius

        Activity

          People

            Unassigned Unassigned
            dbrosius@apache.org Dave Brosius
            Brandon Williams
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: