



Bits error versus re




Bits error versus im
| Original | 58.1 |
|---|---|
| Target | 0.3 |
| Herbie | 0.8 |
Initial program 58.1
Taylor expanded around 0 0.8
rmApplied distribute-neg-in0.8
Applied distribute-lft-in0.8
rmApplied distribute-neg-in0.8
Applied distribute-lft-in0.8
Time bar (total: 54.9s)Debug logProfile
herbie shell --seed '#(1070100504 930361288 1279167582 284574201 1450237281 2578255382)'
(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))))