Hi Robert,
Thanks for the comment, I started following whats on safe_numerics, but I
feel it gets too complicated to use in the case of floating point where
there is so many policy combinations I want to allow. I got the feeling
something easier can be built to handle this particular case.
However, I'm exploring alternatives, if I cannot find a simple elegant
solution I will go back to similar approach to the one used in
safe_numerics.
2018-07-27 10:05 GMT-04:00 Robert Ramey via Boost
On 7/26/18 8:25 PM, Damian Vicino via Boost wrote:
Hi, I'm working in simplifying safe_float to prepare it for future review.
For now I'm focusing in a C++17 compatible version.
Currently safefloat receives 2 template parameters:
template
class safe_float ... Where FP is the floating point value being made "safe", float, double, long double ... and P is a Policy of what to check and how to react.
It might be helpful to look at how safe numerics does it.
Robert Ramey
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman /listinfo.cgi/boost