Average Error: 0.1 → 0.1
Time: 17.8s
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 r30685 = x;
        double r30686 = y;
        double r30687 = log(r30686);
        double r30688 = r30685 * r30687;
        double r30689 = z;
        double r30690 = r30688 - r30689;
        double r30691 = r30690 - r30686;
        return r30691;
}

double f(double x, double y, double z) {
        double r30692 = x;
        double r30693 = y;
        double r30694 = log(r30693);
        double r30695 = r30692 * r30694;
        double r30696 = z;
        double r30697 = r30695 - r30696;
        double r30698 = r30697 - r30693;
        return r30698;
}

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