Average Error: 0.0 → 0.0
Time: 6.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 r104809 = x;
        double r104810 = 4.0;
        double r104811 = pow(r104809, r104810);
        double r104812 = y;
        double r104813 = pow(r104812, r104810);
        double r104814 = r104811 - r104813;
        return r104814;
}

double f(double x, double y) {
        double r104815 = x;
        double r104816 = 4.0;
        double r104817 = pow(r104815, r104816);
        double r104818 = y;
        double r104819 = pow(r104818, r104816);
        double r104820 = r104817 - r104819;
        return r104820;
}

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