Average Error: 0.3 → 0.3
Time: 3.1s
Precision: binary64
Cost: 6592
\[x \cdot \log x\]
\[x \cdot \log x\]
x \cdot \log x
x \cdot \log x
(FPCore (x) :precision binary64 (* x (log x)))
(FPCore (x) :precision binary64 (* x (log x)))
double code(double x) {
	return x * log(x);
}
double code(double x) {
	return x * log(x);
}

Error

Bits error versus x

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Alternatives

Alternative 1
Error61.6
Cost64
\[1\]

Error

Derivation

  1. Initial program 0.3

    \[x \cdot \log x\]
  2. Simplified0.3

    \[\leadsto \color{blue}{x \cdot \log x}\]
  3. Final simplification0.3

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

Reproduce

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