Average Error: 0.0 → 0.0
Time: 1.7s
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 r25270 = x;
        double r25271 = 4.0;
        double r25272 = pow(r25270, r25271);
        double r25273 = y;
        double r25274 = pow(r25273, r25271);
        double r25275 = r25272 - r25274;
        return r25275;
}

double f(double x, double y) {
        double r25276 = x;
        double r25277 = 4.0;
        double r25278 = pow(r25276, r25277);
        double r25279 = y;
        double r25280 = pow(r25279, r25277);
        double r25281 = r25278 - r25280;
        return r25281;
}

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