Average Error: 0.1 → 0.1
Time: 11.3s
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 r35510 = x;
        double r35511 = y;
        double r35512 = log(r35511);
        double r35513 = r35510 * r35512;
        double r35514 = z;
        double r35515 = r35513 - r35514;
        double r35516 = r35515 - r35511;
        return r35516;
}

double f(double x, double y, double z) {
        double r35517 = x;
        double r35518 = y;
        double r35519 = log(r35518);
        double r35520 = r35517 * r35519;
        double r35521 = z;
        double r35522 = r35520 - r35521;
        double r35523 = r35522 - r35518;
        return r35523;
}

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