Average Error: 0.1 → 0.1
Time: 11.7s
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 r25685 = x;
        double r25686 = y;
        double r25687 = log(r25686);
        double r25688 = r25685 * r25687;
        double r25689 = z;
        double r25690 = r25688 - r25689;
        double r25691 = r25690 - r25686;
        return r25691;
}

double f(double x, double y, double z) {
        double r25692 = x;
        double r25693 = y;
        double r25694 = log(r25693);
        double r25695 = r25692 * r25694;
        double r25696 = z;
        double r25697 = r25695 - r25696;
        double r25698 = r25697 - r25693;
        return r25698;
}

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 2019350 +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))