flintlib / arb

Arb has been merged into FLINT -- use https://github.com/flintlib/flint/ instead
http://arblib.org/
GNU Lesser General Public License v2.1
456 stars 137 forks source link

Improve arb_can_round_arf/mpfr #378

Open fredrik-johansson opened 2 years ago

fredrik-johansson commented 2 years ago

This essentially calls mpfr_round_p, which does not have a special case for checking when we can round to nearest. For example, 1.0 +/ eps can clearly be rounded to nearest when eps is small enough, but this can't be detected with mpfr_round_p.