Average Error: 0.1 → 0.1
Time: 11.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 r29754 = x;
        double r29755 = y;
        double r29756 = log(r29755);
        double r29757 = r29754 * r29756;
        double r29758 = z;
        double r29759 = r29757 - r29758;
        double r29760 = r29759 - r29755;
        return r29760;
}

double f(double x, double y, double z) {
        double r29761 = x;
        double r29762 = y;
        double r29763 = log(r29762);
        double r29764 = r29761 * r29763;
        double r29765 = z;
        double r29766 = r29764 - r29765;
        double r29767 = r29766 - r29762;
        return r29767;
}

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