Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-1497

i64 type not supported in JavaScript. Low-order bits lost.

    XMLWordPrintableJSON

Details

    Description

      When using i64 values that are larger than 2^53 JavaScript does not keep the low-order bits.

      I have a function returning i64 expecting to use it as an id to a later function. Data is lost when a client calls this function in JavaScript because it doesn't end up with the full precision.

      Attachments

        Issue Links

          Activity

            People

              codesf Randy Abernethy
              kenmacd Kenny
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: