Average Error: 0.0 → 0.0
Time: 9.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 r1252813 = x;
        double r1252814 = 4.0;
        double r1252815 = pow(r1252813, r1252814);
        double r1252816 = y;
        double r1252817 = pow(r1252816, r1252814);
        double r1252818 = r1252815 - r1252817;
        return r1252818;
}

double f(double x, double y) {
        double r1252819 = x;
        double r1252820 = 4.0;
        double r1252821 = pow(r1252819, r1252820);
        double r1252822 = y;
        double r1252823 = pow(r1252822, r1252820);
        double r1252824 = r1252821 - r1252823;
        return r1252824;
}

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