Average Error: 0.0 → 0.0
Time: 1.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 r31406 = x;
        double r31407 = 4.0;
        double r31408 = pow(r31406, r31407);
        double r31409 = y;
        double r31410 = pow(r31409, r31407);
        double r31411 = r31408 - r31410;
        return r31411;
}

double f(double x, double y) {
        double r31412 = x;
        double r31413 = 4.0;
        double r31414 = pow(r31412, r31413);
        double r31415 = y;
        double r31416 = pow(r31415, r31413);
        double r31417 = r31414 - r31416;
        return r31417;
}

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