Add option to have more control over the precision with which reals are placed in JSON with dump calls#676
Add option to have more control over the precision with which reals are placed in JSON with dump calls#676wqboth wants to merge 1 commit intoakheron:masterfrom
Conversation
…e placed in JSON with dump calls
|
I'm leaning to not including this support. Controlling the precision of real numbers was originally introduced to work around the non-optimality of encoding (which will be fixed by #680), and I would rather remove the whole support than to extend it any further. Also, it should be possible to control the precision to some extent by your own code. You could do something like |
|
This would greatly dissapoint me. |
|
I looked again at your suggestion of implementing dtoa() I can see,now what you mean that this could solve the problem. This might then almost completely solve the issues i encounter. |
Is this an acceptable approach for solving/getting control over the way floats/reals are formatted?
We would really appreciate if this patch could be admitted to the master.