


Bits error versus re



Bits error versus im



Bits error versus base
Results
Initial program 31.7
Initial simplification0.3
Final simplification0.3
Time bar (total: 35.8s)Debug logProfile
| Baseline | Herbie | Oracle | Span | % | |
|---|---|---|---|---|---|
| Regimes | 0.3 | 0.3 | 0.1 | 0.3 | 0% |
herbie shell --seed 2018286 +o rules:numerics
(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))))