\left(\left(\left(\left(\left(a + b\right) + c\right) + d\right) + e\right) + f\right) + g
\left(\left(\left(\left(\left(a + b\right) + c\right) + d\right) + e\right) + f\right) + g
double code(double a, double b, double c, double d, double e, double f, double g) {
return ((double) (((double) (((double) (((double) (((double) (((double) (a + b)) + c)) + d)) + e)) + f)) + g));
}
double code(double a, double b, double c, double d, double e, double f, double g) {
return ((double) (((double) (((double) (((double) (((double) (((double) (a + b)) + c)) + d)) + e)) + f)) + g));
}



Bits error versus a



Bits error versus b



Bits error versus c



Bits error versus d



Bits error versus e



Bits error versus f



Bits error versus g
Results
Initial program 0.0
Final simplification0.0
herbie shell --seed 2020153
(FPCore (a b c d e f g)
:name "(+ (+ (+ (+ (+ (+ a b) c) d) e) f) g)"
:precision binary64
(+ (+ (+ (+ (+ (+ a b) c) d) e) f) g))