checked int-int conversions

John W. Eaton jwe at bevo.che.wisc.edu
Wed Jul 30 14:08:40 CDT 2008


On 30-Jul-2008, Jaroslav Hajek wrote:

| please consider for applying the attached patch that implements
| checked integer conversions - applies to converting
| octave_int<T>, intXXNDArray and octave_intXX_matrix objects, as well
| as Octave's builtin intXX and uintXX conversions.

OK, now I'm a bit confused because I was expecting a much smaller
change that would just add some warning if an attempt was made to
convert a value to native int and the value was out of range.  Can you
give some details about the intent of this patch?

Thanks,

jwe


More information about the Octave-maintainers mailing list