Average Error: 0.1 → 0.1
Time: 13.0s
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 r384000 = x;
        double r384001 = y;
        double r384002 = log(r384001);
        double r384003 = r384000 * r384002;
        double r384004 = z;
        double r384005 = r384003 - r384004;
        double r384006 = r384005 - r384001;
        return r384006;
}

double f(double x, double y, double z) {
        double r384007 = x;
        double r384008 = y;
        double r384009 = log(r384008);
        double r384010 = r384007 * r384009;
        double r384011 = z;
        double r384012 = r384010 - r384011;
        double r384013 = r384012 - r384008;
        return r384013;
}

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