From: Josep i T. <jm...@pu...> - 2004-09-14 19:38:08
|
Hi David! I apologize for the delay of my response... compiling Octave is sooo slow on my P2 :) On dv, 2004-09-10 at 10:54, David Bateman wrote: >=20 > octave:1> isnan(uint64(1)) > error: octave_base_value::double_value (): wrong type argument `uint64 sc= alar' > octave:2> isnan(uint64([1,1])) > ans =3D >=20 > 0 0 >=20 I've tested your patch on Octave CVS version from last friday (or thursday). It works for nan but I still have problems with test functions because of substraction not being implemented actually, but perhaps you already know this issue because I thing you and John were discussing how to implement operations on 64 bits types: octave:7> isnan(uint64(1)) ans =3D 0 octave:8> uint64(1)=3D=3Duint64(1) ans =3D 1 octave:9> uint64(1)-uint64(1) error: binary operator `-' not implemented for `uint64 scalar' by `uint64 scalar' operations error: evaluating binary operator `-' near line 9, column 10 octave:9> uint64(1)+uint64(1) error: binary operator `+' not implemented for `uint64 scalar' by `uint64 scalar' operations error: evaluating binary operator `+' near line 9, column 10 octave:9> assert(uint64(1),uint64(1)) error: binary operator `-' not implemented for `uint64 scalar' by `uint64 scalar' operations error: evaluating binary operator `-' near line 133, column 17 error: evaluating argument list element number 1 error: evaluating argument list element number 1 error: evaluating assignment expression near line 133, column 6 error: evaluating if command near line 132, column 7 error: evaluating if command near line 120, column 5 error: evaluating if command near line 58, column 3 error: called from `assert' in file `/home/josep/source/cvs/cvs.sourceforge.net/octave-forge/extra/testfun/asse= rt.m' I'll have to setup a cron job to compile Octave and octave-forge every night :) Regards --=20 Josep Mon=E9s i Teixidor Clau GnuPG: gpg --recv-keys 80E85CC4 |