Open rtoy opened 1 month ago
Imported from SourceForge on 2024-07-06 17:11:28 Created by macrakis on 2018-12-10 19:12:50 Original: https://sourceforge.net/p/maxima/bugs/3408/#14aa
In Maxima 5.42.0 SBCL 1.4.2, the ^51 case works, but floor(sqrt(10^52+1)) does not. The "somewhat messier case" should be floor(***)
Imported from SourceForge on 2024-07-06 17:11:26 Created by macrakis on 2018-03-11 21:48:14 Original: https://sourceforge.net/p/maxima/bugs/3408
Surprising, because we have isqrt. There also doesn't seem any way to force floor to try more bfloat digits.
Somewhat messier case:
Correct answer is 1.
bfloat/floor is consistent starting with fpprec=72
Why doesn't pretty-good-floor-or-ceiling look at whether the distance to an integer changes from one value of fpprec to the next rather than just whether floor(answer) is consistent?
Consider: