



Bits error versus re




Bits error versus im
| Original | 57.8 |
|---|---|
| Target | 0.3 |
| Herbie | 0.9 |
Initial program 57.8
Taylor expanded around 0 0.9
pow expressions.Time bar (total: 56.6s)Debug logProfile
herbie shell --seed '#(1063313015 2771194459 1594909340 1344785158 2223560818 546365448)'
(FPCore (re im)
:name "math.sin on complex, imaginary part"
:herbie-target
(if (< (fabs im) 1) (- (* (cos re) (+ (+ im (* (* (* 1/6 im) im) im)) (* (* (* (* (* 1/120 im) im) im) im) im)))) (* (* 0.5 (cos re)) (- (exp (- 0 im)) (exp im))))
(* (* 0.5 (cos re)) (- (exp (- 0 im)) (exp im))))