Average Error: 0.0 → 0.0
Time: 30.5s
Precision: 64
Internal Precision: 384
\[\left(0.5 \cdot \cos re\right) \cdot \left(e^{-im} + e^{im}\right)\]
\[\left(0.5 \cdot \cos re\right) \cdot e^{\log \left(e^{-im} + e^{im}\right)}\]

Error

Bits error versus re

Bits error versus im

Derivation

  1. Initial program 0.0

    \[\left(0.5 \cdot \cos re\right) \cdot \left(e^{-im} + e^{im}\right)\]
  2. Using strategy rm
  3. Applied add-exp-log0.0

    \[\leadsto \left(0.5 \cdot \cos re\right) \cdot \color{blue}{e^{\log \left(e^{-im} + e^{im}\right)}}\]

Runtime

Time bar (total: 30.5s)Debug logProfile

herbie shell --seed '#(1070258749 1877548225 2229079127 1588002776 3179087814 1886870650)' 
(FPCore (re im)
  :name "math.cos on complex, real part"
  (* (* 0.5 (cos re)) (+ (exp (- im)) (exp im))))