octave-maintainers
[Top][All Lists]
Advanced

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

Re: checked int-int conversions


From: dbateman
Subject: Re: checked int-int conversions
Date: Wed, 30 Jul 2008 12:57:49 -0700 (PDT)



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.



reply via email to

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