Average Error: 0.1 → 0.1
Time: 23.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 r721829 = x;
        double r721830 = y;
        double r721831 = log(r721830);
        double r721832 = r721829 * r721831;
        double r721833 = z;
        double r721834 = r721832 - r721833;
        double r721835 = r721834 - r721830;
        return r721835;
}

double f(double x, double y, double z) {
        double r721836 = x;
        double r721837 = y;
        double r721838 = log(r721837);
        double r721839 = r721836 * r721838;
        double r721840 = z;
        double r721841 = r721839 - r721840;
        double r721842 = r721841 - r721837;
        return r721842;
}

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