about summary refs log tree commit diff
path: root/src/rustllvm
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-08-19 22:10:55 +0000
committerbors <bors@rust-lang.org>2014-08-19 22:10:55 +0000
commit0600a3befaad1fa564885a2d3cd3716ce8ecb304 (patch)
treec897662a88c784e77f1829ffddd51a8f3946accc /src/rustllvm
parent51b901e16048c5adbe1f12428fe5a79603478f83 (diff)
parent9b2328797472b710276ef9b627f9d18bd06fbe5a (diff)
downloadrust-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')
0 files changed, 0 insertions, 0 deletions