Average Error: 0.1 → 0.1
Time: 15.5s
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 r31093 = x;
        double r31094 = y;
        double r31095 = log(r31094);
        double r31096 = r31093 * r31095;
        double r31097 = z;
        double r31098 = r31096 - r31097;
        double r31099 = r31098 - r31094;
        return r31099;
}

double f(double x, double y, double z) {
        double r31100 = x;
        double r31101 = y;
        double r31102 = log(r31101);
        double r31103 = r31100 * r31102;
        double r31104 = z;
        double r31105 = r31103 - r31104;
        double r31106 = r31105 - r31101;
        return r31106;
}

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