Average Error: 0.0 → 0.0
Time: 5.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 r1007854 = x;
        double r1007855 = 4.0;
        double r1007856 = pow(r1007854, r1007855);
        double r1007857 = y;
        double r1007858 = pow(r1007857, r1007855);
        double r1007859 = r1007856 - r1007858;
        return r1007859;
}

double f(double x, double y) {
        double r1007860 = x;
        double r1007861 = 4.0;
        double r1007862 = pow(r1007860, r1007861);
        double r1007863 = y;
        double r1007864 = pow(r1007863, r1007861);
        double r1007865 = r1007862 - r1007864;
        return r1007865;
}

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