Average Error: 0.0 → 0.0
Time: 1.3s
Precision: binary64
\[\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\]
\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));
}

Error

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

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 0.0

    \[\left(\left(\left(\left(\left(a + b\right) + c\right) + d\right) + e\right) + f\right) + g\]
  2. Final simplification0.0

    \[\leadsto \left(\left(\left(\left(\left(a + b\right) + c\right) + d\right) + e\right) + f\right) + g\]

Reproduce

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))