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))));
}



Bits error versus x
Results
Initial program Error: 0.3 bits
Final simplificationError: 0.3 bits
herbie shell --seed 2020204
(FPCore (x)
:name "Statistics.Distribution.Binomial:directEntropy from math-functions-0.1.5.2"
:precision binary64
(* x (log x)))