diff options
| author | Craig Jennings <c@cjennings.net> | 2024-04-07 13:41:34 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2024-04-07 13:41:34 -0500 |
| commit | 754bbf7a25a8dda49b5d08ef0d0443bbf5af0e36 (patch) | |
| tree | f1190704f78f04a2b0b4c977d20fe96a828377f1 /devdocs/elisp/floating_002dpoint-type.html | |
new repository
Diffstat (limited to 'devdocs/elisp/floating_002dpoint-type.html')
| -rw-r--r-- | devdocs/elisp/floating_002dpoint-type.html | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/devdocs/elisp/floating_002dpoint-type.html b/devdocs/elisp/floating_002dpoint-type.html new file mode 100644 index 00000000..5b0ecee4 --- /dev/null +++ b/devdocs/elisp/floating_002dpoint-type.html @@ -0,0 +1,6 @@ + <h4 class="subsection">Floating-Point Type</h4> <p>Floating-point numbers are the computer equivalent of scientific notation; you can think of a floating-point number as a fraction together with a power of ten. The precise number of significant figures and the range of possible exponents is machine-specific; Emacs uses the C data type <code>double</code> to store the value, and internally this records a power of 2 rather than a power of 10. </p> <p>The printed representation for floating-point numbers requires either a decimal point (with at least one digit following), an exponent, or both. For example, ‘<samp>1500.0</samp>’, ‘<samp>+15e2</samp>’, ‘<samp>15.0e+2</samp>’, ‘<samp>+1500000e-3</samp>’, and ‘<samp>.15e4</samp>’ are five ways of writing a floating-point number whose value is 1500. They are all equivalent. </p> <p>See <a href="numbers">Numbers</a>, for more information. </p><div class="_attribution"> + <p class="_attribution-p"> + Copyright © 1990-1996, 1998-2022 Free Software Foundation, Inc. <br>Licensed under the GNU GPL license.<br> + <a href="https://www.gnu.org/software/emacs/manual/html_node/elisp/Floating_002dPoint-Type.html" class="_attribution-link">https://www.gnu.org/software/emacs/manual/html_node/elisp/Floating_002dPoint-Type.html</a> + </p> +</div> |
