Print

Print


On Sep 5, 2009, at 1:44 AM, Zheng Yin wrote:

> Found my problem. It turned out the answer is: the protected  
> division in
> ECJ (the one in ecj\ec\app\regression\func)and the one in Matlab,  
> which is
> from GPLAB are different. The answer from ECJ protected division  
> equals
> one if denominator is zero. The answer for GPLAB's protected  
> division is
> numerator if denominator is zero.
> :) which one is better?
>
> Zheng


ECJ follows the Koza tradition.  GPLAB may not.  Koza's approach may  
not be the best, and there's no reason for GPLAB not to do something  
else.  However it's possible this wasn't intentional.  I'm cc:ing Sara  
Silva, who wrote GPLAB, in case it might be an undocumented bug. [Hi  
Sara!]

Sean