Now I have a prototype of long double to shortest decimal converter that doesn’t use any tables but should be reasonably fast.
Падабаецца 0
Рэпосты 0
Now I have a prototype of long double to shortest decimal converter that doesn’t use any tables but should be reasonably fast.
and maybe even correct (need to adapt the proof)
constexpr?
@PeterSommerlad it could be
not terrible for a first attempt
and the timing is basically flat (doesn't depend much on exponent or the number of digits)