Mercurial > emacs
comparison src/macterm.c @ 81696:c29faa83ba3a
(calculator-expt, calculator-integer-p): New functions.
(calculator-fact): Check to see if the factorial will be too large
before computing it.
(calculator-initial-operators): Use `calculator-expt' to compute "^".
(calculator-mode): Mention that results which are too large will return inf.
author | Jay Belanger <jay.p.belanger@gmail.com> |
---|---|
date | Wed, 04 Jul 2007 04:17:21 +0000 |
parents | fb6a1213c5e8 |
children | b98604865ea0 0ece58f6e0aa 988f1edc9674 |
comparison
equal
deleted
inserted
replaced
81695:8f00c712c722 | 81696:c29faa83ba3a |
---|