Average Error: 0.1 → 0.1
Time: 17.1s
Precision: 64
\[\left(x \cdot \log y - z\right) - y\]
\[\left(x \cdot \log y - z\right) - y\]
\left(x \cdot \log y - z\right) - y
\left(x \cdot \log y - z\right) - y
double f(double x, double y, double z) {
        double r39544 = x;
        double r39545 = y;
        double r39546 = log(r39545);
        double r39547 = r39544 * r39546;
        double r39548 = z;
        double r39549 = r39547 - r39548;
        double r39550 = r39549 - r39545;
        return r39550;
}

double f(double x, double y, double z) {
        double r39551 = x;
        double r39552 = y;
        double r39553 = log(r39552);
        double r39554 = r39551 * r39553;
        double r39555 = z;
        double r39556 = r39554 - r39555;
        double r39557 = r39556 - r39552;
        return r39557;
}

Error

Bits error versus x

Bits error versus y

Bits error versus z

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 0.1

    \[\left(x \cdot \log y - z\right) - y\]
  2. Final simplification0.1

    \[\leadsto \left(x \cdot \log y - z\right) - y\]

Reproduce

herbie shell --seed 2019179 
(FPCore (x y z)
  :name "Statistics.Distribution.Poisson:$clogProbability from math-functions-0.1.5.2"
  (- (- (* x (log y)) z) y))