Average Error: 0.1 → 0.1
Time: 53.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 r809372 = x;
        double r809373 = y;
        double r809374 = log(r809373);
        double r809375 = r809372 * r809374;
        double r809376 = z;
        double r809377 = r809375 - r809376;
        double r809378 = r809377 - r809373;
        return r809378;
}

double f(double x, double y, double z) {
        double r809379 = x;
        double r809380 = y;
        double r809381 = log(r809380);
        double r809382 = r809379 * r809381;
        double r809383 = z;
        double r809384 = r809382 - r809383;
        double r809385 = r809384 - r809380;
        return r809385;
}

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