Boost logo

Boost :

Subject: Re: [boost] a safe integer library
From: Edward Diener (eldiener_at_[hidden])
Date: 2015-12-10 08:58:25


On 12/10/2015 2:49 AM, Robert Ramey wrote:
> Arithmetic operations in C++ are NOT guaranteed to yield a correct
> mathematical result. This feature is inherited from the early days of C.
> The behavior of int, unsigned int and others were designed to map
> closely to the underlying hardware. Computer hardware implements these
> types as a fixed number of bits. When the result of arithmetic
> operations exceeds this number of bits, the result will not be
> arithmetically correct.
>
> I have crafted a library to address this issue once and for all. You can
> find out more about this by checking out the page for Safe Numerics at
> the boost library incubator. www.blincubator.com
>
> I hereby request that this library be added to the boost review queue.
>
> I've also made a proposal for the C++ Standards committee to include a
> simplified version of this library as part of he C++ standard.
>
> You can see the proposal at
> http://www.rrsd.com/software_development/safe_numerics/proposal.pdf

Shouldn't the library be in Boost directory format and also use bjam to
be added to the boost review queue ?


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk