Average Error: 0.1 → 0.1
Time: 4.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 r25862 = x;
        double r25863 = y;
        double r25864 = log(r25863);
        double r25865 = r25862 * r25864;
        double r25866 = z;
        double r25867 = r25865 - r25866;
        double r25868 = r25867 - r25863;
        return r25868;
}

double f(double x, double y, double z) {
        double r25869 = x;
        double r25870 = y;
        double r25871 = log(r25870);
        double r25872 = r25869 * r25871;
        double r25873 = z;
        double r25874 = r25872 - r25873;
        double r25875 = r25874 - r25870;
        return r25875;
}

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