Variable: math-emacs-precision
math-emacs-precision is a variable defined in calc-math.el.gz.
Value
16
Documentation
The number of digits in an Emacs float.
Source Code
;; Defined in /usr/src/emacs/lisp/calc/calc-math.el.gz
;;; Find out how many 9s in 9.9999... will give distinct Emacs floats,
;;; then back off by one.
(defvar math-emacs-precision
(let* ((n 1)
(x 9)
(xx (+ x (* 9 (expt 10 (- n))))))
(while (/= x xx)
(progn
(setq n (1+ n))
(setq x xx)
(setq xx (+ x (* 9 (expt 10 (- n)))))))
(1- n))
"The number of digits in an Emacs float.")