Average Error: 0.0 → 0.0
Time: 2.9s
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 r9323 = x;
        double r9324 = 4.0;
        double r9325 = pow(r9323, r9324);
        double r9326 = y;
        double r9327 = pow(r9326, r9324);
        double r9328 = r9325 - r9327;
        return r9328;
}

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

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