Average Error: 0.0 → 0.0
Time: 9.3s
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 r1119394 = x;
        double r1119395 = 4.0;
        double r1119396 = pow(r1119394, r1119395);
        double r1119397 = y;
        double r1119398 = pow(r1119397, r1119395);
        double r1119399 = r1119396 - r1119398;
        return r1119399;
}

double f(double x, double y) {
        double r1119400 = x;
        double r1119401 = 4.0;
        double r1119402 = pow(r1119400, r1119401);
        double r1119403 = y;
        double r1119404 = pow(r1119403, r1119401);
        double r1119405 = r1119402 - r1119404;
        return r1119405;
}

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