Average Error: 0.0 → 0.0
Time: 692.0ms
Precision: binary64
\[\frac{w - y}{x - y}\]
\[\frac{w - y}{x - y}\]
\frac{w - y}{x - y}
\frac{w - y}{x - y}
double code(double w, double y, double x) {
	return ((double) (((double) (w - y)) / ((double) (x - y))));
}
double code(double w, double y, double x) {
	return ((double) (((double) (w - y)) / ((double) (x - y))));
}

Error

Bits error versus w

Bits error versus y

Bits error versus x

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 0.0

    \[\frac{w - y}{x - y}\]
  2. Final simplification0.0

    \[\leadsto \frac{w - y}{x - y}\]

Reproduce

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