mixed type operations in Octave
John W. Eaton
jwe at bevo.che.wisc.edu
Tue Sep 9 09:07:50 CDT 2008
On 9-Sep-2008, Jaroslav Hajek wrote:
| What do you mean? int32(1) & int8(2) works, of course, but it does not
| do bitwise operation.
It works for you? This is what I see with the latest sources:
octave:1> int32(1) & int8(2)
error: binary operator `&' not implemented for `int32 scalar' by `int8 scalar' operations
octave:1> int32(1) | int8(2)
error: binary operator `|' not implemented for `int32 scalar' by `int8 scalar' operations
jwe
More information about the Octave-maintainers
mailing list