https://bz.apache.org/bugzilla/show_bug.cgi?id=62121

--- Comment #16 from PJ Fanning <[email protected]> ---
I had to modify the attached patch to keep the existing unit tests working.

    public static final Function PowerEval = new TwoOperandNumericOperation() {
        protected double evaluate(double d0, double d1) {
            if (d0 < 0.0 && Math.abs(d1) > 0.0 && Math.abs(d1) < 1.0) {
                return -1 * Math.pow(d0 * -1, d1);
            }
            return Math.pow(d0, d1);
        }
    };

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to