


Bits error versus re



Bits error versus im



Bits error versus base
Results
Initial program 31.0
Initial simplification0.3
rmApplied clear-num0.5
rmApplied div-inv0.5
Applied associate-/r*0.5
Final simplification0.5
Time bar (total: 14.6s)Debug logProfile
| Baseline | Herbie | Oracle | Span | % | |
|---|---|---|---|---|---|
| Regimes | 0.5 | 0.5 | 0.0 | 0.5 | 0% |
herbie shell --seed 2018295
(FPCore (re im base)
:name "math.log/2 on complex, imaginary part"
(/ (- (* (atan2 im re) (log base)) (* (log (sqrt (+ (* re re) (* im im)))) 0)) (+ (* (log base) (log base)) (* 0 0))))