\frac{1 - 5 \cdot \left(v \cdot v\right)}{\left(\left(\pi \cdot t\right) \cdot \sqrt{2 \cdot \left(1 - 3 \cdot \left(v \cdot v\right)\right)}\right) \cdot \left(1 - v \cdot v\right)}\frac{1 - 5 \cdot \left(v \cdot v\right)}{\frac{\left(\pi \cdot t\right) \cdot \sqrt{2 \cdot \left(1 \cdot 1 - \left(3 \cdot \left(v \cdot v\right)\right) \cdot \left(3 \cdot \left(v \cdot v\right)\right)\right)}}{\sqrt{1 + 3 \cdot \left(v \cdot v\right)}} \cdot \left(1 - v \cdot v\right)}double code(double v, double t) {
return ((1.0 - (5.0 * (v * v))) / (((((double) M_PI) * t) * sqrt((2.0 * (1.0 - (3.0 * (v * v)))))) * (1.0 - (v * v))));
}
double code(double v, double t) {
return ((1.0 - (5.0 * (v * v))) / ((((((double) M_PI) * t) * sqrt((2.0 * ((1.0 * 1.0) - ((3.0 * (v * v)) * (3.0 * (v * v))))))) / sqrt((1.0 + (3.0 * (v * v))))) * (1.0 - (v * v))));
}



Bits error versus v



Bits error versus t
Results
Initial program 0.5
rmApplied flip--0.5
Applied associate-*r/0.5
Applied sqrt-div0.5
Applied associate-*r/0.5
Final simplification0.5
herbie shell --seed 2020065 +o rules:numerics
(FPCore (v t)
:name "Falkner and Boettcher, Equation (20:1,3)"
:precision binary64
(/ (- 1 (* 5 (* v v))) (* (* (* PI t) (sqrt (* 2 (- 1 (* 3 (* v v)))))) (- 1 (* v v)))))