Mercurial > emacs
diff src/regex.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 | 465e2d55267d |
children | ce1b74b859a9 3619e7770f2e |