public inbox for libstdc++@gcc.gnu.org
 help / color / mirror / Atom feed
* Question about charconv to_chars's general
@ 2022-11-05 18:03 sotrdg sotrdg
  0 siblings, 0 replies; only message in thread
From: sotrdg sotrdg @ 2022-11-05 18:03 UTC (permalink / raw)
  To: libstdc++

[-- Attachment #1: Type: text/plain, Size: 295 bytes --]

Why std::to_chars gives the result of 100000.0 being 100000 instead of 1e+05? 1e+05 (5 characters) provides a shorter output compared to 100000 (6 characters) which means 100000 is not the shortest representation.

Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-11-05 18:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-05 18:03 Question about charconv to_chars's general sotrdg sotrdg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).