Average Error: 0.0 → 0.0
Time: 3.6s
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 r9336 = x;
        double r9337 = 4.0;
        double r9338 = pow(r9336, r9337);
        double r9339 = y;
        double r9340 = pow(r9339, r9337);
        double r9341 = r9338 - r9340;
        return r9341;
}

double f(double x, double y) {
        double r9342 = x;
        double r9343 = 4.0;
        double r9344 = pow(r9342, r9343);
        double r9345 = y;
        double r9346 = pow(r9345, r9343);
        double r9347 = r9344 - r9346;
        return r9347;
}

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