Average Error: 0.1 → 0.1
Time: 19.9s
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 r1116067 = x;
        double r1116068 = y;
        double r1116069 = log(r1116068);
        double r1116070 = r1116067 * r1116069;
        double r1116071 = z;
        double r1116072 = r1116070 - r1116071;
        double r1116073 = r1116072 - r1116068;
        return r1116073;
}

double f(double x, double y, double z) {
        double r1116074 = x;
        double r1116075 = y;
        double r1116076 = log(r1116075);
        double r1116077 = r1116074 * r1116076;
        double r1116078 = z;
        double r1116079 = r1116077 - r1116078;
        double r1116080 = r1116079 - r1116075;
        return r1116080;
}

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