\left(\left(x \cdot y + \frac{z \cdot t}{16}\right) - \frac{a \cdot b}{4}\right) + c\left(x \cdot y + \left(z \cdot \frac{t}{16} - \frac{a \cdot b}{4}\right)\right) + c(FPCore (x y z t a b c) :precision binary64 (+ (- (+ (* x y) (/ (* z t) 16.0)) (/ (* a b) 4.0)) c))
(FPCore (x y z t a b c) :precision binary64 (+ (+ (* x y) (- (* z (/ t 16.0)) (/ (* a b) 4.0))) c))
double code(double x, double y, double z, double t, double a, double b, double c) {
return (((x * y) + ((z * t) / 16.0)) - ((a * b) / 4.0)) + c;
}
double code(double x, double y, double z, double t, double a, double b, double c) {
return ((x * y) + ((z * (t / 16.0)) - ((a * b) / 4.0))) + c;
}



Bits error versus x



Bits error versus y



Bits error versus z



Bits error versus t



Bits error versus a



Bits error versus b



Bits error versus c
Results
Initial program 0.1
rmApplied *-un-lft-identity_binary64_75800.1
Applied times-frac_binary64_75860.1
Simplified0.1
rmApplied associate--l+_binary64_75170.1
Final simplification0.1
herbie shell --seed 2021076
(FPCore (x y z t a b c)
:name "Diagrams.Solve.Polynomial:quartForm from diagrams-solve-0.1, C"
:precision binary64
(+ (- (+ (* x y) (/ (* z t) 16.0)) (/ (* a b) 4.0)) c))