\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{1.3333333333333333}{\pi \cdot \left(\left(1 - v \cdot v\right) \cdot \sqrt{2 - \log \left(e^{\left(v \cdot v\right) \cdot 6}\right)}\right)}(FPCore (v) :precision binary64 (/ 4.0 (* (* (* 3.0 PI) (- 1.0 (* v v))) (sqrt (- 2.0 (* 6.0 (* v v)))))))
(FPCore (v) :precision binary64 (/ 1.3333333333333333 (* PI (* (- 1.0 (* v v)) (sqrt (- 2.0 (log (exp (* (* v v) 6.0)))))))))
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 1.3333333333333333 / (((double) M_PI) * ((1.0 - (v * v)) * sqrt(2.0 - log(exp((v * v) * 6.0)))));
}



Bits error versus v
Results
Initial program 1.0
Simplified0.0
rmApplied add-log-exp_binary640.0
Final simplification0.0
herbie shell --seed 2020224
(FPCore (v)
:name "Falkner and Boettcher, Equation (22+)"
:precision binary64
(/ 4.0 (* (* (* 3.0 PI) (- 1.0 (* v v))) (sqrt (- 2.0 (* 6.0 (* v v)))))))