public inbox for libstdc++@gcc.gnu.org
 help / color / mirror / Atom feed
From: sotrdg sotrdg <euloanty@live.com>
To: libstdc++ <libstdc++@gcc.gnu.org>
Subject: Question about charconv to_chars's general
Date: Sat, 5 Nov 2022 18:03:27 +0000	[thread overview]
Message-ID: <CY8PR11MB71367CF3F337ED58D7582E4AB23A9@CY8PR11MB7136.namprd11.prod.outlook.com> (raw)

[-- 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


                 reply	other threads:[~2022-11-05 18:03 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CY8PR11MB71367CF3F337ED58D7582E4AB23A9@CY8PR11MB7136.namprd11.prod.outlook.com \
    --to=euloanty@live.com \
    --cc=libstdc++@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).