Average Error: 0.1 → 0.1
Time: 20.3s
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 r1132707 = x;
        double r1132708 = y;
        double r1132709 = log(r1132708);
        double r1132710 = r1132707 * r1132709;
        double r1132711 = z;
        double r1132712 = r1132710 - r1132711;
        double r1132713 = r1132712 - r1132708;
        return r1132713;
}

double f(double x, double y, double z) {
        double r1132714 = x;
        double r1132715 = y;
        double r1132716 = log(r1132715);
        double r1132717 = r1132714 * r1132716;
        double r1132718 = z;
        double r1132719 = r1132717 - r1132718;
        double r1132720 = r1132719 - r1132715;
        return r1132720;
}

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