You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Roger Meier (Commented) (JIRA)" <ji...@apache.org> on 2012/01/21 12:20:39 UTC

[jira] [Commented] (THRIFT-1497) i64 type not supported in JavaScript. Low-order bits lost.

    [ https://issues.apache.org/jira/browse/THRIFT-1497?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13190372#comment-13190372 ] 

Roger Meier commented on THRIFT-1497:
-------------------------------------

Wade, did you integrate your changes with the JavaScript Library?
                
> i64 type not supported in JavaScript. Low-order bits lost.
> ----------------------------------------------------------
>
>                 Key: THRIFT-1497
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1497
>             Project: Thrift
>          Issue Type: Bug
>          Components: JavaScript - Library
>            Reporter: Kenny
>              Labels: javascript, thrift
>
> 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.

--
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