[Issue 15885] float serialized to JSON loses precision
    via Digitalmars-d-bugs 
    digitalmars-d-bugs at puremagic.com
       
    Wed Apr  6 06:42:13 PDT 2016
    
    
  
https://issues.dlang.org/show_bug.cgi?id=15885
--- Comment #1 from Rory <rjmcguire at gmail.com> ---
Created attachment 1594
  --> https://issues.dlang.org/attachment.cgi?id=1594&action=edit
possible patch
this patch just makes sure we always output using %f. I'm guessing %g
technically has the bug because surely it shouldn't just remove part of the
number _by default_
--
    
    
More information about the Digitalmars-d-bugs
mailing list