diff options
author | Joseph Myers <joseph@codesourcery.com> | 2023-06-19 19:40:34 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2023-06-19 19:40:34 +0000 |
commit | 2d88df541132f09454d947c498103aa7be76b652 (patch) | |
tree | 93e7cc592019cda92c8edb9a30ac4f1c2757386c /benchtests/modf-inputs | |
parent | 5f83b2674e42cd74257731b281f66d0442bf045f (diff) | |
download | glibc-2d88df541132f09454d947c498103aa7be76b652.zip glibc-2d88df541132f09454d947c498103aa7be76b652.tar.gz glibc-2d88df541132f09454d947c498103aa7be76b652.tar.bz2 |
C2x scanf %b support
ISO C2x defines scanf %b for input of binary integers (with an
optional 0b or 0B prefix). Implement such support, along with the
corresponding SCNb* macros in <inttypes.h>. Unlike the support for
binary integers with 0b or 0B prefix with scanf %i, this is supported
in all versions of scanf (independent of the standards mode used for
compilation), because there are no backwards compatibility concerns
(%b wasn't previously a supported format) the way there were for %i.
Tested for x86_64 and x86.
Diffstat (limited to 'benchtests/modf-inputs')
0 files changed, 0 insertions, 0 deletions