Average Error: 0.0 → 0.0
Time: 2.9s
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 r17838 = x;
        double r17839 = 4.0;
        double r17840 = pow(r17838, r17839);
        double r17841 = y;
        double r17842 = pow(r17841, r17839);
        double r17843 = r17840 - r17842;
        return r17843;
}

double f(double x, double y) {
        double r17844 = x;
        double r17845 = 4.0;
        double r17846 = pow(r17844, r17845);
        double r17847 = y;
        double r17848 = pow(r17847, r17845);
        double r17849 = r17846 - r17848;
        return r17849;
}

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