Average Error: 0.0 → 0.0
Time: 11.2s
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 r369079 = x;
        double r369080 = 4.0;
        double r369081 = pow(r369079, r369080);
        double r369082 = y;
        double r369083 = pow(r369082, r369080);
        double r369084 = r369081 - r369083;
        return r369084;
}

double f(double x, double y) {
        double r369085 = x;
        double r369086 = 4.0;
        double r369087 = pow(r369085, r369086);
        double r369088 = y;
        double r369089 = pow(r369088, r369086);
        double r369090 = r369087 - r369089;
        return r369090;
}

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