Mercurial > emacs
diff lispref/numbers.texi @ 76837:4f96f3f74c69
Improve indexing.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Sat, 31 Mar 2007 14:37:05 +0000 |
parents | 8c3661f15764 |
children | 1f4b88ab053d |
line wrap: on
line diff
--- a/lispref/numbers.texi Sat Mar 31 13:57:00 2007 +0000 +++ b/lispref/numbers.texi Sat Mar 31 14:37:05 2007 +0000 @@ -222,6 +222,7 @@ @node Predicates on Numbers @section Type Predicates for Numbers +@cindex predicates for numbers The functions in this section test for numbers, or for a specific type of number. The functions @code{integerp} and @code{floatp} can @@ -268,6 +269,8 @@ @node Comparison of Numbers @section Comparison of Numbers @cindex number equality +@cindex number comparison +@cindex compare numbers To test numbers for numerical equality, you should normally use @code{=}, not @code{eq}. There can be many distinct floating point @@ -388,6 +391,8 @@ @node Numeric Conversions @section Numeric Conversions @cindex rounding in conversions +@cindex numeric conversions +@cindex convert number To convert an integer to floating point, use the function @code{float}.