Average Error: 0.0 → 0.0
Time: 2.6s
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 r15791 = x;
        double r15792 = 4.0;
        double r15793 = pow(r15791, r15792);
        double r15794 = y;
        double r15795 = pow(r15794, r15792);
        double r15796 = r15793 - r15795;
        return r15796;
}

double f(double x, double y) {
        double r15797 = x;
        double r15798 = 4.0;
        double r15799 = pow(r15797, r15798);
        double r15800 = y;
        double r15801 = pow(r15800, r15798);
        double r15802 = r15799 - r15801;
        return r15802;
}

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