\frac{4}{\left(\left(3 \cdot \pi\right) \cdot \left(1 - v \cdot v\right)\right) \cdot \sqrt{2 - 6 \cdot \left(v \cdot v\right)}}\frac{\frac{4}{3 \cdot \pi}}{\mathsf{fma}\left(v, v, 1\right) \cdot \left(\left(1 - v \cdot v\right) \cdot \sqrt{2 - 6 \cdot \left(v \cdot v\right)}\right)} \cdot \left(1 + v \cdot v\right)double code(double v) {
return (4.0 / (((3.0 * ((double) M_PI)) * (1.0 - (v * v))) * sqrt((2.0 - (6.0 * (v * v))))));
}
double code(double v) {
return (((4.0 / (3.0 * ((double) M_PI))) / (fma(v, v, 1.0) * ((1.0 - (v * v)) * sqrt((2.0 - (6.0 * (v * v))))))) * (1.0 + (v * v)));
}



Bits error versus v
Results
Initial program 1.0
rmApplied flip--1.0
Applied associate-*r/1.0
Applied associate-*l/1.0
Applied associate-/r/1.0
Simplified0.0
Final simplification0.0
herbie shell --seed 2020100 +o rules:numerics
(FPCore (v)
:name "Falkner and Boettcher, Equation (22+)"
:precision binary64
(/ 4 (* (* (* 3 PI) (- 1 (* v v))) (sqrt (- 2 (* 6 (* v v)))))))