RE: Math crashes with translated programs (Rob?)

new topic     » goto parent     » topic index » view thread      » older message » newer message

> > Is this a problem for any calculation involving two integers (like 
> > addition), or just multiplication?
> 
> I think it would mainly occur with multiplication, but might happen
> with addition and some other operations too. I'll check.
> Note that it will only happen when the result of the calculation 
> exceeds +/- 1.07 billion. 
> 

I was just doing some more tests on this.  I have only found errors with 
multiplication so far.  I guess division isn't possible because in would 
have to divide by a decimal number to get bigger.  Addition seems ok.

Note that sometimes it doesn't crash, but simply gives a completely 
wrong answer, so this could be affecting existing code without anyone 
noticing.

This came up in my genetic programming system, which does all manner of 
random mathematical calculations, so I have the perfect testbed I guess.

> > Can we get a quick patch on this, or will it be a long time?
> 
> When I fix it, I'll send you a new ecw.exe to test for me.
> This is the first bug reported in the Translator since 2.3
> was released. Lots of large programs are running flawlessly.
> There's a lot of overhead in doing a proper release, 
> for example I would have to build and test 8 different versions 
> of the Translator (4 platforms x (PD + Complete)), plus 14 different
> versions of the library (7 different C compilers),
> update the Web site, respond to e-mails from all the registered users
> who want a free upgrade etc. Then a day later someone would
> report another bug. So I'll probably wait at least a couple of
> months before doing a full 2.4 release, and include a bunch of
> enhancements and bug fixes in one batch.
> 

Understood.  If I could get the test version in the meantime, that's 
good enough for me....

Thanks,

Andy Serpa

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu