Average Error: 0.1 → 0.1
Time: 19.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 r34565 = x;
        double r34566 = y;
        double r34567 = log(r34566);
        double r34568 = r34565 * r34567;
        double r34569 = z;
        double r34570 = r34568 - r34569;
        double r34571 = r34570 - r34566;
        return r34571;
}

double f(double x, double y, double z) {
        double r34572 = x;
        double r34573 = y;
        double r34574 = log(r34573);
        double r34575 = r34572 * r34574;
        double r34576 = z;
        double r34577 = r34575 - r34576;
        double r34578 = r34577 - r34573;
        return r34578;
}

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 2019196 
(FPCore (x y z)
  :name "Statistics.Distribution.Poisson:$clogProbability from math-functions-0.1.5.2"
  (- (- (* x (log y)) z) y))