This is pretty good. But i'm looking for a more customazible fixed point type. What i would like is to define the total number of bits and also make it saturate when overflow happens! Thank you.
Il giorno mar 13 apr 2021 alle ore 06:21 Raymond Burkholder via Boost-users <boost-users@lists.boost.org> ha scritto: > 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 mailing list > Boost-users@lists.boost.org > https://lists.boost.org/mailman/listinfo.cgi/boost-users >
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org https://lists.boost.org/mailman/listinfo.cgi/boost-users