Average Error: 0.1 → 0.1
Time: 38.4s
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: 38.4s)Debug logProfile

herbie shell --seed '#(1072936661 1621281212 3440817831 3219514234 460296804 1258167384)' +o rules:numerics
(FPCore (e v)
  :name "Trigonometry A"
  :pre (<= 0 e 1)
  (/ (* e (sin v)) (+ 1 (* e (cos v)))))