Average Error: 0.1 → 0.1
Time: 22.0s
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 r903209 = x;
        double r903210 = y;
        double r903211 = log(r903210);
        double r903212 = r903209 * r903211;
        double r903213 = z;
        double r903214 = r903212 - r903213;
        double r903215 = r903214 - r903210;
        return r903215;
}

double f(double x, double y, double z) {
        double r903216 = x;
        double r903217 = y;
        double r903218 = log(r903217);
        double r903219 = r903216 * r903218;
        double r903220 = z;
        double r903221 = r903219 - r903220;
        double r903222 = r903221 - r903217;
        return r903222;
}

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