Average Error: 0.0 → 0.0
Time: 17.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 r1992091 = x;
        double r1992092 = 4.0;
        double r1992093 = pow(r1992091, r1992092);
        double r1992094 = y;
        double r1992095 = pow(r1992094, r1992092);
        double r1992096 = r1992093 - r1992095;
        return r1992096;
}

double f(double x, double y) {
        double r1992097 = x;
        double r1992098 = 4.0;
        double r1992099 = pow(r1992097, r1992098);
        double r1992100 = y;
        double r1992101 = pow(r1992100, r1992098);
        double r1992102 = r1992099 - r1992101;
        return r1992102;
}

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