Average Error: 0.1 → 0.1
Time: 19.2s
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 r32725 = x;
        double r32726 = y;
        double r32727 = log(r32726);
        double r32728 = r32725 * r32727;
        double r32729 = z;
        double r32730 = r32728 - r32729;
        double r32731 = r32730 - r32726;
        return r32731;
}

double f(double x, double y, double z) {
        double r32732 = x;
        double r32733 = y;
        double r32734 = log(r32733);
        double r32735 = r32732 * r32734;
        double r32736 = z;
        double r32737 = r32735 - r32736;
        double r32738 = r32737 - r32733;
        return r32738;
}

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