Average Error: 0.1 → 0.1
Time: 22.4s
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 r744601 = x;
        double r744602 = y;
        double r744603 = log(r744602);
        double r744604 = r744601 * r744603;
        double r744605 = z;
        double r744606 = r744604 - r744605;
        double r744607 = r744606 - r744602;
        return r744607;
}

double f(double x, double y, double z) {
        double r744608 = x;
        double r744609 = y;
        double r744610 = log(r744609);
        double r744611 = r744608 * r744610;
        double r744612 = z;
        double r744613 = r744611 - r744612;
        double r744614 = r744613 - r744609;
        return r744614;
}

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