Average Error: 0.0 → 0.0
Time: 8.5s
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 r14871 = x;
        double r14872 = 4.0;
        double r14873 = pow(r14871, r14872);
        double r14874 = y;
        double r14875 = pow(r14874, r14872);
        double r14876 = r14873 - r14875;
        return r14876;
}

double f(double x, double y) {
        double r14877 = x;
        double r14878 = 4.0;
        double r14879 = pow(r14877, r14878);
        double r14880 = y;
        double r14881 = pow(r14880, r14878);
        double r14882 = r14879 - r14881;
        return r14882;
}

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