Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.std.c++ > #614

Re: N3417: Proposal for Unbounded-Precision Integer Types

Message-ID <kkmkjm$efv$1@dont-email.me> (permalink)
Newsgroups comp.std.c++
From Martin Shobe <martin.shobe@travelport.com>
Subject Re: N3417: Proposal for Unbounded-Precision Integer Types
Organization A noiseless patient Spider
References <20f3e5fa-9261-4fe7-9860-c617fe76636c@googlegroups.com>
Date 2013-04-18 10:09 -0600

Show all headers | View raw


On 4/16/2013 2:41 PM, Helmut Zeisel wrote:
> What should be the result of unsigned_integer(-1) ?
>
> Helmut
>
>

The desire to remove unsigned_integer from the proposal. :)

While I can appreciate the desire for symmetry with the limited
precision integers, that symmetry is going to be broken with unlimited
precision integers. I personally would rather see unsigned_integer be a
special case of a more general bounded integer proposal. One where the
programmer could specify an arbitrary upper and lower bound.

Martin Shobe


-- 
[ comp.std.c++ is moderated.  To submit articles, try posting with your ]
[ newsreader.  If that fails, use mailto:std-cpp-submit@vandevoorde.com ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://www.comeaucomputing.com/csc/faq.html                      ]

Back to comp.std.c++ | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

N3417: Proposal for Unbounded-Precision Integer Types Helmut Zeisel <zei2011@liwest.at> - 2013-04-16 12:41 -0700
  Re: N3417: Proposal for Unbounded-Precision Integer Types Martin Shobe <martin.shobe@travelport.com> - 2013-04-18 10:09 -0600
  Re: N3417: Proposal for Unbounded-Precision Integer Types Pete Becker <pete@versatilecoding.com> - 2013-04-18 10:08 -0600
    Re: N3417: Proposal for Unbounded-Precision Integer Types rkadeFR <contact@rkade.fr> - 2013-04-19 08:12 -0700
    Re: N3417: Proposal for Unbounded-Precision Integer Types Pete Becker <pete@versatilecoding.com> - 2013-04-20 05:19 -0700

csiph-web