As we all know, Ramanujan's Constant equal to :
$$e^{\pi \sqrt{163}} = 262537412640768743 + 0.99999999999925\cdots$$
But when I tried to find it's fractional part using Mathematica, something wrong happened.
FractionalPart[Exp[Sqrt[163]Pi]]//N
It gives the wrong answer: -480
.
I think it's a precision problem. I know //N
means //N[#,MachinePrecision]&
.
But precisions below 11 give $1.00000$ and over 12 give the right answer.
Only MachinePrecision
gives the wrong answer.
Then I did another test.
Well, I think there're the same and it's true
.
This makes me more puzzled.
bugs
tag is only for confirmed bugs. $\endgroup$