Average Error: 21.4 → 21.4
Time: 909.0ms
Precision: binary64
\[\frac{\left(x \cdot x\right) \cdot x}{v \cdot v}\]
\[\frac{\left(x \cdot x\right) \cdot x}{v \cdot v}\]
\frac{\left(x \cdot x\right) \cdot x}{v \cdot v}
\frac{\left(x \cdot x\right) \cdot x}{v \cdot v}
double code(double x, double v) {
	return ((double) (((double) (((double) (x * x)) * x)) / ((double) (v * v))));
}
double code(double x, double v) {
	return ((double) (((double) (((double) (x * x)) * x)) / ((double) (v * v))));
}

Error

Bits error versus x

Bits error versus v

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 21.4

    \[\frac{\left(x \cdot x\right) \cdot x}{v \cdot v}\]
  2. Final simplification21.4

    \[\leadsto \frac{\left(x \cdot x\right) \cdot x}{v \cdot v}\]

Reproduce

herbie shell --seed 2020153 
(FPCore (x v)
  :name "(/ (* (* x x) x) (* v v))"
  :precision binary64
  (/ (* (* x x) x) (* v v)))