Average Error: 0.1 → 0.1
Time: 16.9s
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 r30447 = x;
        double r30448 = y;
        double r30449 = log(r30448);
        double r30450 = r30447 * r30449;
        double r30451 = z;
        double r30452 = r30450 - r30451;
        double r30453 = r30452 - r30448;
        return r30453;
}

double f(double x, double y, double z) {
        double r30454 = x;
        double r30455 = y;
        double r30456 = log(r30455);
        double r30457 = r30454 * r30456;
        double r30458 = z;
        double r30459 = r30457 - r30458;
        double r30460 = r30459 - r30455;
        return r30460;
}

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