Average Error: 0.0 → 0.0
Time: 5.3s
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 r1007856 = x;
        double r1007857 = 4.0;
        double r1007858 = pow(r1007856, r1007857);
        double r1007859 = y;
        double r1007860 = pow(r1007859, r1007857);
        double r1007861 = r1007858 - r1007860;
        return r1007861;
}

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

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