]> git.ipfire.org Git - thirdparty/gcc.git/commit
libstdc++: Fix __floating_to_chars_precision for __float128
authorPatrick Palka <ppalka@redhat.com>
Wed, 24 Feb 2021 22:31:04 +0000 (17:31 -0500)
committerPatrick Palka <ppalka@redhat.com>
Wed, 24 Feb 2021 22:31:04 +0000 (17:31 -0500)
commitcb0184b6a28c0ec7114f90e0df32b4897abee49f
treef2251e57678944802266552d08e728da0d840032
parentf207eed69e2421695e240aaf47bf881c09cbdd8a
libstdc++: Fix __floating_to_chars_precision for __float128

The code path in __floating_to_chars_precision for handling long double
by going through printf now also handles __float128, so the condition
that guards this code path needs to get updated accordingly.

libstdc++-v3/ChangeLog:

* src/c++17/floating_to_chars.cc (__floating_to_chars_precision):
Relax the condition that guards the printf code path to accept
F128_type as well as long double.
libstdc++-v3/src/c++17/floating_to_chars.cc