\left(x \cdot \left(y - 1\right) - y \cdot 0.5\right) + 0.918938533204673
\mathsf{fma}\left(y, x, \mathsf{fma}\left(\sqrt[3]{0.918938533204673} \cdot \sqrt[3]{0.918938533204673}, \sqrt[3]{0.918938533204673}, -\mathsf{fma}\left(y, 0.5, x\right)\right)\right)
(FPCore (x y) :precision binary64 (+ (- (* x (- y 1.0)) (* y 0.5)) 0.918938533204673))
(FPCore (x y) :precision binary64 (fma y x (fma (* (cbrt 0.918938533204673) (cbrt 0.918938533204673)) (cbrt 0.918938533204673) (- (fma y 0.5 x)))))
double code(double x, double y) {
return ((x * (y - 1.0)) - (y * 0.5)) + 0.918938533204673;
}
double code(double x, double y) {
return fma(y, x, fma((cbrt(0.918938533204673) * cbrt(0.918938533204673)), cbrt(0.918938533204673), -fma(y, 0.5, x)));
}



Bits error versus x



Bits error versus y
Initial program 0.0
Applied sub-neg_binary640.0
Applied distribute-rgt-in_binary640.0
Applied associate--l+_binary640.0
Applied associate-+l+_binary640.0
Simplified0.0
Applied add-cube-cbrt_binary640.0
Applied fma-neg_binary640.0
Applied fma-def_binary640.0
Final simplification0.0
herbie shell --seed 2022088
(FPCore (x y)
:name "Numeric.SpecFunctions:logGamma from math-functions-0.1.5.2, A"
:precision binary64
(+ (- (* x (- y 1.0)) (* y 0.5)) 0.918938533204673))