Re: Math crashes with translated programs (Rob?)

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

Andy Serpa writes:
> Is there any easy way to force all atoms to be considered floats?

For the time being, it would be safer to add ".0" to any numbers 
used in an expression that is assigned to an atom variable. 
When I read through the Translator code some more, 
I'll have a better idea of exactly when the bug happens, 
and I'll report back.

> 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. 

> 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.

Regards,
   Rob Craig
   Rapid Deployment Software
   http://www.RapidEuphoria.com

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

Search



Quick Links

User menu

Not signed in.

Misc Menu