Average Error: 0.0 → 0.0
Time: 979.0ms
Precision: binary64
\[\left(\left(\left(x + y\right) + z\right) + w\right) + m\]
\[\left(\left(\left(x + y\right) + z\right) + w\right) + m\]
\left(\left(\left(x + y\right) + z\right) + w\right) + m
\left(\left(\left(x + y\right) + z\right) + w\right) + m
double code(double x, double y, double z, double w, double m) {
	return ((double) (((double) (((double) (((double) (x + y)) + z)) + w)) + m));
}
double code(double x, double y, double z, double w, double m) {
	return ((double) (((double) (((double) (((double) (x + y)) + z)) + w)) + m));
}

Error

Bits error versus x

Bits error versus y

Bits error versus z

Bits error versus w

Bits error versus m

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 0.0

    \[\left(\left(\left(x + y\right) + z\right) + w\right) + m\]
  2. Final simplification0.0

    \[\leadsto \left(\left(\left(x + y\right) + z\right) + w\right) + m\]

Reproduce

herbie shell --seed 2020153 
(FPCore (x y z w m)
  :name "(+ (+ (+ (+ x y) z) w) m)"
  :precision binary64
  (+ (+ (+ (+ x y) z) w) m))