From 029caa8ea2d2126f2d64ddfe99e10068099990f5 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Sun, 9 Apr 2023 07:00:50 -0700 Subject: [PATCH] Update changelog --- ChangeLog.rst | 49 +++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 45 insertions(+), 4 deletions(-) diff --git a/ChangeLog.rst b/ChangeLog.rst index e5a9fc5e..4c4ff1fc 100644 --- a/ChangeLog.rst +++ b/ChangeLog.rst @@ -1,6 +1,27 @@ 10.0.0 - TBD ------------ +* Replaced Grisu with a new floating-point formatting algorithm for given + precision (`#3262 `_, + `#2750 `_, + `#3269 `_). + The new algorithm is based on Dragonbox already used for the + shortest representation and gives substantial performance improvement: + + .. image:: https://user-images.githubusercontent.com/33922675/ + 211956670-84891a09-6867-47d9-82fc-3230da7abe0f.png + + * Red: new algorithm + * Green: new algorithm with ``FMT_USE_FULL_CACHE_DRAGONBOX`` defined to 1 + * Blue: old algorithm + + Thanks `@jk-jeon (Junekey Jeon) `_. + +* Fixed alignment of floating-point numbers with localization + (`#3263 `_, + `#3272 `_). + Thanks `@ShawnZhong (Shawn Zhong) `_. + * Made ``format_as`` work with any user-defined type and not just enums. For example (`godbolt `__): @@ -91,6 +112,11 @@ Thanks `@ShawnZhong (Shawn Zhong) `_. +* Fixed formatting of noncopyable ranges + (`#3286 `_, + `#3290 `_). + Thanks `@BRevzin (Barry Revzin) `_. + * Fixed formatting of time points before the epoch (`#3117 `_, `#3261 `_). @@ -136,13 +162,20 @@ `#3169 `_). * Improved build configuration - (`#3189 `_). + (`#3189 `_, + `#3299 `_, + `#3302 `_, + `#3317 `_, + `#3328 `_). + Thanks `@phprus (Vladislav Shchapov) `_, + `@joycebrum (Joyce) `_. * Fixed a regression in handling empty format specifiers after a colon (`{:}`) (`#3086 `_). + Thanks `@oxidase (Michael Krasnyk) `_. * Worked around a broken implementation of ``std::is_constant_evaluated`` in - some versions of libstdc++ + some versions of libstdc++ on clang (`#3247 `_, `#3281 `_). Thanks `@phprus (Vladislav Shchapov) `_. @@ -165,10 +198,18 @@ `#3224 `_, `#3226 `_, `#3228 `_, - `#3229 `_). + `#3229 `_, + `#3274 `_, + `#3287 `_, + `#3288 `_, + `#3292 `_, + `#3295 `_, + `#3298 `_). Thanks `@phprus (Vladislav Shchapov) `_, `@sergiud (Sergiu Deitsch) `_, - `@czudziakm (Maksymilian Czudziak) `_. + `@czudziakm (Maksymilian Czudziak) `_, + `@chronoxor (Ivan Shynkarenka) `_, + `@ShawnZhong (Shawn Zhong) `_. 9.1.0 - 2022-08-27 ------------------