Average Error: 0.0 → 0.0
Time: 14.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 r283767 = x;
        double r283768 = 4.0;
        double r283769 = pow(r283767, r283768);
        double r283770 = y;
        double r283771 = pow(r283770, r283768);
        double r283772 = r283769 - r283771;
        return r283772;
}

double f(double x, double y) {
        double r283773 = x;
        double r283774 = 4.0;
        double r283775 = pow(r283773, r283774);
        double r283776 = y;
        double r283777 = pow(r283776, r283774);
        double r283778 = r283775 - r283777;
        return r283778;
}

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 2019143 +o rules:numerics
(FPCore (x y)
  :name "Radioactive exchange between two surfaces"
  (- (pow x 4) (pow y 4)))