https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110355

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ppalka at gcc dot gnu.org

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Oh this is actually std::to_chars not std::format

#include <charconv>

int main()
{
  char buf[5];
  std::to_chars(buf, buf+5, 1e-7);
  if (__builtin_memcmp(buf, "1e-7", 4))
    __builtin_abort();
}

Reply via email to