diff options
| author | bors <bors@rust-lang.org> | 2014-08-19 22:10:55 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-08-19 22:10:55 +0000 |
| commit | 0600a3befaad1fa564885a2d3cd3716ce8ecb304 (patch) | |
| tree | c897662a88c784e77f1829ffddd51a8f3946accc /src/rustllvm/RustWrapper.cpp | |
| parent | 51b901e16048c5adbe1f12428fe5a79603478f83 (diff) | |
| parent | 9b2328797472b710276ef9b627f9d18bd06fbe5a (diff) | |
| download | rust-0600a3befaad1fa564885a2d3cd3716ce8ecb304.tar.gz rust-0600a3befaad1fa564885a2d3cd3716ce8ecb304.zip | |
auto merge of #16201 : erickt/rust/json-ints, r=acrichto
This patch allows json to deserialize integers larger than 2^53 without losing precision. It does this by first keeping the integer portion of a number as a `i64`, and only casting it over to a `f64` if we have a decimal or exponent.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
