


Bits error versus re



Bits error versus im
Results
Initial program 30.9
Simplified0.0
Final simplification0.0
herbie shell --seed 2019010 +o rules:numerics
(FPCore (re im)
:name "math.log/1 on complex, real part"
(log (sqrt (+ (* re re) (* im im)))))
Time bar (total: 1.2s)Debug log
| 4.0ms | (log (sqrt (+ (* re re) (* im im)))) |
1 alts after pruning (1 fresh and 0 done)
Merged error: 0b
Found 1 expressions with local error:
| 0.0b | (hypot re im) |
| 1× | add-log-exp |
| 1× | log1p-expm1-u |
| 1× | add-cube-cbrt |
| 1× | add-exp-log |
| 1× | add-cbrt-cube |
| 1× | *-un-lft-identity |
| 1× | hypot-udef |
| 1× | pow1 |
| 1× | expm1-log1p-u |
| 1× | add-sqr-sqrt |
| 0.0ms | (hypot re im) |
| 45.0ms | (hypot re im) |
| 2.0ms | (* -1 re) |
| 1.0ms | im |
| 0.0ms | re |
1 alts after pruning (0 fresh and 1 done)
Merged error: 0b