Average Error: 0.3 → 0.3
Time: 2.0s
Precision: binary64
\[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 ((double) (x * ((double) log(x))));
}
double code(double x) {
	return ((double) (x * ((double) log(x))));
}

Error

Bits error versus x

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program Error: 0.3 bits

    \[x \cdot \log x\]
  2. Final simplificationError: 0.3 bits

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

Reproduce

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