Average Error: 0.0 → 0.0
Time: 4.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 r86470 = x;
        double r86471 = 4.0;
        double r86472 = pow(r86470, r86471);
        double r86473 = y;
        double r86474 = pow(r86473, r86471);
        double r86475 = r86472 - r86474;
        return r86475;
}

double f(double x, double y) {
        double r86476 = x;
        double r86477 = 4.0;
        double r86478 = pow(r86476, r86477);
        double r86479 = y;
        double r86480 = pow(r86479, r86477);
        double r86481 = r86478 - r86480;
        return r86481;
}

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