\left(\left(x \cdot \log y - y\right) - z\right) + \log t
\left(\left(\mathsf{fma}\left(x, 2 \cdot \log \left(\sqrt[3]{y}\right), x \cdot \log \left({y}^{0.3333333333333333}\right)\right) - y\right) - z\right) + \log t
(FPCore (x y z t) :precision binary64 (+ (- (- (* x (log y)) y) z) (log t)))
(FPCore (x y z t) :precision binary64 (+ (- (- (fma x (* 2.0 (log (cbrt y))) (* x (log (pow y 0.3333333333333333)))) y) z) (log t)))
double code(double x, double y, double z, double t) {
return (((x * log(y)) - y) - z) + log(t);
}
double code(double x, double y, double z, double t) {
return ((fma(x, (2.0 * log(cbrt(y))), (x * log(pow(y, 0.3333333333333333)))) - y) - z) + log(t);
}



Bits error versus x



Bits error versus y



Bits error versus z



Bits error versus t
Initial program 0.1
Applied add-cube-cbrt_binary640.1
Applied log-prod_binary640.1
Applied distribute-rgt-in_binary640.1
Simplified0.1
Simplified0.1
Applied fma-def_binary640.1
Taylor expanded in y around 0 0.1
Final simplification0.1
herbie shell --seed 2022068
(FPCore (x y z t)
:name "Numeric.SpecFunctions:incompleteGamma from math-functions-0.1.5.2, A"
:precision binary64
(+ (- (- (* x (log y)) y) z) (log t)))