From help-request at octave dot org Sat Feb 12 09:42:19 2005 Subject: Data types (was: Re: Access the neighbors of an element) From: Joerg Sommer To: help at octave dot org Date: Sat, 12 Feb 2005 13:15:37 +0000 (UTC) "John W. Eaton" wrote: > On 12-Feb-2005, Joerg Sommer wrote: > > | Is it possible to tell octave it should use integer data types? I don't > | need floating point operations. > > As of 2.1.64, Octave has integer data types with operations that > should be compatible with Matlab 7.x. There are the usual +, -, .*, > ./, etc. ops on signed and unsigned 8-, 16-, and 32-bit integer types. How are data types set? > Unfortuantely, compatibility dictates that the operations on the > elements are done using doubles with the result converted back to ints And a switch "matlab_compatible=0"? Or special octave types? Jörg. -- Alles Gute wächst im Dunklen, bis es stark genug ist, ans Tageslicht zu kommen. ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------