Average Error: 0.1 → 0.1
Time: 7.7s
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 r31073 = x;
        double r31074 = y;
        double r31075 = log(r31074);
        double r31076 = r31073 * r31075;
        double r31077 = z;
        double r31078 = r31076 - r31077;
        double r31079 = r31078 - r31074;
        return r31079;
}

double f(double x, double y, double z) {
        double r31080 = x;
        double r31081 = y;
        double r31082 = log(r31081);
        double r31083 = r31080 * r31082;
        double r31084 = z;
        double r31085 = r31083 - r31084;
        double r31086 = r31085 - r31081;
        return r31086;
}

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