220 25961 <27d1a744-9ace-40f8-85af-f06375d11175@isocpp.org> article
Path: news.gmane.org!not-for-mail
From: u97234@gmail.com
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Deprecating to_string() for floating point types
 and introducing a replacement
Date: Fri, 20 May 2016 06:34:23 -0700 (PDT)
Lines: 69
Approved: news@gmane.org
Message-ID: <27d1a744-9ace-40f8-85af-f06375d11175@isocpp.org>
References: <7c6c597d-6d77-4675-8560-295c7feacc04@isocpp.org>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: multipart/mixed; 
	boundary="----=_Part_2026_1391500960.1463751263283"
X-Trace: ger.gmane.org 1463751301 18214 80.91.229.3 (20 May 2016 13:35:01 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Fri, 20 May 2016 13:35:01 +0000 (UTC)
Cc: u97234@gmail.com
To: ISO C++ Standard - Future Proposals <std-proposals@isocpp.org>
Original-X-From: std-proposals+bncBCE2PZXXWUFBBX5E7S4QKGQE4EHDKOA@isocpp.org Fri May 20 15:35:00 2016
Return-path: <std-proposals+bncBCE2PZXXWUFBBX5E7S4QKGQE4EHDKOA@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-qg0-f72.google.com ([209.85.192.72])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBCE2PZXXWUFBBX5E7S4QKGQE4EHDKOA@isocpp.org>)
	id 1b3kZS-0004GL-Gm
	for gclcip-std-proposals@m.gmane.org; Fri, 20 May 2016 15:34:30 +0200
Original-Received: by mail-qg0-f72.google.com with SMTP id e35sf171598865qge.0
        for <gclcip-std-proposals@m.gmane.org>; Fri, 20 May 2016 06:34:25 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=isocpp-org.20150623.gappssmtp.com; s=20150623;
        h=date:from:to:cc:message-id:in-reply-to:references:subject
         :mime-version:x-original-sender:reply-to:precedence:mailing-list
         :list-id:x-spam-checked-in-group:list-post:list-help:list-archive
         :list-subscribe:list-unsubscribe;
        bh=VUX5mTyjDh+XtolxchpVhQchHAa+m++sdimaSpDeqLY=;
        b=BtMw9MgMUM7p+L9ZWOLXO17vsANHKloaPD0ZPL4UbeiyYlGF4xHV9P199PLjiEnLga
         rj4S+SuD+jLvRDP6RChax13FGsK9uouIoTEVHAskcO9JaBK6oUpa0RE+VC5RoTUb+U47
         IFUDVBv9YPVQtnnJZvUdlgLD9YqNv2Cp7cYGTD9YPgGN0sZajjNDGWR9WQi/Ypy5mOjZ
         A4Q3dzbz4DwEwAyL5bdR8FXPjBO2a6OaH14gkCUejFWVYDuCdB38WNVl/4xvT60hIiIT
         +f5Ouc4LBHBBthyLupTlcBKaxqPFJMkIn7kQxyXhROVBABFB0jOTmN9YcQ6RLBF4MRex
         dzbQ==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=date:from:to:cc:message-id:in-reply-to:references:subject
         :mime-version:x-original-sender:reply-to:precedence:mailing-list
         :list-id:x-spam-checked-in-group:list-post:list-help:list-archive
         :list-subscribe:list-unsubscribe;
        bh=VUX5mTyjDh+XtolxchpVhQchHAa+m++sdimaSpDeqLY=;
        b=FWhA4wgHkrfo9Sra/Lpt4wmIdUXdmhmgTrCN/C6BX1lpJUMlf0/rX3VpnhnuJnF4Le
         XWC7J11eE0dn8uekQBIEcD7TpXrVw+GxU/cYDWM01QKXb+JVDZbegSMs0s1WIUajHKox
         HzjmYCEGPTuOQHgPcdUOmSF+stV8mFtaAknWHyGqDIDeTJFrAF73IGLyQo6AkB32B9Ay
         5JGkIl+N8GSeUU2dtsiyHisFjL+3/B+yi5PREyVDZ0okwIZD5tuTlyG1J9xY2mn8s0Vg
         ItyNRUD6W8BK++rKyHJRAzqWo5oF2ltGFctgkY+WpYksI7n4lyaeK9TYdVJIqlyy1ZGt
         wE8g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:date:from:to:cc:message-id:in-reply-to
         :references:subject:mime-version:x-original-sender:reply-to
         :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post
         :list-help:list-archive:list-subscribe:list-unsubscribe;
        bh=VUX5mTyjDh+XtolxchpVhQchHAa+m++sdimaSpDeqLY=;
        b=U3Egjz4ix54GEO53gsm0Wzq8r9qKb7VHtvmFr+++ICIljiIscp/OMKLMYg0sngT3rz
         Fmkf98mO3WR4zrSF12gDuGDHJ9zq8kwF/4XpnyzCSGIzB84b6LW+j4bW08KamRTHoA5g
         6B9kCpKuAcsWf4bjmTq4KEfolnTcYjtXl7TemapVHyXNi45+SNRs0pB8Snn+tQnmE73z
         8bGib21R3AvTaLa9GR0ETqzK1wvYf1dynqqHOWXFa2l5QnV9G6TK9NNsjE2w5UfA1KV8
         10Y33lOhIIqndx6TWHcMrhkOJTbdVnU6Ecw4JEG+RKE70IY6ys8OjNxUzMSAMiKv6z4z
         r0XA==
X-Gm-Message-State: AOPr4FXoaLZQYyl1VU9jk71W8mFbZBpfrtosfH3zNNVCLJvEuOiptf3/V84yDuqMzf8lHQ==
X-Received: by 10.31.169.140 with SMTP id s134mr1930849vke.7.1463751264598;
        Fri, 20 May 2016 06:34:24 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.140.32.163 with SMTP id h32ls243033qgh.22.gmail; Fri, 20 May
 2016 06:34:23 -0700 (PDT)
X-Received: by 10.140.94.35 with SMTP id f32mr66964qge.10.1463751263636;
        Fri, 20 May 2016 06:34:23 -0700 (PDT)
In-Reply-To: <7c6c597d-6d77-4675-8560-295c7feacc04@isocpp.org>
X-Original-Sender: u97234@gmail.com
Precedence: list
Mailing-list: list std-proposals@isocpp.org; contact std-proposals+owners@isocpp.org
List-ID: <std-proposals.isocpp.org>
X-Spam-Checked-In-Group: std-proposals@isocpp.org
X-Google-Group-Id: 399137483710
List-Post: <https://groups.google.com/a/isocpp.org/group/std-proposals/post>, <mailto:std-proposals@isocpp.org>
List-Help: <https://support.google.com/a/isocpp.org/bin/topic.py?topic=25838>, <mailto:std-proposals+help@isocpp.org>
List-Archive: <https://groups.google.com/a/isocpp.org/group/std-proposals/>
List-Subscribe: <https://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>,
 <mailto:std-proposals+subscribe@isocpp.org>
List-Unsubscribe: <mailto:googlegroups-manage+399137483710+unsubscribe@googlegroups.com>,
 <https://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>
Xref: news.gmane.org gmane.comp.lang.c++.isocpp.proposals:25961
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/25961>

------=_Part_2026_1391500960.1463751263283
Content-Type: multipart/alternative; 
	boundary="----=_Part_2027_1189433374.1463751263283"

------=_Part_2027_1189433374.1463751263283
Content-Type: text/plain; charset=UTF-8

There's now a preliminary proposal draft 
<https://drive.google.com/open?id=0B8fu7_MirpvpQURrVzJ5eWdVRHM>available 
for comments. It is by no means ready for submit and there are many open 
questions the need to be addressed.

A quick summary of current views:

   - Default std::to_string() must provide base 10 representation with 
   round-tripping possibility at least for non-NaN's, NaN's are yet to be 
   decided.
   - std::to_string() has overload for easy formatting similar to 
   QString::number()
   - String format is independent of locales.
   - Exact string representation is implementation specific as long as it 
   fulfils these requirements.
   - The way how to change the standard is open: every option evaluated has 
   major drawbacks.
   

-- 
You received this message because you are subscribed to the Google Groups "ISO C++ Standard - Future Proposals" group.
To unsubscribe from this group and stop receiving emails from it, send an email to std-proposals+unsubscribe@isocpp.org.
To post to this group, send email to std-proposals@isocpp.org.
To view this discussion on the web visit https://groups.google.com/a/isocpp.org/d/msgid/std-proposals/27d1a744-9ace-40f8-85af-f06375d11175%40isocpp.org.

------=_Part_2027_1189433374.1463751263283
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">There&#39;s now a <a href=3D"https://drive.google.com/open=
?id=3D0B8fu7_MirpvpQURrVzJ5eWdVRHM">preliminary proposal draft </a>availabl=
e for comments. It is by no means ready for submit and there are many open =
questions the need to be addressed.<br><br>A quick summary of current views=
:<br><ul><li>Default std::to_string() must provide base 10 representation w=
ith round-tripping possibility at least for non-NaN&#39;s, NaN&#39;s are ye=
t to be decided.</li><li>std::to_string() has overload for easy formatting =
similar to QString::number()</li><li>String format is independent of locale=
s.</li><li>Exact string representation is implementation specific as long a=
s it fulfils these requirements.</li><li>The way how to change the standard=
 is open: every option evaluated has major drawbacks.<br></li></ul><br></di=
v>

<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups &=
quot;ISO C++ Standard - Future Proposals&quot; group.<br />
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:std-proposals+unsubscribe@isocpp.org">std-proposa=
ls+unsubscribe@isocpp.org</a>.<br />
To post to this group, send email to <a href=3D"mailto:std-proposals@isocpp=
..org">std-proposals@isocpp.org</a>.<br />
To view this discussion on the web visit <a href=3D"https://groups.google.c=
om/a/isocpp.org/d/msgid/std-proposals/27d1a744-9ace-40f8-85af-f06375d11175%=
40isocpp.org?utm_medium=3Demail&utm_source=3Dfooter">https://groups.google.=
com/a/isocpp.org/d/msgid/std-proposals/27d1a744-9ace-40f8-85af-f06375d11175=
%40isocpp.org</a>.<br />

------=_Part_2027_1189433374.1463751263283--

------=_Part_2026_1391500960.1463751263283--

.
