Average Error: 0.0 → 0.0
Time: 9.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 r1546805 = x;
        double r1546806 = 4.0;
        double r1546807 = pow(r1546805, r1546806);
        double r1546808 = y;
        double r1546809 = pow(r1546808, r1546806);
        double r1546810 = r1546807 - r1546809;
        return r1546810;
}

double f(double x, double y) {
        double r1546811 = x;
        double r1546812 = 4.0;
        double r1546813 = pow(r1546811, r1546812);
        double r1546814 = y;
        double r1546815 = pow(r1546814, r1546812);
        double r1546816 = r1546813 - r1546815;
        return r1546816;
}

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 2019192 
(FPCore (x y)
  :name "Radioactive exchange between two surfaces"
  (- (pow x 4.0) (pow y 4.0)))