Average Error: 0.0 → 0.0
Time: 4.4s
Precision: 64
\[{x}^{4} - {y}^{4}\]
\[{x}^{4} - {y}^{4}\]
{x}^{4} - {y}^{4}
{x}^{4} - {y}^{4}
double f(double x, double y) {
        double r44621 = x;
        double r44622 = 4.0;
        double r44623 = pow(r44621, r44622);
        double r44624 = y;
        double r44625 = pow(r44624, r44622);
        double r44626 = r44623 - r44625;
        return r44626;
}

double f(double x, double y) {
        double r44627 = x;
        double r44628 = 4.0;
        double r44629 = pow(r44627, r44628);
        double r44630 = y;
        double r44631 = pow(r44630, r44628);
        double r44632 = r44629 - r44631;
        return r44632;
}

Error

Bits error versus x

Bits error versus y

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 0.0

    \[{x}^{4} - {y}^{4}\]
  2. Final simplification0.0

    \[\leadsto {x}^{4} - {y}^{4}\]

Reproduce

herbie shell --seed 2019154 +o rules:numerics
(FPCore (x y)
  :name "Radioactive exchange between two surfaces"
  (- (pow x 4) (pow y 4)))