x \cdot \log x
x \cdot \left(\log \left(\sqrt[3]{x}\right) \cdot 2\right) + \left(x \cdot \left(2 \cdot \log \left(\sqrt[3]{\sqrt[3]{x}}\right)\right) + x \cdot \log \left(\sqrt[3]{\sqrt[3]{x}}\right)\right)(FPCore (x) :precision binary64 (* x (log x)))
(FPCore (x) :precision binary64 (+ (* x (* (log (cbrt x)) 2.0)) (+ (* x (* 2.0 (log (cbrt (cbrt x))))) (* x (log (cbrt (cbrt x)))))))
double code(double x) {
return ((double) (x * ((double) log(x))));
}
double code(double x) {
return ((double) (((double) (x * ((double) (((double) log(((double) cbrt(x)))) * 2.0)))) + ((double) (((double) (x * ((double) (2.0 * ((double) log(((double) cbrt(((double) cbrt(x)))))))))) + ((double) (x * ((double) log(((double) cbrt(((double) cbrt(x))))))))))));
}



Bits error versus x
Results
Initial program 0.3
rmApplied add-cube-cbrt0.3
Applied log-prod0.4
Applied distribute-lft-in0.4
Simplified0.4
rmApplied add-cube-cbrt0.4
Applied log-prod0.3
Applied distribute-lft-in0.3
Simplified0.3
Final simplification0.3
herbie shell --seed 2020198
(FPCore (x)
:name "Statistics.Distribution.Binomial:directEntropy from math-functions-0.1.5.2"
:precision binary64
(* x (log x)))