Average Error: 0.0 → 0.0
Time: 5.7s
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 r24247 = x;
        double r24248 = 4.0;
        double r24249 = pow(r24247, r24248);
        double r24250 = y;
        double r24251 = pow(r24250, r24248);
        double r24252 = r24249 - r24251;
        return r24252;
}

double f(double x, double y) {
        double r24253 = x;
        double r24254 = 4.0;
        double r24255 = pow(r24253, r24254);
        double r24256 = y;
        double r24257 = pow(r24256, r24254);
        double r24258 = r24255 - r24257;
        return r24258;
}

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