Average Error: 0.1 → 0.1
Time: 39.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 r901984 = x;
        double r901985 = y;
        double r901986 = log(r901985);
        double r901987 = r901984 * r901986;
        double r901988 = z;
        double r901989 = r901987 - r901988;
        double r901990 = r901989 - r901985;
        return r901990;
}

double f(double x, double y, double z) {
        double r901991 = x;
        double r901992 = y;
        double r901993 = log(r901992);
        double r901994 = r901991 * r901993;
        double r901995 = z;
        double r901996 = r901994 - r901995;
        double r901997 = r901996 - r901992;
        return r901997;
}

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