User Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

cl:constant_variables:short-float-epsilon [2019/12/05 02:00]
cl:constant_variables:short-float-epsilon [2019/12/07 22:00] (current)
Line 1: Line 1:
 +====== Constant Variable SHORT-FLOAT-EPSILON,​ SHORT-FLOAT-NEGATIVE-EPSILON,​ SINGLE-FLOAT-EPSILON,​ SINGLE-FLOAT-NEGATIVE-EPSILON,​ DOUBLE-FLOAT-EPSILON,​ DOUBLE-FLOAT-NEGATIVE-EPSILON,​ LONG-FLOAT-EPSILON,​ LONG-FLOAT-NEGATIVE-EPSILON ======
 +
 +====Constant Value====
 +//​[[CL:​Glossary:​implementation-dependent]]//​.
 +
 +====Description====
 +The value of each of the constants **short-float-epsilon**,​ **single-float-epsilon**,​ **double-float-epsilon**,​ and **long-float-epsilon** is the smallest positive //​[[CL:​Glossary:​float]]//​ ''​ε''​ of the given format, such that the following expression is //​[[CL:​Glossary:​true]]//​ when evaluated:
 +
 +<​blockquote>​
 +([[CL:​Functions:​not]] ([[CL:​Functions:​math-equal|=]] ([[CL:​Functions:​float]] 1 ''​ε''​) ([[CL:​Functions:​math-add|+]] ([[CL:​Functions:​float]] 1 ''​ε''​) ''​ε''​)))
 +</​blockquote>​
 +
 +The value of each of the constants **short-float-negative-epsilon**,​ **single-float-negative-epsilon**,​ **[[double-float-negative-epsilon**,​ and **long-float-negative-epsilon** is the smallest positive //​[[CL:​Glossary:​float]]//​ ''​ε''​ of the given format, such that the following expression is //​[[CL:​Glossary:​true]]//​ when evaluated:
 +
 +
 +<​blockquote>​
 +([[CL:​Functions:​not]] ([[CL:​Functions:​math-equal|=]] ([[CL:​Functions:​float]] 1 ''​ε''​) ([[CL:​Functions:​math-subtract|-]] ([[CL:​Functions:​float]] 1 ''​ε''​) ''​ε''​)))
 +</​blockquote>​
 +
 +====Examples====
 +None.
 +
 +====See Also====
 +None.
 +
 +====Notes====
 +None.
 +