aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2019-09-02 12:31:25 +0100
committerJonathan Wakely <redi@gcc.gnu.org>2019-09-02 12:31:25 +0100
commit6e672b1801f9443916a8b5033d9e3bf88baa3f5d (patch)
tree6efe7614d3c1006adc3c0e663ed36224068dfdbc /gcc
parent000a5f8d23c04cc52f265519fccf37c81b5a0bad (diff)
downloadgcc-6e672b1801f9443916a8b5033d9e3bf88baa3f5d.zip
gcc-6e672b1801f9443916a8b5033d9e3bf88baa3f5d.tar.gz
gcc-6e672b1801f9443916a8b5033d9e3bf88baa3f5d.tar.bz2
Minor simplifications for std::to_chars implementation
* include/std/charconv (__detail::__to_chars_2_len): Use std::log2p1. (__detail::__to_chars_8_len): Remove. (__detail::__to_chars_8): Inline length calculation here. (__detail::__from_chars_binary): Use numeric_limits instead of CHAR_BIT. From-SVN: r275313
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions