C++ Logo

sg12

Advanced search

Re: [ub] [c++std-ext-14557] Re: Sized integer types and char bits

From: Gabriel Dos Reis <gdr_at_[hidden]>
Date: Thu, 24 Oct 2013 22:50:30 +0000
| -----Original Message-----
| From: ub-bounces_at_open-std.org [mailto:ub-bounces_at_open-std.org] On Behalf Of
| Richard Smith
| Sent: Thursday, October 24, 2013 5:41 PM
| To: WG21 UB study group
| Cc: c++std-ext
| Subject: Re: [ub] [c++std-ext-14557] Re: Sized integer types and char bits
|
| On Sat, Oct 19, 2013 at 8:51 PM, Jason Merrill <jason_at_redhat.com
| <mailto:jason_at_[hidden]> > wrote:
|
|
| On 10/18/2013 11:15 PM, Lawrence Crowl wrote:
| > There were machines being sold in the 90's that were not two's
| complement, but I've lost track
| > since then.
|
|
| http://stackoverflow.com/questions/6971886/exotic-architectures-the-
| standard-committee-cares-about
|
| The Unisys machine mentioned in the top-rated answer still seems to be
| sold.
|
|
|
| Has anyone ever written a non-twos-complement C++ compiler for this machine?
| Has anyone ever written any non-twos-complement C++ implementation?
| And... does anyone intend to write a non-twos-complement C++17
| implementation?
|
|
| If the answer to these questions is "don't know", how do we find out? Strawman
| suggestion: remove non-twos-complement support from the standard and wait to
| see if anyone complains (with the intent that we would restore such support if
| there are actual complaints, not just hypothetical ones). The world would have
| nearly four years to notice and react. Thoughts?

I wouldn't want to see us make unnecessary room for C to fill, so I would
rephrase your question as: are there non-two's complement C implementations
still in use for this platform? More broadly, do we expect WG14 to make a
movement on this topic?

-- Gaby

Received on 2013-10-25 00:50:49