[Top][All Lists]

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

int8(0) == int16(0) [ was Re: int8(0)==0 ? ]

From: Josep Monés i Teixidor
Subject: int8(0) == int16(0) [ was Re: int8(0)==0 ? ]
Date: Fri, 03 Sep 2004 18:29:41 +0200


I've tested now int8(0) == int16(0) and isequal(int8(0),int16(0)) and
these don't work. From documentation, I believe that MATLAB answers 1 to

octave:164> int8(0)==int16(0)
error: binary operator `==' not implemented for `int8 scalar' by `int16
scalar' operations
error: evaluating binary operator `==' near line 164, column 8
octave:164> isequal(int8(0),int16(0))
error: can't perform indexing operations for int8 scalar type
error: evaluating binary operator `==' near line 54, column 22
error: evaluating argument list element number 1
error: evaluating assignment expression near line 54, column 9
error: evaluating if command near line 27, column 5
error: evaluating for command near line 25, column 3
error: called from `isequal' in file

Josep Monés i Teixidor
Clau GnuPG: gpg --recv-keys 80E85CC4

Attachment: signature.asc
Description: This is a digitally signed message part

reply via email to

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