Average Error: 0.0 → 0.0
Time: 5.9s
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 r14028 = x;
        double r14029 = 4.0;
        double r14030 = pow(r14028, r14029);
        double r14031 = y;
        double r14032 = pow(r14031, r14029);
        double r14033 = r14030 - r14032;
        return r14033;
}

double f(double x, double y) {
        double r14034 = x;
        double r14035 = 4.0;
        double r14036 = pow(r14034, r14035);
        double r14037 = y;
        double r14038 = pow(r14037, r14035);
        double r14039 = r14036 - r14038;
        return r14039;
}

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