Average Error: 0.0 → 0.0
Time: 5.1s
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 r984421 = x;
        double r984422 = 4.0;
        double r984423 = pow(r984421, r984422);
        double r984424 = y;
        double r984425 = pow(r984424, r984422);
        double r984426 = r984423 - r984425;
        return r984426;
}

double f(double x, double y) {
        double r984427 = x;
        double r984428 = 4.0;
        double r984429 = pow(r984427, r984428);
        double r984430 = y;
        double r984431 = pow(r984430, r984428);
        double r984432 = r984429 - r984431;
        return r984432;
}

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 2019169 
(FPCore (x y)
  :name "Radioactive exchange between two surfaces"
  (- (pow x 4.0) (pow y 4.0)))