Variable: cl-float-epsilon

cl-float-epsilon is a variable defined in cl-lib.el.gz.

Value

nil

Documentation

The smallest positive float that adds to 1.0 to give a distinct value.

Adding a number less than this to 1.0 returns 1.0 due to roundoff. For Emacs, this equals 2.220446049250313e-16. Call cl-float-limits to set this.

View in manual

Aliases

float-epsilon (obsolete since 27.1)

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/cl-lib.el.gz
(defconst cl-float-epsilon nil
  "The smallest positive float that adds to 1.0 to give a distinct value.
Adding a number less than this to 1.0 returns 1.0 due to roundoff.
For Emacs, this equals 2.220446049250313e-16.
Call `cl-float-limits' to set this.")