Average Error: 0.1 → 0.1
Time: 5.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 r30444 = x;
        double r30445 = y;
        double r30446 = log(r30445);
        double r30447 = r30444 * r30446;
        double r30448 = z;
        double r30449 = r30447 - r30448;
        double r30450 = r30449 - r30445;
        return r30450;
}

double f(double x, double y, double z) {
        double r30451 = x;
        double r30452 = y;
        double r30453 = log(r30452);
        double r30454 = r30451 * r30453;
        double r30455 = z;
        double r30456 = r30454 - r30455;
        double r30457 = r30456 - r30452;
        return r30457;
}

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