Average Error: 0.3 → 0.3
Time: 9.9s
Precision: 64
\[x \cdot \log x\]
\[\log x \cdot x\]
x \cdot \log x
\log x \cdot x
double f(double x) {
        double r31661018 = x;
        double r31661019 = log(r31661018);
        double r31661020 = r31661018 * r31661019;
        return r31661020;
}

double f(double x) {
        double r31661021 = x;
        double r31661022 = log(r31661021);
        double r31661023 = r31661022 * r31661021;
        return r31661023;
}

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 1 
(FPCore (x)
  :name "x * log(x)"
  (* x (log x)))