emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/calc/calc-bin.el,v


From: Jay Belanger
Subject: [Emacs-diffs] Changes to emacs/lisp/calc/calc-bin.el,v
Date: Sun, 08 Jul 2007 00:17:09 +0000

CVSROOT:        /cvsroot/emacs
Module name:    emacs
Changes by:     Jay Belanger <jpb>      07/07/08 00:17:08

Index: calc-bin.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/calc/calc-bin.el,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -b -r1.17 -r1.18
--- calc-bin.el 6 Jul 2007 02:38:08 -0000       1.17
+++ calc-bin.el 8 Jul 2007 00:17:08 -0000       1.18
@@ -34,13 +34,13 @@
 
 ;;; Some useful numbers
 (defconst math-bignum-logb-digit-size
-  (logb math-bignum-digit-size)
+  (eval-when-compile (logb math-bignum-digit-size))
   "The logb of the size of a bignum digit.
 This is the largest value of B such that 2^B is less than 
 the size of a Calc bignum digit.")
 
 (defconst math-bignum-digit-power-of-two
-  (expt 2 math-bignum-logb-digit-size)
+  (eval-when-compile (expt 2 math-bignum-logb-digit-size))
   "The largest power of 2 less than the size of a Calc bignum digit.")
 
 ;;; b-prefix binary commands.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]