mixed type operations in Octave

John W. Eaton jwe at bevo.che.wisc.edu
Mon Sep 8 21:24:53 CDT 2008


On  8-Sep-2008, Jaroslav Hajek wrote:

| I'm working on a patch to improve integer arithmetics in Octave.

What do you mean by improve?  Make them faster?  I think that's OK,
but is it really worth the effort?

If you want to change the semantics so that they make better sense (or
at least are more like the semantics of similar operations in other
languages) then I think I'd have to vote no against doing that since
it will just be confusing for most users if integer operations work
differently in Octave and Matlab.  Also, while it might be tempting to
make mixed type operations work, it is a bit risky since whatever we
choose could end up being done differently in some future version of
Matlab.

jwe


More information about the Octave-maintainers mailing list