Average Error: 0.0 → 0.0
Time: 1.2s
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 r27447 = x;
        double r27448 = 4.0;
        double r27449 = pow(r27447, r27448);
        double r27450 = y;
        double r27451 = pow(r27450, r27448);
        double r27452 = r27449 - r27451;
        return r27452;
}

double f(double x, double y) {
        double r27453 = x;
        double r27454 = 4.0;
        double r27455 = pow(r27453, r27454);
        double r27456 = y;
        double r27457 = pow(r27456, r27454);
        double r27458 = r27455 - r27457;
        return r27458;
}

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