Average Error: 0.0 → 0.0
Time: 2.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 r16152 = x;
        double r16153 = 4.0;
        double r16154 = pow(r16152, r16153);
        double r16155 = y;
        double r16156 = pow(r16155, r16153);
        double r16157 = r16154 - r16156;
        return r16157;
}

double f(double x, double y) {
        double r16158 = x;
        double r16159 = 4.0;
        double r16160 = pow(r16158, r16159);
        double r16161 = y;
        double r16162 = pow(r16161, r16159);
        double r16163 = r16160 - r16162;
        return r16163;
}

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