Average Error: 0.1 → 0.1
Time: 1.1m
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 r1818700 = x;
        double r1818701 = y;
        double r1818702 = log(r1818701);
        double r1818703 = r1818700 * r1818702;
        double r1818704 = z;
        double r1818705 = r1818703 - r1818704;
        double r1818706 = r1818705 - r1818701;
        return r1818706;
}

double f(double x, double y, double z) {
        double r1818707 = x;
        double r1818708 = y;
        double r1818709 = log(r1818708);
        double r1818710 = r1818707 * r1818709;
        double r1818711 = z;
        double r1818712 = r1818710 - r1818711;
        double r1818713 = r1818712 - r1818708;
        return r1818713;
}

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