|
Boost : |
From: Peter Dimov (pdimov_at_[hidden])
Date: 2025-01-21 20:31:20
Ivan Matek wrote:
> On Tue, Jan 21, 2025 at 8:52â¯PM Peter Dimov via Boost
> <boost_at_[hidden] <mailto:boost_at_[hidden]> > wrote:
>
>
>
> Also, see how much better is_zero becomes.
>
>
>
> wow...
In fairness the same logic can be applied to the current representation:
https://godbolt.org/z/d13nWx8Wq
It's two comparisons instead of one for the exponent+significand, but
otherwise much the same.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk