[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lispref/numbers.texi,v
From: |
Richard M. Stallman |
Subject: |
[Emacs-diffs] Changes to emacs/lispref/numbers.texi,v |
Date: |
Sat, 07 Apr 2007 01:54:45 +0000 |
CVSROOT: /cvsroot/emacs
Module name: emacs
Changes by: Richard M. Stallman <rms> 07/04/07 01:54:45
Index: numbers.texi
===================================================================
RCS file: /cvsroot/emacs/emacs/lispref/numbers.texi,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -b -r1.44 -r1.45
--- numbers.texi 31 Mar 2007 14:31:39 -0000 1.44
+++ numbers.texi 7 Apr 2007 01:54:45 -0000 1.45
@@ -268,9 +268,8 @@
@node Comparison of Numbers
@section Comparison of Numbers
address@hidden number equality
@cindex number comparison
address@hidden compare numbers
address@hidden comparing numbers
To test numbers for numerical equality, you should normally use
@code{=}, not @code{eq}. There can be many distinct floating point
@@ -391,8 +390,8 @@
@node Numeric Conversions
@section Numeric Conversions
@cindex rounding in conversions
address@hidden numeric conversions
address@hidden convert number
address@hidden number conversions
address@hidden converting numbers
To convert an integer to floating point, use the function @code{float}.
@@ -738,6 +737,8 @@
@node Bitwise Operations
@section Bitwise Operations on Integers
address@hidden bitwise arithmetic
address@hidden logical arithmetic
In a computer, an integer is represented as a binary number, a
sequence of @dfn{bits} (digits which are either zero or one). A bitwise
@@ -919,8 +920,6 @@
@end defun
@defun logand &rest ints-or-markers
address@hidden logical and
address@hidden bitwise and
This function returns the ``logical and'' of the arguments: the
@var{n}th bit is set in the result if, and only if, the @var{n}th bit is
set in all the arguments. (``Set'' means that the value of the bit is 1
@@ -972,8 +971,6 @@
@end defun
@defun logior &rest ints-or-markers
address@hidden logical inclusive or
address@hidden bitwise or
This function returns the ``inclusive or'' of its arguments: the @var{n}th bit
is set in the result if, and only if, the @var{n}th bit is set in at least
one of the arguments. If there are no arguments, the result is zero,
@@ -999,8 +996,6 @@
@end defun
@defun logxor &rest ints-or-markers
address@hidden bitwise exclusive or
address@hidden logical exclusive or
This function returns the ``exclusive or'' of its arguments: the
@var{n}th bit is set in the result if, and only if, the @var{n}th bit is
set in an odd number of the arguments. If there are no arguments, the
@@ -1026,8 +1021,6 @@
@end defun
@defun lognot integer
address@hidden logical not
address@hidden bitwise not
This function returns the logical complement of its argument: the @var{n}th
bit is one in the result if, and only if, the @var{n}th bit is zero in
@var{integer}, and vice-versa.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] Changes to emacs/lispref/numbers.texi,v,
Richard M. Stallman <=