Average Error: 12.0 → 12.0
Time: 1.0s
Precision: binary64
\[\frac{a}{a \cdot b - {c}^{2}}\]
\[\frac{a}{a \cdot b - {c}^{2}}\]
\frac{a}{a \cdot b - {c}^{2}}
\frac{a}{a \cdot b - {c}^{2}}
double code(double a, double b, double c) {
	return ((double) (a / ((double) (((double) (a * b)) - ((double) pow(c, 2.0))))));
}
double code(double a, double b, double c) {
	return ((double) (a / ((double) (((double) (a * b)) - ((double) pow(c, 2.0))))));
}

Error

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 12.0

    \[\frac{a}{a \cdot b - {c}^{2}}\]
  2. Final simplification12.0

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

Reproduce

herbie shell --seed 2020152 
(FPCore (a b c)
  :name "(/ a (- (* a b) (pow c 2)))"
  :precision binary64
  (/ a (- (* a b) (pow c 2.0))))