Mercurial > hg > xemacs-beta
diff man/lispref/numbers.texi @ 257:65c19d2020f7 r20-5b27
Import from CVS: tag r20-5b27
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:22:03 +0200 |
parents | 54cc21c15cbb |
children | 7df0dd720c89 |
line wrap: on
line diff
--- a/man/lispref/numbers.texi Mon Aug 13 10:21:19 2007 +0200 +++ b/man/lispref/numbers.texi Mon Aug 13 10:22:03 2007 +0200 @@ -10,12 +10,14 @@ XEmacs supports two numeric data types: @dfn{integers} and @dfn{floating point numbers}. Integers are whole numbers such as -@minus{}3, 0, 7, 13, and 511. Their values are exact. Floating point +@minus{}3, 0, #b0111, #xFEED, #o744. Their values are exact. The +number prefixes `#b', `#o', and `#x' are supported to represent numbers +in binary, octal, and hexadecimal notation (or radix). Floating point numbers are numbers with fractional parts, such as @minus{}4.5, 0.0, or -2.71828. They can also be expressed in exponential notation: -1.5e2 equals 150; in this example, @samp{e2} stands for ten to the -second power, and is multiplied by 1.5. Floating point values are not -exact; they have a fixed, limited amount of precision. +2.71828. They can also be expressed in exponential notation: 1.5e2 +equals 150; in this example, @samp{e2} stands for ten to the second +power, and is multiplied by 1.5. Floating point values are not exact; +they have a fixed, limited amount of precision. @menu * Integer Basics:: Representation and range of integers.