calc-aent.el

calc-do-quick-calc: Add base 2 to the list of outputs of integers.
This commit is contained in:
Jay Belanger 2007-08-14 14:52:51 +00:00
parent 1c02bcdc70
commit 8f26ce7300
2 changed files with 8 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2007-08-14 Chris Hecker <checker@d6.com> (tiny change)
* calc/calc-aent.el (calc-do-quick-calc): Add binary
representation of integers to the list of outputs.
2007-08-14 Glenn Morris <rgm@gnu.org>
* simple.el (bad-packages-alist): New constant.

View file

@ -74,6 +74,9 @@
", "
(let ((calc-number-radix 8))
(math-format-value (car alg-exp) 1000))
", "
(let ((calc-number-radix 2))
(math-format-value (car alg-exp) 1000))
(if (and (integerp (car alg-exp))
(> (car alg-exp) 0)
(< (car alg-exp) 127))