[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#9411: 23.2; Improper integer conversion (rounding?) on data entry in
From: |
Andreas Schwab |
Subject: |
bug#9411: 23.2; Improper integer conversion (rounding?) on data entry in Calc |
Date: |
Wed, 31 Aug 2011 00:14:44 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) |
Keith Browne <tuxedo@htq.org> 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, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."