\left(\left(x - \left(y - 1\right) \cdot z\right) - \left(t - 1\right) \cdot a\right) + \left(\left(y + t\right) - 2\right) \cdot b
\mathsf{fma}\left(1 - y, z, \mathsf{fma}\left(y, b, \mathsf{fma}\left(b, t - 2, x - \left(t - 1\right) \cdot a\right)\right) + \mathsf{fma}\left(-a, t - 1, a \cdot \left(t - 1\right)\right)\right)double code(double x, double y, double z, double t, double a, double b) {
return (((x - ((y - 1.0) * z)) - ((t - 1.0) * a)) + (((y + t) - 2.0) * b));
}
double code(double x, double y, double z, double t, double a, double b) {
return fma((1.0 - y), z, (fma(y, b, fma(b, (t - 2.0), (x - ((t - 1.0) * a)))) + fma(-a, (t - 1.0), (a * (t - 1.0)))));
}



Bits error versus x



Bits error versus y



Bits error versus z



Bits error versus t



Bits error versus a



Bits error versus b
Results
Initial program 0.0
Simplified0.0
rmApplied fma-udef0.0
Applied associate--l+0.0
rmApplied associate--l+0.0
Applied distribute-lft-in0.0
rmApplied add-sqr-sqrt31.7
Applied prod-diff31.7
Applied associate-+r+31.7
Simplified0.0
Final simplification0.0
herbie shell --seed 2020056 +o rules:numerics
(FPCore (x y z t a b)
:name "Statistics.Distribution.Beta:$centropy from math-functions-0.1.5.2"
:precision binary64
(+ (- (- x (* (- y 1) z)) (* (- t 1) a)) (* (- (+ y t) 2) b)))