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




Bits error versus x
Results
| Alternative 1 | |
|---|---|
| Error | 61.6 |
| Cost | 64 |

Initial program 0.3
Simplified0.3
Final simplification0.3
herbie shell --seed 2021044
(FPCore (x)
:name "Statistics.Distribution.Binomial:directEntropy from math-functions-0.1.5.2"
:precision binary64
(* x (log x)))