diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2023-07-15 20:41:28 +0100 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2023-07-19 11:03:31 +0100 |
commit | f0b0c21152b337bc9a8ef3a72a15c8dcdff1d847 (patch) | |
tree | c5b41f6b3bad4b4826744777ec43466da74f879b /gcc/wide-int.cc | |
parent | 58303d42809f0e01f23262f592d37943f7703f71 (diff) | |
download | gcc-f0b0c21152b337bc9a8ef3a72a15c8dcdff1d847.zip gcc-f0b0c21152b337bc9a8ef3a72a15c8dcdff1d847.tar.gz gcc-f0b0c21152b337bc9a8ef3a72a15c8dcdff1d847.tar.bz2 |
libstdc++: Define std::stof fallback in terms of std::stod [PR110653]
For targets without std::strtof we can define std::stof by calling
std::stod and then checking if the result is out of range of float.
libstdc++-v3/ChangeLog:
PR libstdc++/110653
* include/bits/basic_string.h [!_GLIBCXX_HAVE_STRTOF] (stof):
Define in terms of std::stod.
Diffstat (limited to 'gcc/wide-int.cc')
0 files changed, 0 insertions, 0 deletions