Subject: bug#9411: 23.2; Improper integer conversion (rounding?) on data entry in Calc

From: Andreas Schwab <[email-masked]>
Date: Wed, 31 Aug 2011 00:14:44 +0200

Keith Browne <[email-masked]> writes:

> M-x calc [RETURN]
> 90000000000000010 [RETURN]
> (that's 9, followed by fourteen 0s, followed by 10)
>
> - Observe that 90000000000000016 appears on the stack, not
> 90000000000000010.

That is an inaccuracy in string-to-number that should be fixed in Emacs
24.  You can work around it by reducing math-bignum-digit-length.

Andreas.

-- 
Andreas Schwab, [email-masked]
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."