Average Error: 0.1 → 0.1
Time: 17.6s
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 r30598 = x;
        double r30599 = y;
        double r30600 = log(r30599);
        double r30601 = r30598 * r30600;
        double r30602 = z;
        double r30603 = r30601 - r30602;
        double r30604 = r30603 - r30599;
        return r30604;
}

double f(double x, double y, double z) {
        double r30605 = x;
        double r30606 = y;
        double r30607 = log(r30606);
        double r30608 = r30605 * r30607;
        double r30609 = z;
        double r30610 = r30608 - r30609;
        double r30611 = r30610 - r30606;
        return r30611;
}

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