Average Error: 0.0 → 0.0
Time: 6.8s
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 r25039 = x;
        double r25040 = 4.0;
        double r25041 = pow(r25039, r25040);
        double r25042 = y;
        double r25043 = pow(r25042, r25040);
        double r25044 = r25041 - r25043;
        return r25044;
}

double f(double x, double y) {
        double r25045 = x;
        double r25046 = 4.0;
        double r25047 = pow(r25045, r25046);
        double r25048 = y;
        double r25049 = pow(r25048, r25046);
        double r25050 = r25047 - r25049;
        return r25050;
}

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