Average Error: 0.1 → 0.1
Time: 4.5s
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 r30728 = x;
        double r30729 = y;
        double r30730 = log(r30729);
        double r30731 = r30728 * r30730;
        double r30732 = z;
        double r30733 = r30731 - r30732;
        double r30734 = r30733 - r30729;
        return r30734;
}

double f(double x, double y, double z) {
        double r30735 = x;
        double r30736 = y;
        double r30737 = log(r30736);
        double r30738 = r30735 * r30737;
        double r30739 = z;
        double r30740 = r30738 - r30739;
        double r30741 = r30740 - r30736;
        return r30741;
}

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