Average Error: 0.1 → 0.1
Time: 24.5s
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 r33413 = x;
        double r33414 = y;
        double r33415 = log(r33414);
        double r33416 = r33413 * r33415;
        double r33417 = z;
        double r33418 = r33416 - r33417;
        double r33419 = r33418 - r33414;
        return r33419;
}

double f(double x, double y, double z) {
        double r33420 = x;
        double r33421 = y;
        double r33422 = log(r33421);
        double r33423 = r33420 * r33422;
        double r33424 = z;
        double r33425 = r33423 - r33424;
        double r33426 = r33425 - r33421;
        return r33426;
}

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