checked int-int conversions
dbateman
dbateman at free.fr
Wed Jul 30 14:57:49 CDT 2008
John W. Eaton wrote:
>
>
> OK, now I also see that Matlab has a similar optional warning. I'll
> apply the patch.
>
> In Matlab, the warning is controlled with the warning ID
> MATLAB:intConvertOverflow. Should we use the same tag (but with an
> Octave: prefix)? Then if we also modified the warning_with_id
> function to convert a "MATLAB:" warning ID prefix to "Octave:" before
> comparing IDs it would be easier to write portable code.
>
If you do then maybe the maybe we should add
intConvertNaN
intConvertNonIntVal
intMathOverflow
as well and thus also the intwarning function.
D.
Thanks,
jwe
--
View this message in context: http://www.nabble.com/checked-int-int-conversions-tp18734247p18741431.html
Sent from the Octave - Maintainers mailing list archive at Nabble.com.
More information about the Octave-maintainers
mailing list