octave-maintainers
[Top][All Lists]
Advanced

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

Re: integer math warnings


From: David Bateman
Subject: Re: integer math warnings
Date: Tue, 09 Mar 2010 00:09:41 +0100
User-agent: Mozilla-Thunderbird 2.0.0.22 (X11/20090706)

Michael D. Godfrey wrote:
On 3/8/10 3:39 AM, Jaroslav Hajek wrote:
hi all,

I have learnt that Matlab is removing the integer math warnings in the
newest release:
http://www.mathworks.com/access/helpdesk/help/techdoc/rn/bsdgysw-1.html#bse_gbf-1

Frankly, these warnings only make things more complicated for Octave,
too. They force the use of global flags in the saturated integer math
implementations,
which is ugly, problematic with possible threading, and probably slows
things down somewhat.

Does anyone rely on these? Is it OK if we remove them, too?

Fine with me :-)

As I added these flags I suppose I should give my blessing to remove them. Frankly, I added them as being matlab compatible and they seemed to make sense to help find over/underflows in algorithms. And as I'd worked with fixed point algorithms in the past this seemed to make sense.

If matlab gets rid of them, presumely for reasons of speed, I suppose the advantages of having them comes down purely to finding under/overflows..... I'd say drop them in that case

D.


--
David Bateman                                address@hidden
35 rue Gambetta                              +33 1 46 04 02 18 (Home)
92100 Boulogne-Billancourt FRANCE            +33 6 72 01 06 33 (Mob)



reply via email to

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