Boost logo

Boost :

From: Matt Borland (matt_at_[hidden])
Date: 2024-05-31 11:24:51


> Note that ultimately, as long as the decimal64_fast et cetera types
> have conversion functions:
> - uint64_t toBID() const; // converts to IEEE 754 BID representation
> - uint64_t toDPD() const; // converts to IEEE 754 DPD representation
> And if you can construct the decimal64_fast types from the BID64 and
> DPD64 representations:
>

> Then I suggest that nobody really needs the non-fast types. :)
>

> i.e. When I want to encode, decode, store that representation I can.
>

> But I would never want to incur the overhead of decoding and encoding
> it on every arithmetic operation.
> (I can't imagine who would)
>

> Glen

Glen,

I have opened issues for adding those conversion functions to the fast types. Thanks for the suggestions.

Matt





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