\left(\left(x - 1\right) \cdot \log y + \left(z - 1\right) \cdot \log \left(1 - y\right)\right) - t
\left(\left(x - 1\right) \cdot \log \left({\left(\sqrt[3]{y}\right)}^{1.6666666666666667} \cdot \sqrt[3]{\sqrt[3]{y}}\right) + \left(\left(x - 1\right) \cdot \log \left({y}^{0.3333333333333333}\right) + \left(z - 1\right) \cdot \left(\log 1 + y \cdot \left(\frac{y}{1 \cdot 1} \cdot -0.5 - 1\right)\right)\right)\right) - t(FPCore (x y z t) :precision binary64 (- (+ (* (- x 1.0) (log y)) (* (- z 1.0) (log (- 1.0 y)))) t))
(FPCore (x y z t)
:precision binary64
(-
(+
(* (- x 1.0) (log (* (pow (cbrt y) 1.6666666666666667) (cbrt (cbrt y)))))
(+
(* (- x 1.0) (log (pow y 0.3333333333333333)))
(* (- z 1.0) (+ (log 1.0) (* y (- (* (/ y (* 1.0 1.0)) -0.5) 1.0))))))
t))double code(double x, double y, double z, double t) {
return ((double) (((double) (((double) (((double) (x - 1.0)) * ((double) log(y)))) + ((double) (((double) (z - 1.0)) * ((double) log(((double) (1.0 - y)))))))) - t));
}
double code(double x, double y, double z, double t) {
return ((double) (((double) (((double) (((double) (x - 1.0)) * ((double) log(((double) (((double) pow(((double) cbrt(y)), 1.6666666666666667)) * ((double) cbrt(((double) cbrt(y)))))))))) + ((double) (((double) (((double) (x - 1.0)) * ((double) log(((double) pow(y, 0.3333333333333333)))))) + ((double) (((double) (z - 1.0)) * ((double) (((double) log(1.0)) + ((double) (y * ((double) (((double) ((y / ((double) (1.0 * 1.0))) * -0.5)) - 1.0)))))))))))) - t));
}



Bits error versus x



Bits error versus y



Bits error versus z



Bits error versus t
Results
Initial program Error: 6.9 bits
Taylor expanded around 0 Error: 0.4 bits
SimplifiedError: 0.4 bits
rmApplied add-cube-cbrtError: 0.4 bits
Applied log-prodError: 0.4 bits
Applied distribute-lft-inError: 0.4 bits
Applied associate-+l+Error: 0.4 bits
SimplifiedError: 0.4 bits
rmApplied pow1/3Error: 0.4 bits
rmApplied add-cube-cbrtError: 0.4 bits
Applied associate-*r*Error: 0.4 bits
SimplifiedError: 0.4 bits
Final simplificationError: 0.4 bits
herbie shell --seed 2020203
(FPCore (x y z t)
:name "Statistics.Distribution.Beta:$cdensity from math-functions-0.1.5.2"
:precision binary64
(- (+ (* (- x 1.0) (log y)) (* (- z 1.0) (log (- 1.0 y)))) t))