Average Error: 0.0 → 0.0
Time: 4.5s
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 r60813 = x;
        double r60814 = 4.0;
        double r60815 = pow(r60813, r60814);
        double r60816 = y;
        double r60817 = pow(r60816, r60814);
        double r60818 = r60815 - r60817;
        return r60818;
}

double f(double x, double y) {
        double r60819 = x;
        double r60820 = 4.0;
        double r60821 = pow(r60819, r60820);
        double r60822 = y;
        double r60823 = pow(r60822, r60820);
        double r60824 = r60821 - r60823;
        return r60824;
}

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