


Bits error versus re



Bits error versus im
Results
Initial program 0.0
Final simplification0.0
herbie shell --seed 2019022 +o rules:numerics
(FPCore (re im)
:name "math.cos on complex, real part"
(* (* 0.5 (cos re)) (+ (exp (- im)) (exp im))))
Time bar (total: 8.9s)Debug log
| 86.0ms | 95× | body | 1280 | valid |
| 41.0ms | 66× | body | 640 | valid |
| 30.0ms | 246× | body | 80 | valid |
| 16.0ms | 41× | body | 320 | valid |
| 11.0ms | 25× | body | 160 | valid |
| 573.0ms | (* (* 0.5 (cos re)) (+ (exp (- im)) (exp im))) |
1 alts after pruning (1 fresh and 0 done)
Merged error: 0b
Found 0 expressions with local error:
1 alts after pruning (0 fresh and 1 done)
Merged error: 0b
| 3.3s | 3029× | body | 1280 | valid |
| 2.1s | 8517× | body | 80 | valid |
| 1.6s | 2441× | body | 640 | valid |
| 629.0ms | 1201× | body | 320 | valid |
| 157.0ms | 595× | body | 160 | valid |