


Bits error versus u1



Bits error versus u2
Initial program 0.4
Initial simplification0.4
rmApplied add-exp-log0.6
Final simplification0.6
Time bar (total: 29.4s)Debug logProfile
| Baseline | Herbie | Oracle | Span | % | |
|---|---|---|---|---|---|
| Regimes | 0.6 | 0.6 | 0.0 | 0.5 | 0% |
herbie shell --seed 2018354 +o rules:numerics
(FPCore (u1 u2)
:name "normal distribution"
:pre (and (<= 0 u1 1) (<= 0 u2 1))
(+ (* (* (/ 1 6) (pow (* -2 (log u1)) 0.5)) (cos (* (* 2 PI) u2))) 0.5))