Average Error: 0.1 → 0.1
Time: 1.2m
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 r40277 = x;
        double r40278 = y;
        double r40279 = log(r40278);
        double r40280 = r40277 * r40279;
        double r40281 = z;
        double r40282 = r40280 - r40281;
        double r40283 = r40282 - r40278;
        return r40283;
}

double f(double x, double y, double z) {
        double r40284 = x;
        double r40285 = y;
        double r40286 = log(r40285);
        double r40287 = r40284 * r40286;
        double r40288 = z;
        double r40289 = r40287 - r40288;
        double r40290 = r40289 - r40285;
        return r40290;
}

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