| Ruud H.G. van Tol on Fri, 09 Feb 2024 18:48:09 +0100 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
| Re: floor(tanh(91)) depends on the precision |
On 2024-02-09 18:25, Georgi Guninski wrote:
There was discussion about this on sage-devel mailing list. I don't claim it is a bug, just FYI: ? floor(tanh(91)) %1 = 1 ? default(realprecision,10^4) ? floor(tanh(91)) %3 = 0
? default(realprecision, 79) ? tanh(91) %2 = 0.999... ? default(realprecision, 78) ? tanh(91) < 1 %3 = 1 See also https://www.wolframalpha.com/input?i=tanh%2891%29 and click on [More digits]. -- Ruud