emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lispref/numbers.texi


From: Juanma Barranquero
Subject: [Emacs-diffs] Changes to emacs/lispref/numbers.texi
Date: Tue, 04 Feb 2003 09:48:09 -0500

Index: emacs/lispref/numbers.texi
diff -c emacs/lispref/numbers.texi:1.22 emacs/lispref/numbers.texi:1.23
*** emacs/lispref/numbers.texi:1.22     Sat Dec  7 06:32:53 2002
--- emacs/lispref/numbers.texi  Tue Feb  4 09:47:54 2003
***************
*** 1,7 ****
  @c -*-texinfo-*-
  @c This is part of the GNU Emacs Lisp Reference Manual.
  @c Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1998, 1999
! @c   Free Software Foundation, Inc. 
  @c See the file elisp.texi for copying conditions.
  @setfilename ../info/numbers
  @node Numbers, Strings and Characters, Lisp Data Types, Top
--- 1,7 ----
  @c -*-texinfo-*-
  @c This is part of the GNU Emacs Lisp Reference Manual.
  @c Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1998, 1999
! @c   Free Software Foundation, Inc.
  @c See the file elisp.texi for copying conditions.
  @setfilename ../info/numbers
  @node Numbers, Strings and Characters, Lisp Data Types, Top
***************
*** 40,53 ****
  @ifnottex
  -2**27
  @end ifnottex
! @tex 
  @math{-2^{27}}
  @end tex
! to 
  @ifnottex
  2**27 - 1),
  @end ifnottex
! @tex 
  @math{2^{27}-1}),
  @end tex
  but some machines may provide a wider range.  Many examples in this
--- 40,53 ----
  @ifnottex
  -2**27
  @end ifnottex
! @tex
  @math{-2^{27}}
  @end tex
! to
  @ifnottex
  2**27 - 1),
  @end ifnottex
! @tex
  @math{2^{27}-1}),
  @end tex
  but some machines may provide a wider range.  Many examples in this
***************
*** 746,752 ****
  (lsh 3 2)
       @result{} 12
  ;; @r{Decimal 3 becomes decimal 12.}
! 00000011 @result{} 00001100       
  @end group
  @end example
  
--- 746,752 ----
  (lsh 3 2)
       @result{} 12
  ;; @r{Decimal 3 becomes decimal 12.}
! 00000011 @result{} 00001100
  @end group
  @end example
  
***************
*** 757,770 ****
  (lsh 6 -1)
       @result{} 3
  ;; @r{Decimal 6 becomes decimal 3.}
! 00000110 @result{} 00000011       
  @end group
  
  @group
  (lsh 5 -1)
       @result{} 2
  ;; @r{Decimal 5 becomes decimal 2.}
! 00000101 @result{} 00000010       
  @end group
  @end example
  
--- 757,770 ----
  (lsh 6 -1)
       @result{} 3
  ;; @r{Decimal 6 becomes decimal 3.}
! 00000110 @result{} 00000011
  @end group
  
  @group
  (lsh 5 -1)
       @result{} 2
  ;; @r{Decimal 5 becomes decimal 2.}
! 00000101 @result{} 00000010
  @end group
  @end example
  
***************
*** 787,793 ****
  @example
  @group
  ;; @r{Decimal 134,217,727}
! 0111  1111 1111  1111 1111  1111 1111         
  @end group
  @end example
  
--- 787,793 ----
  @example
  @group
  ;; @r{Decimal 134,217,727}
! 0111  1111 1111  1111 1111  1111 1111
  @end group
  @end example
  
***************
*** 797,803 ****
  @example
  @group
  ;; @r{Decimal @minus{}2}
! 1111  1111 1111  1111 1111  1111 1110         
  @end group
  @end example
  @end defun
--- 797,803 ----
  @example
  @group
  ;; @r{Decimal @minus{}2}
! 1111  1111 1111  1111 1111  1111 1110
  @end group
  @end example
  @end defun
***************
*** 818,827 ****
  
  @example
  @group
! (ash -6 -1) @result{} -3            
  ;; @r{Decimal @minus{}6 becomes decimal @minus{}3.}
  1111  1111 1111  1111 1111  1111 1010
!      @result{} 
  1111  1111 1111  1111 1111  1111 1101
  @end group
  @end example
--- 818,827 ----
  
  @example
  @group
! (ash -6 -1) @result{} -3
  ;; @r{Decimal @minus{}6 becomes decimal @minus{}3.}
  1111  1111 1111  1111 1111  1111 1010
!      @result{}
  1111  1111 1111  1111 1111  1111 1101
  @end group
  @end example
***************
*** 834,840 ****
  (lsh -6 -1) @result{} 134217725
  ;; @r{Decimal @minus{}6 becomes decimal 134,217,725.}
  1111  1111 1111  1111 1111  1111 1010
!      @result{} 
  0111  1111 1111  1111 1111  1111 1101
  @end group
  @end example
--- 834,840 ----
  (lsh -6 -1) @result{} 134217725
  ;; @r{Decimal @minus{}6 becomes decimal 134,217,725.}
  1111  1111 1111  1111 1111  1111 1010
!      @result{}
  0111  1111 1111  1111 1111  1111 1101
  @end group
  @end example
***************
*** 992,998 ****
  @var{integer}, and vice-versa.
  
  @example
! (lognot 5)             
       @result{} -6
  ;;  5  =  @r{0000  0000 0000  0000 0000  0000 0101}
  ;; @r{becomes}
--- 992,998 ----
  @var{integer}, and vice-versa.
  
  @example
! (lognot 5)
       @result{} -6
  ;;  5  =  @r{0000  0000 0000  0000 0000  0000 0101}
  ;; @r{becomes}




reply via email to

[Prev in Thread] Current Thread [Next in Thread]