\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{\frac{1}{\sqrt{2 - \left(v \cdot v\right) \cdot 6}}}{t} \cdot \frac{1 - \left(v \cdot v\right) \cdot 5}{\pi \cdot \left(1 - v \cdot v\right)}(FPCore (v t) :precision binary64 (/ (- 1.0 (* 5.0 (* v v))) (* (* (* PI t) (sqrt (* 2.0 (- 1.0 (* 3.0 (* v v)))))) (- 1.0 (* v v)))))
(FPCore (v t) :precision binary64 (* (/ (/ 1.0 (sqrt (- 2.0 (* (* v v) 6.0)))) t) (/ (- 1.0 (* (* v v) 5.0)) (* PI (- 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 - (3.0 * (v * v))))) * (1.0 - (v * v)));
}
double code(double v, double t) {
return ((1.0 / sqrt(2.0 - ((v * v) * 6.0))) / t) * ((1.0 - ((v * v) * 5.0)) / (((double) M_PI) * (1.0 - (v * v))));
}



Bits error versus v



Bits error versus t
Results
Initial program 0.4
Simplified0.4
rmApplied *-un-lft-identity_binary64_14420.4
Applied times-frac_binary64_14480.5
Simplified0.5
Simplified0.5
rmApplied *-un-lft-identity_binary64_14420.5
Applied times-frac_binary64_14480.4
Applied associate-*r*_binary64_13820.4
Simplified0.3
Final simplification0.3
herbie shell --seed 2021013
(FPCore (v t)
:name "Falkner and Boettcher, Equation (20:1,3)"
:precision binary64
(/ (- 1.0 (* 5.0 (* v v))) (* (* (* PI t) (sqrt (* 2.0 (- 1.0 (* 3.0 (* v v)))))) (- 1.0 (* v v)))))