Average Error: 0.1 → 0.1
Time: 5.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 r25662 = x;
        double r25663 = y;
        double r25664 = log(r25663);
        double r25665 = r25662 * r25664;
        double r25666 = z;
        double r25667 = r25665 - r25666;
        double r25668 = r25667 - r25663;
        return r25668;
}

double f(double x, double y, double z) {
        double r25669 = x;
        double r25670 = y;
        double r25671 = log(r25670);
        double r25672 = r25669 * r25671;
        double r25673 = z;
        double r25674 = r25672 - r25673;
        double r25675 = r25674 - r25670;
        return r25675;
}

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