Average Error: 0.0 → 0.0
Time: 3.2s
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 r15889 = x;
        double r15890 = 4.0;
        double r15891 = pow(r15889, r15890);
        double r15892 = y;
        double r15893 = pow(r15892, r15890);
        double r15894 = r15891 - r15893;
        return r15894;
}

double f(double x, double y) {
        double r15895 = x;
        double r15896 = 4.0;
        double r15897 = pow(r15895, r15896);
        double r15898 = y;
        double r15899 = pow(r15898, r15896);
        double r15900 = r15897 - r15899;
        return r15900;
}

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