Average Error: 0.0 → 0.0
Time: 1.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 r29173 = x;
        double r29174 = 4.0;
        double r29175 = pow(r29173, r29174);
        double r29176 = y;
        double r29177 = pow(r29176, r29174);
        double r29178 = r29175 - r29177;
        return r29178;
}

double f(double x, double y) {
        double r29179 = x;
        double r29180 = 4.0;
        double r29181 = pow(r29179, r29180);
        double r29182 = y;
        double r29183 = pow(r29182, r29180);
        double r29184 = r29181 - r29183;
        return r29184;
}

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