Average Error: 0.0 → 0.0
Time: 3.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 r31704 = x;
        double r31705 = 4.0;
        double r31706 = pow(r31704, r31705);
        double r31707 = y;
        double r31708 = pow(r31707, r31705);
        double r31709 = r31706 - r31708;
        return r31709;
}

double f(double x, double y) {
        double r31710 = x;
        double r31711 = 4.0;
        double r31712 = pow(r31710, r31711);
        double r31713 = y;
        double r31714 = pow(r31713, r31711);
        double r31715 = r31712 - r31714;
        return r31715;
}

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