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 r9325 = x;
        double r9326 = 4.0;
        double r9327 = pow(r9325, r9326);
        double r9328 = y;
        double r9329 = pow(r9328, r9326);
        double r9330 = r9327 - r9329;
        return r9330;
}

double f(double x, double y) {
        double r9331 = x;
        double r9332 = 4.0;
        double r9333 = pow(r9331, r9332);
        double r9334 = y;
        double r9335 = pow(r9334, r9332);
        double r9336 = r9333 - r9335;
        return r9336;
}

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