Boost logo

Boost :

Subject: Re: [boost] New numeric data type proposal
From: Damian Alberto Vicino (damian.vicino_at_[hidden])
Date: 2014-03-25 12:08:54


On Mar 25, 2014, at 11:29 AM, John Maddock <boost.regex_at_[hidden]> wrote:

> Thanks for the explanation, it's interesting, and almost the same as "exact floating point" types which are represented as a/b x 2^n and have exact (arbitrary precision) operations for everything except division (which is unsupported).
>
> John.

I didn’t see exact floating points in Boost.
Are they already implemented?
The idea is pretty similar, I even considered the option of removing Qn and using just 3 integer types for the representation, but using same strategy of only change Qd when needed by an operation.
If there is someone already working on that datatype I will like to join the effort.
Best regards,
Damian


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