Boost logo

Boost :

From: Beman Dawes (bdawes_at_[hidden])
Date: 2005-01-08 22:43:26


At 03:43 PM 1/8/2005, Martin wrote:

>> With the C and C++ committee's working on a decimal arithmetic
technical
>> report, have you considered how your library will support future
decimal
>> types that come out of that effort?
>
>Depends on what you mean. My decimal type will probably be obsolete when
>these new types arrive but the money type shold be able to use them with
>a wrapper for construction and extraction.

What I had in mind was something along the lines of Daniel Frey's
basic_decimal<T> suggestion that might be able to adapt to future T decimal
types. Just a thought.

>Also, I have tried to look at the committe's work but don't really
>understand how rounding will work with these new types.

IIUC, details will be based on the new IEEE 754R standard, so you might
want to look at that.

--Beman


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