Average Error: 0.1 → 0.1
Time: 5.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 r31631 = x;
        double r31632 = y;
        double r31633 = log(r31632);
        double r31634 = r31631 * r31633;
        double r31635 = z;
        double r31636 = r31634 - r31635;
        double r31637 = r31636 - r31632;
        return r31637;
}

double f(double x, double y, double z) {
        double r31638 = x;
        double r31639 = y;
        double r31640 = log(r31639);
        double r31641 = r31638 * r31640;
        double r31642 = z;
        double r31643 = r31641 - r31642;
        double r31644 = r31643 - r31639;
        return r31644;
}

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