Average Error: 0.1 → 0.1
Time: 21.7s
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 r1270193 = x;
        double r1270194 = y;
        double r1270195 = log(r1270194);
        double r1270196 = r1270193 * r1270195;
        double r1270197 = z;
        double r1270198 = r1270196 - r1270197;
        double r1270199 = r1270198 - r1270194;
        return r1270199;
}

double f(double x, double y, double z) {
        double r1270200 = x;
        double r1270201 = y;
        double r1270202 = log(r1270201);
        double r1270203 = r1270200 * r1270202;
        double r1270204 = z;
        double r1270205 = r1270203 - r1270204;
        double r1270206 = r1270205 - r1270201;
        return r1270206;
}

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