Average Error: 0.3 → 0.3
Time: 1.1m
Precision: 64
\[x \cdot \log x\]
\[\log x \cdot x\]
x \cdot \log x
\log x \cdot x
double f(double x) {
        double r1401653 = x;
        double r1401654 = log(r1401653);
        double r1401655 = r1401653 * r1401654;
        return r1401655;
}

double f(double x) {
        double r1401656 = x;
        double r1401657 = log(r1401656);
        double r1401658 = r1401657 * r1401656;
        return r1401658;
}

Error

Bits error versus x

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 0.3

    \[x \cdot \log x\]
  2. Final simplification0.3

    \[\leadsto \log x \cdot x\]

Reproduce

herbie shell --seed 2019200 
(FPCore (x)
  :name "Statistics.Distribution.Binomial:directEntropy from math-functions-0.1.5.2"
  (* x (log x)))