[ruby/json] Fix: generate_json_float to reserve enough memory for large negative floats.
Fix: https://github.com/ruby/json/issues/807
Since https://github.com/ruby/json/pull/800, fpconv_dtoa can actually generate up to 28 chars.
fpconv_dtoa
https://github.com/ruby/json/commit/d73ae93d3c
[ruby/json] Fix: generate_json_float to reserve enough memory for large negative floats.
Fix: https://github.com/ruby/json/issues/807
Since https://github.com/ruby/json/pull/800,
fpconv_dtoa
can actuallygenerate up to 28 chars.
https://github.com/ruby/json/commit/d73ae93d3c