[libc++][format] Fix floating point formatting.
authorMark de Wever <koraq@xs4all.nl>
Sat, 5 Nov 2022 17:33:25 +0000 (18:33 +0100)
committerMark de Wever <koraq@xs4all.nl>
Tue, 7 Mar 2023 17:58:21 +0000 (18:58 +0100)
commit5eaba4a9b1899ce16785b05854bddd39d54b0266
treecf9441d3ebb1c41fb0fe1cb135e91e8c013a5dbc
parentd05093a7cf1fb8353f374d7e91f7102e02b234c8
[libc++][format] Fix floating point formatting.

Fixes llvm.org/PR58714 reported by @jwakely and a similar issue
reported privately by @vitaut.

Reviewed By: ldionne, #libc

Differential Revision: https://reviews.llvm.org/D145306
libcxx/include/__format/formatter_floating_point.h
libcxx/test/std/utilities/format/format.functions/format_tests.h