


Bits error versus re



Bits error versus im
Results
Initial program 0.0
Final simplification0.0
herbie shell --seed 2019002 +o rules:numerics
(FPCore (re im)
:name "math.sin on complex, real part"
(* (* 0.5 (sin re)) (+ (exp (- 0 im)) (exp im))))
Time bar (total: 43.5s)Debug log
1 calls. Slowest were:
| 564.0ms | (* (* 0.5 (sin re)) (+ (exp (- 0 im)) (exp im))) |
1 alts after pruning (1 fresh and 0 done)
Merged error: 0.0b
Found 2 expressions with local error:
| 0.0b | (* (* 0.5 (sin re)) (+ (exp (- 0 im)) (exp im))) |
| 0.0b | (+ (exp (- 0 im)) (exp im)) |
2 calls. Slowest were:
| 26.0ms | (* (* 0.5 (sin re)) (+ (exp (- 0 im)) (exp im))) |
| 13.0ms | (+ (exp (- 0 im)) (exp im)) |
2 calls. Slowest were:
| 114.0ms | (* (* 0.5 (sin re)) (+ (exp (- 0 im)) (exp im))) |
| 24.0ms | (+ (exp (- 0 im)) (exp im)) |
23 calls. Slowest were:
| 638.0ms | (* 0.5 (* (sin re) (+ (exp im) (exp (* -1 im))))) |
| 519.0ms | (* 0.5 (* (sin re) (+ (exp (- im)) (exp im)))) |
| 438.0ms | (+ (* (exp (- 0 im)) (exp (- 0 im))) (- (* (exp im) (exp im)) (* (exp (- 0 im)) (exp im)))) |
2 alts after pruning (1 fresh and 1 done)
Merged error: 0.0b
Found 4 expressions with local error:
| 0.6b | (cbrt (* (* 0.5 (sin re)) (+ (exp (- 0 im)) (exp im)))) |
| 0.6b | (cbrt (* (* 0.5 (sin re)) (+ (exp (- 0 im)) (exp im)))) |
| 0.6b | (cbrt (* (* 0.5 (sin re)) (+ (exp (- 0 im)) (exp im)))) |
| 0.5b | (* (cbrt (* (* 0.5 (sin re)) (+ (exp (- 0 im)) (exp im)))) (cbrt (* (* 0.5 (sin re)) (+ (exp (- 0 im)) (exp im))))) |
4 calls. Slowest were:
| 39.0ms | (* (cbrt (* (* 0.5 (sin re)) (+ (exp (- 0 im)) (exp im)))) (cbrt (* (* 0.5 (sin re)) (+ (exp (- 0 im)) (exp im))))) |
| 13.0ms | (cbrt (* (* 0.5 (sin re)) (+ (exp (- 0 im)) (exp im)))) |
| 13.0ms | (cbrt (* (* 0.5 (sin re)) (+ (exp (- 0 im)) (exp im)))) |
4 calls. Slowest were:
| 234.0ms | (cbrt (* (* 0.5 (sin re)) (+ (exp (- 0 im)) (exp im)))) |
| 219.0ms | (* (cbrt (* (* 0.5 (sin re)) (+ (exp (- 0 im)) (exp im)))) (cbrt (* (* 0.5 (sin re)) (+ (exp (- 0 im)) (exp im))))) |
| 182.0ms | (cbrt (* (* 0.5 (sin re)) (+ (exp (- 0 im)) (exp im)))) |
| 179.0ms | (cbrt (* (* 0.5 (sin re)) (+ (exp (- 0 im)) (exp im)))) |
49 calls. Slowest were:
| 881.0ms | (* (* (* 0.5 (sin re)) (+ (exp (- 0 im)) (exp im))) (* (* 0.5 (sin re)) (+ (exp (- 0 im)) (exp im)))) |
| 872.0ms | (* (* (* 0.5 (sin re)) (+ (exp (- 0 im)) (exp im))) (* (* 0.5 (sin re)) (+ (exp (- 0 im)) (exp im)))) |
| 643.0ms | (+ (log (cbrt (* (* 0.5 (sin re)) (+ (exp (- 0 im)) (exp im))))) (log (cbrt (* (* 0.5 (sin re)) (+ (exp (- 0 im)) (exp im)))))) |
3 alts after pruning (1 fresh and 2 done)
Merged error: 0b
Found 4 expressions with local error:
| 0.6b | (cbrt (* (* 0.5 (sin re)) (+ (exp (- 0 im)) (exp im)))) |
| 0.6b | (cbrt (* (* 0.5 (sin re)) (+ (exp (- 0 im)) (exp im)))) |
| 0.6b | (cbrt (* (* 0.5 (sin re)) (+ (pow (exp (- 0 im)) 3) (pow (exp im) 3)))) |
| 0.5b | (* (cbrt (* (* 0.5 (sin re)) (+ (exp (- 0 im)) (exp im)))) (cbrt (* (* 0.5 (sin re)) (+ (pow (exp (- 0 im)) 3) (pow (exp im) 3))))) |
4 calls. Slowest were:
| 21.0ms | (* (cbrt (* (* 0.5 (sin re)) (+ (exp (- 0 im)) (exp im)))) (cbrt (* (* 0.5 (sin re)) (+ (pow (exp (- 0 im)) 3) (pow (exp im) 3))))) |
| 19.0ms | (cbrt (* (* 0.5 (sin re)) (+ (exp (- 0 im)) (exp im)))) |
| 17.0ms | (cbrt (* (* 0.5 (sin re)) (+ (pow (exp (- 0 im)) 3) (pow (exp im) 3)))) |
4 calls. Slowest were:
| 293.0ms | (* (cbrt (* (* 0.5 (sin re)) (+ (exp (- 0 im)) (exp im)))) (cbrt (* (* 0.5 (sin re)) (+ (pow (exp (- 0 im)) 3) (pow (exp im) 3))))) |
| 221.0ms | (cbrt (* (* 0.5 (sin re)) (+ (exp (- 0 im)) (exp im)))) |
| 191.0ms | (cbrt (* (* 0.5 (sin re)) (+ (exp (- 0 im)) (exp im)))) |
| 181.0ms | (cbrt (* (* 0.5 (sin re)) (+ (pow (exp (- 0 im)) 3) (pow (exp im) 3)))) |
44 calls. Slowest were:
| 693.0ms | (* (pow (* (pow (sin re) 2) (* (+ (pow (exp im) 3) (pow (exp (- im)) 3)) (+ (exp (- im)) (exp im)))) 1/3) (pow (cbrt 0.5) 2)) |
| 646.0ms | (cbrt (cbrt (* (* 0.5 (sin re)) (+ (pow (exp (- 0 im)) 3) (pow (exp im) 3))))) |
| 574.0ms | (cbrt (* (* 0.5 (sin re)) (+ (pow (pow (exp (- 0 im)) 3) 3) (pow (pow (exp im) 3) 3)))) |
3 alts after pruning (0 fresh and 3 done)
Merged error: 0b
0% (0.0b remaining)
Error of 0.0b against oracle of 0.0b and baseline of 0.0b