Literals/Floating point: Difference between revisions
Content added Content deleted
Line 926: | Line 926: | ||
|} |
|} |
||
where <math>\epsilon</math> is the machine epsilon at the selected precision. The minimum value is the opposite of the maximum value (reverse the sign bit). |
where <math>\epsilon</math> is the machine epsilon at the selected precision. The minimum value is the opposite of the maximum value (reverse the sign bit). |
||
<pre>0.0 |
|||
0. \\ == 0.0 |
|||
.0 \\ == 0.0 |
|||
. \\ == 0.0 |
|||
2e2 |
|||
6.02e23 |
|||
-2e48 |
|||
1e-9 |
|||
1e0</lang> |
|||
=={{header|Pascal}}== |
=={{header|Pascal}}== |