220 37676 <CAHSYqdYF3mSv99Z0r68j4Ser8i7XVtbEC0M2gdKVCvOd5ugUAQ@mail.gmail.com> article
Path: news.gmane.org!.POSTED!not-for-mail
From: Hyman Rosen <hyman.rosen@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Why do we need `volatile` in C++?
Date: Thu, 5 Apr 2018 15:34:05 -0400
Lines: 66
Approved: news@gmane.org
Message-ID: <CAHSYqdYF3mSv99Z0r68j4Ser8i7XVtbEC0M2gdKVCvOd5ugUAQ@mail.gmail.com>
References: <044dfdd3-2313-4ce3-a5e2-3a23c1c0d678@isocpp.org>
 <525c1ba4-fdb3-4996-b1ac-2043aff6ec75@isocpp.org> <CAHSYqdbVpU1CHvRdtFkQJQVKD4JHAb2n=0gndUsndQ_r0bHSCQ@mail.gmail.com>
 <2814602.YRCL0oQ9OI@tjmaciei-mobl1> <CAHSYqdZo_0uOhwyiaRciuJ6Fk1Zx5nL0wFu97PohcqHy3keVyw@mail.gmail.com>
 <5AC66322.50207@gmx.net>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: blaine.gmane.org
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="001a114b332c07a35305691f0705"
X-Trace: blaine.gmane.org 1522956744 22025 195.159.176.226 (5 Apr 2018 19:32:24 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Thu, 5 Apr 2018 19:32:24 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBDKJJPVBQMKRBQ7UTHLAKGQE67BYWIA@isocpp.org Thu Apr 05 21:32:20 2018
Return-path: <std-proposals+bncBDKJJPVBQMKRBQ7UTHLAKGQE67BYWIA@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-wm0-f71.google.com ([74.125.82.71])
	by blaine.gmane.org with esmtp (Exim 4.84_2)
	(envelope-from <std-proposals+bncBDKJJPVBQMKRBQ7UTHLAKGQE67BYWIA@isocpp.org>)
	id 1f4AcN-0005Yz-9I
	for gclcip-std-proposals@m.gmane.org; Thu, 05 Apr 2018 21:32:19 +0200
Original-Received: by mail-wm0-f71.google.com with SMTP id 136sf2633979wmm.1
        for <gclcip-std-proposals@m.gmane.org>; Thu, 05 Apr 2018 12:34:29 -0700 (PDT)
ARC-Seal: i=2; a=rsa-sha256; t=1522956868; cv=pass;
        d=google.com; s=arc-20160816;
        b=nt00x43aiJ76ufClz1RkdgROroxIyRYSQjigb4qyCIoIN5+KsRqsDyVOU6itSSq1/L
         26h4Mk2K38oe7DrNyt9Y/qPVV8+HvxvfpHeCJElOV3fEzEbATCleTdLWyBaHUqlv/a6I
         3BURIiFnK3ZQycUDtiw2I+7Q1rMsVFFSJ8tRFCKoeUaFu1ovTl4Pyhlp624Ow7Uvo6J9
         snt0F62NvEk55sDmE6GLlUBr1W45AN1QhOX6Z0x4I4mMzOeyyzc2M4P9dwU12HdCuY+Z
         jncYzNUtZRYbgyNbyne5vaUV3L/DTqpkJT/3okkeXfbjgxP5M8+TL5/8OtvYGFrNGt72
         XqPg==
ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816;
        h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post
         :list-id:mailing-list:precedence:reply-to:to:subject:message-id:date
         :from:references:in-reply-to:mime-version:arc-authentication-results
         :arc-message-signature:dkim-signature:arc-authentication-results;
        bh=GBVVvmba85CMeUsgecdjrE9isg+dQX0q7sTjpaVMEwc=;
        b=vxLd+ll29yRgiZzU+bBjdQXK+0Y2cte5do3EHQQM+7s5wB2nkAiWPNLk1+GW35t5MB
         KzCOoh7Hv6Ggd2PSR8cU7t2ObhVjyklHtxB/JDKfpPPfjy4EldnyMmx2KkN1HmxTELg7
         EAhveGjPcS7cc/ztQ4VGXMQv/DfgxO//UnPEalSiqRt+szvREJi+GtGHas8n9gnx9Kf7
         j7k0xtzZsMqy662vx99x2g3Z1choH0JhmRgQ+CfDBtXKWifLZ1MWvflGMkDRo7W5HoRm
         SreqQ5dzF9mbAiRkHz+/Yiu/Ayhf/s+A0WFHhWnSCf7+7iABvJM1Hl40RmqlJseMQJRQ
         6jkw==
ARC-Authentication-Results: i=2; mx.google.com;
       dkim=pass header.i=@gmail.com header.s=20161025 header.b=ZCuDtt/b;
       spf=pass (google.com: domain of hyman.rosen@gmail.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=hyman.rosen@gmail.com;
       dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=isocpp-org.20150623.gappssmtp.com; s=20150623;
        h=mime-version:in-reply-to:references:from:date:message-id:subject:to
         :x-original-sender:x-original-authentication-results:reply-to
         :precedence:mailing-list:list-id:list-post:list-help:list-archive
         :list-subscribe:list-unsubscribe;
        bh=GBVVvmba85CMeUsgecdjrE9isg+dQX0q7sTjpaVMEwc=;
        b=0Nycat2VaTsXCGeQgRN9ITb1h+kTKqvllAjIF7sb5/thSvGQAeb+XZiFtCzsWHwKCt
         fIzJ4qgW0xnsyDVBTPXPLA46s5YF5G0qDOkkXntCRHIJtX+bTgIZeGnBhhgXcmgR5s8V
         z59H/nODg7Oo1qvDE4QGF/VYv1Lvc7RVNB5mqAxw26EJ0vtgLoIIDmfg/o8eTsFpwPG2
         +rqnYP8km9RikdgYe7+hNaIUZqpTiJBMyfbTexr86aNXJC6w/BTZzy4ZXGKUbNSPUCz3
         YrRa6nnob+SBqtYITcUNjVtcmGMSXkcLiMwZZg2S8Um6sz9+yS6zG8AN4mMffJjmyrPY
         vFPg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:mime-version:in-reply-to:references:from:date
         :message-id:subject:to:x-original-sender
         :x-original-authentication-results:reply-to:precedence:mailing-list
         :list-id:x-spam-checked-in-group:list-post:list-help:list-archive
         :list-subscribe:list-unsubscribe;
        bh=GBVVvmba85CMeUsgecdjrE9isg+dQX0q7sTjpaVMEwc=;
        b=Yh456QGj2OVIPNCNNtAWEqbcQGl22CHZgohGkc24cppgEGXrD3EuxASA6AYZGn+9uq
         1TICFlKRwasTy/VLfYjEF3ZXizRhIDBoTwkxPcMkDltASVu3A8CDBiuJX3MxnhJDkNzH
         lSBLGJPt1/f5WFCfR4KYTKdNzgI+IgBfqz/l4YuWhlutdOuha/GLkR+bJ7PYn2WP3jgO
         Za+0T4Ymgf8DXF+1ZqKVlg1OUSUzPlkZjMbH9ckBQs/Zu1UmHBP3PDToLqdQdXDEk7Y0
         gddD5tr722Pl5k4cJtcUMlHPBe2ESbc6UqLgBRJZYSj5C0ncnrLr8Cr/GW/Am0ncg92+
         U3gg==
X-Gm-Message-State: ALQs6tCiGEBI4V3rPKPIAOGPVNjte+H7dnl6nwbWFZHrjS+O/vO4+pB1
	RHwHJAKg1apHoQd/GnvrXEoGDA==
X-Google-Smtp-Source: AIpwx4+IB8MK0R8njG1P6Hm4JXdtE3SxJsZ3cJIZF5MZdNoo7hJk4GbRkK2S4GZMF27C9f66Qv7p4A==
X-Received: by 10.28.192.13 with SMTP id q13mr1349864wmf.7.1522956868861;
        Thu, 05 Apr 2018 12:34:28 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.28.152.19 with SMTP id a19ls1350927wme.7.canary-gmail; Thu, 05
 Apr 2018 12:34:27 -0700 (PDT)
X-Received: by 10.28.192.7 with SMTP id q7mr11284764wmf.44.1522956867357;
        Thu, 05 Apr 2018 12:34:27 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1522956867; cv=none;
        d=google.com; s=arc-20160816;
        b=Vc0DRLPKn1tya+6ReqEDvCLNlm/qg5yfvlQ3Nhc0bBykL+G9qbSNUyjeTLg6/sunTY
         F171B2YOgRgyXtKXNkALRInRL4eV8VtlpLnvUfOeHnafNpvgCIcMpJkibwetK+zuZ9nO
         MQzB1HpM/AMRGEFaEfcitV58ao+9/uu1sNsCVfVGU3KV0KbLY6vDBsbfRc1+rhFi6Gej
         tAnEmKWrhVzKfgRnbwKXJaDIc58ZRWMJkoXEwViNVhS3SptYw8BCGdc8B1s4JuTVR+EL
         TButXyOJ9PwzFLzadwYkyp1hSlpKlN50T1ozK6sPPudWq5L9WL7c35fM8fnSWDf5ZCfi
         mGqQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816;
        h=to:subject:message-id:date:from:references:in-reply-to:mime-version
         :dkim-signature:arc-authentication-results;
        bh=5D8i1goi0MQjkr7919DTiXsSi3cLQE5g9koDa75835Q=;
        b=t/MGixx57x+/bNi1CmWcC8c5zUsKlTb17eoPbCThWL5CaUtYt9tSjYqNPb0/RXS0jF
         v9EPcIMibZUwQeXcFC79GVRz/rA2bUZXY6br1SK8uHWS9bJ50axZ59bmsakDF5gZZxho
         9m1BqajYHzXnC0q5P4FAqmAyrUuPqc0j3lrICE5sTL28cCnZ5Sk06SVJllkfbNGWkEKf
         YrfWf9j19Hfp264YA5MnbqkuR29kVTBoPwWT8Idg5+7vMzVaEiUh0m/DqAg0UHUQYELM
         /fb3J/rdHkRlyb/Nt+MtXLqFb37/fmlSjoBSSOG3Onrev7P3WIe4HptaKSZHFD9LJeyh
         xptQ==
ARC-Authentication-Results: i=1; mx.google.com;
       dkim=pass header.i=@gmail.com header.s=20161025 header.b=ZCuDtt/b;
       spf=pass (google.com: domain of hyman.rosen@gmail.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=hyman.rosen@gmail.com;
       dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com
Original-Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41])
        by mx.google.com with SMTPS id n25sor1915844wmh.35.2018.04.05.12.34.27
        for <std-proposals@isocpp.org>
        (Google Transport Security);
        Thu, 05 Apr 2018 12:34:27 -0700 (PDT)
Received-SPF: pass (google.com: domain of hyman.rosen@gmail.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41;
X-Received: by 10.28.101.6 with SMTP id z6mr10346931wmb.110.1522956866395;
 Thu, 05 Apr 2018 12:34:26 -0700 (PDT)
Original-Received: by 10.28.85.201 with HTTP; Thu, 5 Apr 2018 12:34:05 -0700 (PDT)
In-Reply-To: <5AC66322.50207@gmx.net>
X-Original-Sender: hyman.rosen@gmail.com
X-Original-Authentication-Results: mx.google.com;       dkim=pass
 header.i=@gmail.com header.s=20161025 header.b=ZCuDtt/b;       spf=pass
 (google.com: domain of hyman.rosen@gmail.com designates 209.85.220.41 as
 permitted sender) smtp.mailfrom=hyman.rosen@gmail.com;       dmarc=pass
 (p=NONE sp=QUARANTINE dis=NONE) header.from=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:37676
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/37676>

--001a114b332c07a35305691f0705
Content-Type: text/plain; charset="UTF-8"

On Thu, Apr 5, 2018 at 1:55 PM, Jens Maurer <Jens.Maurer@gmx.net> wrote:
>
> What normative statement in the standard makes you believe that
> "casting to a floating-point type [...] must do the downscaling"?


In N4700, [expr]/13 says

*The values of the floating operands and the results of floating
expressionsmay be represented in greater *
*precision and range than that required bythe type; the types are not
changed thereby.64*

The associated footnote says


*64) The cast and assignment operators must still perform their
specificconversions as described in 8.4, 8.2.9 and 8.18.*

-- 
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/CAHSYqdYF3mSv99Z0r68j4Ser8i7XVtbEC0M2gdKVCvOd5ugUAQ%40mail.gmail.com.

--001a114b332c07a35305691f0705
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote">On T=
hu, Apr 5, 2018 at 1:55 PM, Jens Maurer <span dir=3D"ltr">&lt;<a href=3D"ma=
ilto:Jens.Maurer@gmx.net" target=3D"_blank">Jens.Maurer@gmx.net</a>&gt;</sp=
an> wrote:<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8=
ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
What normative statement in the standard makes you believe that<br>
&quot;casting to a floating-point type [...] must do the downscaling&quot;?=
</blockquote><div><br>In N4700, [expr]/13 says<br><i>The values of the floa=
ting operands and the results of floating expressions<br>may be represented=
 in greater=C2=A0</i><i>precision and range than that required by<br>the ty=
pe; the types are not changed thereby.<font size=3D"1"><b>64</b></font></i>=
</div><div><br>The associated footnote says<br><i><font size=3D"1"><b>64</b=
></font>) The cast and assignment operators must still perform their specif=
ic<br>conversions as described in 8.4, 8.2.9 and 8.18.<font size=3D"1"><br>=
</font></i></div></div></div></div>

<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/CAHSYqdYF3mSv99Z0r68j4Ser8i7XVtbEC0M2=
gdKVCvOd5ugUAQ%40mail.gmail.com?utm_medium=3Demail&utm_source=3Dfooter">htt=
ps://groups.google.com/a/isocpp.org/d/msgid/std-proposals/CAHSYqdYF3mSv99Z0=
r68j4Ser8i7XVtbEC0M2gdKVCvOd5ugUAQ%40mail.gmail.com</a>.<br />

--001a114b332c07a35305691f0705--

.
