Average Error: 10.4 → 10.4
Time: 853.0ms
Precision: binary64
\[\frac{d}{a \cdot d - b \cdot c}\]
\[\frac{d}{a \cdot d - b \cdot c}\]
\frac{d}{a \cdot d - b \cdot c}
\frac{d}{a \cdot d - b \cdot c}
double code(double d, double a, double b, double c) {
	return ((double) (d / ((double) (((double) (a * d)) - ((double) (b * c))))));
}
double code(double d, double a, double b, double c) {
	return ((double) (d / ((double) (((double) (a * d)) - ((double) (b * c))))));
}

Error

Bits error versus d

Bits error versus a

Bits error versus b

Bits error versus c

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 10.4

    \[\frac{d}{a \cdot d - b \cdot c}\]
  2. Final simplification10.4

    \[\leadsto \frac{d}{a \cdot d - b \cdot c}\]

Reproduce

herbie shell --seed 2020153 
(FPCore (d a b c)
  :name "(/ d (- (* a d) (* b c)))"
  :precision binary64
  (/ d (- (* a d) (* b c))))