x \cdot \log x
\mathsf{fma}\left(x, 2 \cdot \log \left(\sqrt[3]{x}\right), \left(x \cdot \frac{1}{3}\right) \cdot \log x\right)double f(double x) {
double r31615 = x;
double r31616 = log(r31615);
double r31617 = r31615 * r31616;
return r31617;
}
double f(double x) {
double r31618 = x;
double r31619 = 2.0;
double r31620 = cbrt(r31618);
double r31621 = log(r31620);
double r31622 = r31619 * r31621;
double r31623 = 0.3333333333333333;
double r31624 = r31618 * r31623;
double r31625 = log(r31618);
double r31626 = r31624 * r31625;
double r31627 = fma(r31618, r31622, r31626);
return r31627;
}



Bits error versus x
Initial program 0.3
rmApplied add-cube-cbrt0.3
Applied log-prod0.4
Applied distribute-lft-in0.4
Simplified0.4
rmApplied fma-def0.3
rmApplied pow1/30.2
Applied log-pow0.2
Applied associate-*r*0.2
Final simplification0.2
herbie shell --seed 2020018 +o rules:numerics
(FPCore (x)
:name "Statistics.Distribution.Binomial:directEntropy from math-functions-0.1.5.2"
:precision binary64
(* x (log x)))