Average Error: 0.1 → 0.1
Time: 1.3m
Precision: 64
Internal Precision: 576
\[\frac{e \cdot \sin v}{1 + e \cdot \cos v}\]
\[\frac{e \cdot \sin v}{1 + \log \left(e^{e \cdot \cos v}\right)}\]

Error

Bits error versus e

Bits error versus v

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 0.1

    \[\frac{e \cdot \sin v}{1 + e \cdot \cos v}\]
  2. Using strategy rm
  3. Applied add-log-exp0.1

    \[\leadsto \frac{e \cdot \sin v}{1 + \color{blue}{\log \left(e^{e \cdot \cos v}\right)}}\]

Runtime

Time bar (total: 1.3m)Debug logProfile

herbie shell --seed 2020178 
(FPCore (e v)
  :name "Trigonometry A"
  :pre (<= 0 e 1)
  (/ (* e (sin v)) (+ 1 (* e (cos v)))))