-d:nimPreviewFloatRoundtrip
becomes the default. system.addFloat
and system.$
now can produce string representations of
floating point numbers that are minimal in size and possess round-trip and correct
rounding guarantees (via the
Dragonbox algorithm). Use -d:nimLegacySprintf
to emulate old behaviors.
The default
parameter of tables.getOrDefault
has been renamed to def
to
avoid conflicts with system.default
, so named argument usage for this
parameter like getOrDefault(..., default = ...)
will have to be changed.
std/math
The ^
symbol now supports floating-point as exponent in addition to the Natural type.