Average Error: 0.0 → 0.0
Time: 1.3s
Precision: binary64
\[\frac{\left(\left(x - y\right) - z\right) - w}{a}\]
\[\frac{\left(\left(x - y\right) - z\right) - w}{a}\]
\frac{\left(\left(x - y\right) - z\right) - w}{a}
\frac{\left(\left(x - y\right) - z\right) - w}{a}
double code(double x, double y, double z, double w, double a) {
	return ((double) (((double) (((double) (((double) (x - y)) - z)) - w)) / a));
}
double code(double x, double y, double z, double w, double a) {
	return ((double) (((double) (((double) (((double) (x - y)) - z)) - w)) / a));
}

Error

Bits error versus x

Bits error versus y

Bits error versus z

Bits error versus w

Bits error versus a

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 0.0

    \[\frac{\left(\left(x - y\right) - z\right) - w}{a}\]
  2. Final simplification0.0

    \[\leadsto \frac{\left(\left(x - y\right) - z\right) - w}{a}\]

Reproduce

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