Average Error: 0.1 → 0.1
Time: 19.3s
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 r892131 = x;
        double r892132 = y;
        double r892133 = log(r892132);
        double r892134 = r892131 * r892133;
        double r892135 = z;
        double r892136 = r892134 - r892135;
        double r892137 = r892136 - r892132;
        return r892137;
}

double f(double x, double y, double z) {
        double r892138 = x;
        double r892139 = y;
        double r892140 = log(r892139);
        double r892141 = r892138 * r892140;
        double r892142 = z;
        double r892143 = r892141 - r892142;
        double r892144 = r892143 - r892139;
        return r892144;
}

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