Average Error: 0.0 → 0.0
Time: 1.4s
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 r27333 = x;
        double r27334 = 4.0;
        double r27335 = pow(r27333, r27334);
        double r27336 = y;
        double r27337 = pow(r27336, r27334);
        double r27338 = r27335 - r27337;
        return r27338;
}

double f(double x, double y) {
        double r27339 = x;
        double r27340 = 4.0;
        double r27341 = pow(r27339, r27340);
        double r27342 = y;
        double r27343 = pow(r27342, r27340);
        double r27344 = r27341 - r27343;
        return r27344;
}

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