Average Error: 0.0 → 0.0
Time: 3.1s
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 r9328 = x;
        double r9329 = 4.0;
        double r9330 = pow(r9328, r9329);
        double r9331 = y;
        double r9332 = pow(r9331, r9329);
        double r9333 = r9330 - r9332;
        return r9333;
}

double f(double x, double y) {
        double r9334 = x;
        double r9335 = 4.0;
        double r9336 = pow(r9334, r9335);
        double r9337 = y;
        double r9338 = pow(r9337, r9335);
        double r9339 = r9336 - r9338;
        return r9339;
}

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