Average Error: 0.0 → 0.0
Time: 4.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 r19348 = x;
        double r19349 = 4.0;
        double r19350 = pow(r19348, r19349);
        double r19351 = y;
        double r19352 = pow(r19351, r19349);
        double r19353 = r19350 - r19352;
        return r19353;
}

double f(double x, double y) {
        double r19354 = x;
        double r19355 = 4.0;
        double r19356 = pow(r19354, r19355);
        double r19357 = y;
        double r19358 = pow(r19357, r19355);
        double r19359 = r19356 - r19358;
        return r19359;
}

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