\frac{e \cdot \sin v}{1 + e \cdot \cos v}
\begin{array}{l}
t_0 := e \cdot \cos v\\
\frac{e \cdot \sin v}{1 - \log \left(e^{{t_0}^{2}}\right)} \cdot \left(1 - t_0\right)
\end{array}
(FPCore (e v) :precision binary64 (/ (* e (sin v)) (+ 1.0 (* e (cos v)))))
(FPCore (e v) :precision binary64 (let* ((t_0 (* e (cos v)))) (* (/ (* e (sin v)) (- 1.0 (log (exp (pow t_0 2.0))))) (- 1.0 t_0))))
double code(double e, double v) {
return (e * sin(v)) / (1.0 + (e * cos(v)));
}
double code(double e, double v) {
double t_0 = e * cos(v);
return ((e * sin(v)) / (1.0 - log(exp(pow(t_0, 2.0))))) * (1.0 - t_0);
}



Bits error versus e



Bits error versus v
Results
Initial program 0.1
rmApplied flip-+_binary640.1
Applied associate-/r/_binary640.1
Simplified0.1
rmApplied add-log-exp_binary640.1
Simplified0.1
Final simplification0.1
herbie shell --seed 2021205
(FPCore (e v)
:name "Trigonometry A"
:precision binary64
:pre (<= 0.0 e 1.0)
(/ (* e (sin v)) (+ 1.0 (* e (cos v)))))