Average Error: 0.1 → 0.1
Time: 54.6s
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 r885193 = x;
        double r885194 = y;
        double r885195 = log(r885194);
        double r885196 = r885193 * r885195;
        double r885197 = z;
        double r885198 = r885196 - r885197;
        double r885199 = r885198 - r885194;
        return r885199;
}

double f(double x, double y, double z) {
        double r885200 = x;
        double r885201 = y;
        double r885202 = log(r885201);
        double r885203 = r885200 * r885202;
        double r885204 = z;
        double r885205 = r885203 - r885204;
        double r885206 = r885205 - r885201;
        return r885206;
}

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