mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-20 18:27:34 +00:00
committed by
Wouter van Oortmerssen
parent
6561c7a31f
commit
ebcfbbadf0
@@ -115,7 +115,7 @@ flatbuffers.Long.create = function(low, high) {
|
||||
* @returns {number}
|
||||
*/
|
||||
flatbuffers.Long.prototype.toFloat64 = function() {
|
||||
return this.low + this.high * 0x100000000;
|
||||
return (this.low >>> 0) + this.high * 0x100000000;
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user