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

X-Received by 10.224.178.205 with SMTP id bn13mr8222152qab.3.1366297801817; Thu, 18 Apr 2013 08:10:01 -0700 (PDT)
MIME-Version 1.0
Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!cj1no4749091qab.0!news-out.google.com!ef9ni1282qab.0!nntp.google.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date Thu, 18 Apr 2013 10:10:01 -0500
Return-Path <cppmods@mcgurn.dreamhost.com>
Sender std-cpp-request@vandevoorde.com
Approved stephen.clamage@oracle.com
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>
X-Original-Date Wed, 17 Apr 2013 12:05:38 -0500
X-Submission-Address std-cpp-submit@vandevoorde.com
To undisclosed-recipients:;
Date Thu, 18 Apr 2013 10:09:18 CST
Lines 25
X-Usenet-Provider http://www.giganews.com
X-Trace sv3-gORqs0RHwQcjUjGm+Wg7aeikcHOeesGZjhZEcE8FZ32RwA/qZSKIyzb25rboMhgyJTFKlToNYoKAwhH!bD4kfYxYm6uHNFEKenjwTVkMhobAG5s1eq5+/Fg5t0mzn9WcAHs=
X-Complaints-To abuse@giganews.com
X-DMCA-Notifications http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info Otherwise we will be unable to process your complaint properly
X-Postfilter 1.3.40
X-Original-Bytes 2118
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Xref csiph.com comp.std.c++:614

Show key headers only | 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