changeset 11376:567ca09a97aa

Remove obsolete documentation about 64-bit integer arithmetic.
author Rik <octave@nomad.inbox5.com>
date Fri, 17 Dec 2010 09:39:40 -0800
parents 572a318eb715
children 473e4adaa5a2
files doc/ChangeLog doc/interpreter/numbers.txi
diffstat 2 files changed, 7 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/doc/ChangeLog
+++ b/doc/ChangeLog
@@ -1,3 +1,8 @@
+2010-12-17  Rik  <octave@nomad.inbox5.com>
+
+	* interpreter/numbers.txi: Remove obsolete documentation about 64-bit
+	integer arithmetic.
+
 2010-12-16  Rik  <octave@nomad.inbox5.com>
 
 	* interpreter/doccheck/mk_undocumented_list: Update list of exception
--- a/doc/interpreter/numbers.txi
+++ b/doc/interpreter/numbers.txi
@@ -552,13 +552,6 @@
 work on integers of the same type.  So, it is possible to add two 32 bit
 integers, but not to add a 32 bit integer and a 16 bit integer.
 
-The arithmetic operations on integers are performed by casting the
-integer values to double precision values, performing the operation, and
-then re-casting the values back to the original integer type.  As the
-double precision type of Octave is only capable of representing integers
-with up to 53 bits of precision, it is not possible to perform
-arithmetic with 64 bit integer types.
-
 When doing integer arithmetic one should consider the possibility of
 underflow and overflow.  This happens when the result of the computation
 can't be represented using the chosen integer type.  As an example it is
@@ -570,7 +563,7 @@
 When doing integer division Octave will round the result to the nearest
 integer.  This is different from most programming languages, where the
 result is often floored to the nearest integer.  So, the result of
-@code{int32(5)./int32(8)} is @code{1}.
+@code{int32(5) ./ int32(8)} is @code{1}.
 
 @DOCSTRING(idivide)
 
@@ -689,7 +682,7 @@
 
 @noindent
 Instead of creating the @code{idx} array it is possible to replace
-@code{data(idx)} with @code{data( data <= 2 )} in the above code.
+@code{data(idx)} with @w{@code{data( data <= 2 )}} in the above code.
 
 Logical values can also be constructed by
 casting numeric objects to logical values, or by using the @code{true}