diff options
| author | Pierre Roux | 2020-03-17 18:34:48 +0100 |
|---|---|---|
| committer | Pierre Roux | 2020-03-25 12:42:54 +0100 |
| commit | b2d965f87937e503c78ce78cc9cb34bbc204c016 (patch) | |
| tree | 0c0b6ac85e1fba99544e3fffd7672b530a335efd /plugins/syntax/string_notation.mli | |
| parent | 8b99dfe028faf76c23811eaf9cee8df88d231f87 (diff) | |
Nicer printing for decimal constants in Q
Print 1.5 as 1.5 and not 15e-1.
We choose the shortest representation
with tie break to the dot notation (0.01 rather than 1e-3).
The printing remains injective, i.e. 12/10 is not mixed with 120/100,
the first being printed as 1.2 and the last as 1.20.
Diffstat (limited to 'plugins/syntax/string_notation.mli')
0 files changed, 0 insertions, 0 deletions
