Bug#1059340: libstdc++6:riscv64: stream output for NaN is optimization-dependent
Control: user debian-ri...@lists.debian.org Control: usertag 1059340 + riscv64 Just to be clear, I've only observed this behavior on riscv64.
Bug#1059340: libstdc++6:riscv64: stream output for NaN is optimization-dependent
Package: libstdc++6 Version: 13.2.0-9 Streaming a negative NaN float produces "-nan" with g++ -O0 and "nan" with g++ -O1 or above: $ cat >mwe.cc < // Copyright 2023 Google LLC > // SPDX-License-Identifier: Apache-2.0 > > #include > #include >