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 r21870 = x;
        double r21871 = 4.0;
        double r21872 = pow(r21870, r21871);
        double r21873 = y;
        double r21874 = pow(r21873, r21871);
        double r21875 = r21872 - r21874;
        return r21875;
}

double f(double x, double y) {
        double r21876 = x;
        double r21877 = 4.0;
        double r21878 = pow(r21876, r21877);
        double r21879 = y;
        double r21880 = pow(r21879, r21877);
        double r21881 = r21878 - r21880;
        return r21881;
}

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