220 7217 <20556a3e-c5e1-42f2-9fbf-b587d94cf3e3@isocpp.org> article
Path: news.gmane.org!not-for-mail
From: David Stone <deusexsophismata@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Comments on n3783: Network byte order
Date: Tue, 8 Oct 2013 20:39:57 -0700 (PDT)
Lines: 47
Approved: news@gmane.org
Message-ID: <20556a3e-c5e1-42f2-9fbf-b587d94cf3e3@isocpp.org>
References: <ab789d12-9da0-4d7c-a456-23481262484d@isocpp.org>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: multipart/alternative; 
	boundary="----=_Part_1605_32149468.1381289997021"
X-Trace: ger.gmane.org 1381289995 28982 80.91.229.3 (9 Oct 2013 03:39:55 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Wed, 9 Oct 2013 03:39:55 +0000 (UTC)
Cc: fmatthew5876@gmail.com
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBCB5ZIET2UNRBDNA2OJAKGQEJNHVMGQ@isocpp.org Wed Oct 09 05:39:59 2013
Return-path: <std-proposals+bncBCB5ZIET2UNRBDNA2OJAKGQEJNHVMGQ@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-qc0-f198.google.com ([209.85.216.198])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBCB5ZIET2UNRBDNA2OJAKGQEJNHVMGQ@isocpp.org>)
	id 1VTkcx-0000IE-Ch
	for gclcip-std-proposals@m.gmane.org; Wed, 09 Oct 2013 05:39:59 +0200
Original-Received: by mail-qc0-f198.google.com with SMTP id v14sf318057qcr.5
        for <gclcip-std-proposals@m.gmane.org>; Tue, 08 Oct 2013 20:39:58 -0700 (PDT)
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:list-post:list-help:list-archive:list-subscribe
         :list-unsubscribe:content-type;
        bh=NX4aHnICqNknzaOHuNisofUg14vfiLx+EiLUmHdE1Ik=;
        b=d5ZGfshSe0khX9butecCnE6foOMuahBSZpImvGpbYkMf3PFEKXd3oGUkrmgan8AUOW
         aPyZaADIFirLfCGdIQD74FIRl9qYyg8zaw62M+tAJbkwuRoI4aexdUds1DOwg7qMZz9i
         naTrKKnpjlzlpgJVMd0sjP7N3nEhhkIQPCk0mWSq3JrpT7fo3rARrRhf2ZqYZSKa0F2V
         z1/gHNv3XzI+hdhZ4LH3LJylRVSAfR+g07bKNOH4pzJH0e7n8wn+/6r+kCemZDfYt5U8
         fF3U53uVt8bmWhIFez44bHXY2YOfZJA4qTNa9elX3ktrfIfDDl3mvC7avYLi68Lz47xp
         jfQg==
X-Received: by 10.236.209.202 with SMTP id s50mr4705799yho.40.1381289998372;
        Tue, 08 Oct 2013 20:39:58 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.49.12.20 with SMTP id u20ls537193qeb.92.gmail; Tue, 08 Oct
 2013 20:39:57 -0700 (PDT)
X-Received: by 10.49.105.33 with SMTP id gj1mr2508qeb.32.1381289997436;
        Tue, 08 Oct 2013 20:39:57 -0700 (PDT)
In-Reply-To: <ab789d12-9da0-4d7c-a456-23481262484d@isocpp.org>
X-Original-Sender: deusexsophismata@gmail.com
Precedence: list
Mailing-list: list std-proposals@isocpp.org; contact std-proposals+owners@isocpp.org
List-ID: <std-proposals.isocpp.org>
X-Google-Group-Id: 399137483710
List-Post: <http://groups.google.com/a/isocpp.org/group/std-proposals/post>, <mailto:std-proposals@isocpp.org>
List-Help: <http://support.google.com/a/isocpp.org/bin/topic.py?topic=25838>, <mailto:std-proposals+help@isocpp.org>
List-Archive: <http://groups.google.com/a/isocpp.org/group/std-proposals/>
List-Subscribe: <http://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>,
 <mailto:std-proposals+subscribe@isocpp.org>
List-Unsubscribe: <http://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>,
 <mailto:googlegroups-manage+399137483710+unsubscribe@googlegroups.com>
Xref: news.gmane.org gmane.comp.lang.c++.isocpp.proposals:7217
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/7217>

------=_Part_1605_32149468.1381289997021
Content-Type: text/plain; charset=ISO-8859-1

As for trap representations, this is trivial if we allow the endian 
functions to work on floating point values for systems with IEEE floats. 
There are valid values for double in one endianness that would be a 
signaling NaN on another. I don't know off-hand of any real platforms that 
have trap representations for integer types, but I would be suspicious of 
getting the -0 representation on a one's complement or sign-magnitude 
architecture.

-- 

--- 
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.
Visit this group at http://groups.google.com/a/isocpp.org/group/std-proposals/.

------=_Part_1605_32149468.1381289997021
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">As for trap representations, this is trivial if we allow t=
he endian functions to work on floating point values for systems with IEEE =
floats. There are valid values for double in one endianness that would be a=
 signaling NaN on another. I don't know off-hand of any real platforms that=
 have trap representations for integer types, but I would be suspicious of =
getting the -0 representation on a one's complement or sign-magnitude archi=
tecture.<br></div>

<p></p>

-- <br />
&nbsp;<br />
--- <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 std-proposals+unsubscribe@isocpp.org.<br />
To post to this group, send email to std-proposals@isocpp.org.<br />
Visit this group at <a href=3D"http://groups.google.com/a/isocpp.org/group/=
std-proposals/">http://groups.google.com/a/isocpp.org/group/std-proposals/<=
/a>.<br />

------=_Part_1605_32149468.1381289997021--

.
