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 r24503 = x;
        double r24504 = 4.0;
        double r24505 = pow(r24503, r24504);
        double r24506 = y;
        double r24507 = pow(r24506, r24504);
        double r24508 = r24505 - r24507;
        return r24508;
}

double f(double x, double y) {
        double r24509 = x;
        double r24510 = 4.0;
        double r24511 = pow(r24509, r24510);
        double r24512 = y;
        double r24513 = pow(r24512, r24510);
        double r24514 = r24511 - r24513;
        return r24514;
}

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