Average Error: 0.0 → 0.0
Time: 14.6s
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 r33165 = x;
        double r33166 = 4.0;
        double r33167 = pow(r33165, r33166);
        double r33168 = y;
        double r33169 = pow(r33168, r33166);
        double r33170 = r33167 - r33169;
        return r33170;
}

double f(double x, double y) {
        double r33171 = x;
        double r33172 = 4.0;
        double r33173 = pow(r33171, r33172);
        double r33174 = y;
        double r33175 = pow(r33174, r33172);
        double r33176 = r33173 - r33175;
        return r33176;
}

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