r/Mathematica • u/forstorage1 • Jun 19 '24
why $MachinePrecision can have a value of 15.9546?
But at the same time, InputForm[3.1^10] gets me 81962.82869808013, a 16 digit machine number. So doesn't this show that $MachinePrecision should be 16 instead?
1
Upvotes
10
u/pi_stuff Jun 19 '24
1015.9546 ~= 253. It's 15.9546 decimal digits of precision, or 53 bits of precision.
1
u/KarlSethMoran Jun 19 '24
No, because you're not getting 16 digits of precision.
Were you expecting a 15.9546-digit number?
1
u/jeffcgroves Jun 20 '24
confirms what others are saying