Average Error: 0.0 → 0.0
Time: 6.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 r48782 = x;
        double r48783 = 4.0;
        double r48784 = pow(r48782, r48783);
        double r48785 = y;
        double r48786 = pow(r48785, r48783);
        double r48787 = r48784 - r48786;
        return r48787;
}

double f(double x, double y) {
        double r48788 = x;
        double r48789 = 4.0;
        double r48790 = pow(r48788, r48789);
        double r48791 = y;
        double r48792 = pow(r48791, r48789);
        double r48793 = r48790 - r48792;
        return r48793;
}

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