Average Error: 0.1 → 0.1
Time: 23.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 r935808 = x;
        double r935809 = y;
        double r935810 = log(r935809);
        double r935811 = r935808 * r935810;
        double r935812 = z;
        double r935813 = r935811 - r935812;
        double r935814 = r935813 - r935809;
        return r935814;
}

double f(double x, double y, double z) {
        double r935815 = x;
        double r935816 = y;
        double r935817 = log(r935816);
        double r935818 = r935815 * r935817;
        double r935819 = z;
        double r935820 = r935818 - r935819;
        double r935821 = r935820 - r935816;
        return r935821;
}

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