Average Error: 0.0 → 0.0
Time: 14.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 r310551 = x;
        double r310552 = 4.0;
        double r310553 = pow(r310551, r310552);
        double r310554 = y;
        double r310555 = pow(r310554, r310552);
        double r310556 = r310553 - r310555;
        return r310556;
}

double f(double x, double y) {
        double r310557 = x;
        double r310558 = 4.0;
        double r310559 = pow(r310557, r310558);
        double r310560 = y;
        double r310561 = pow(r310560, r310558);
        double r310562 = r310559 - r310561;
        return r310562;
}

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