Average Error: 0.1 → 0.1
Time: 16.0s
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 r1175867 = x;
        double r1175868 = y;
        double r1175869 = log(r1175868);
        double r1175870 = r1175867 * r1175869;
        double r1175871 = z;
        double r1175872 = r1175870 - r1175871;
        double r1175873 = r1175872 - r1175868;
        return r1175873;
}

double f(double x, double y, double z) {
        double r1175874 = x;
        double r1175875 = y;
        double r1175876 = log(r1175875);
        double r1175877 = r1175874 * r1175876;
        double r1175878 = z;
        double r1175879 = r1175877 - r1175878;
        double r1175880 = r1175879 - r1175875;
        return r1175880;
}

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))