Average Error: 0.0 → 0.0
Time: 1.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 r23896 = x;
        double r23897 = 4.0;
        double r23898 = pow(r23896, r23897);
        double r23899 = y;
        double r23900 = pow(r23899, r23897);
        double r23901 = r23898 - r23900;
        return r23901;
}

double f(double x, double y) {
        double r23902 = x;
        double r23903 = 4.0;
        double r23904 = pow(r23902, r23903);
        double r23905 = y;
        double r23906 = pow(r23905, r23903);
        double r23907 = r23904 - r23906;
        return r23907;
}

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