Boost logo

Boost Users :

From: Raymond Burkholder (ray_at_[hidden])
Date: 2021-04-13 03:58:33


On 4/12/21 1:49 AM, Emilio Paolini via Boost-users wrote:

> Hi everyone, i'm new to Boost. I would like to know if there is a way,
> using this library, to declare a fixed point type, specifying the number
> of bits for the fractional part and the behaviour when overflow happens.

Try https://github.com/vpiotr/decimal_for_cpp

It may get you most of the way there.

Raymond
https://blog.raymond.burkholder.net


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net