


Bits error versus u1



Bits error versus u2
Initial program 0.4
Applied simplify0.3
rmApplied clear-num0.3
Taylor expanded around 0 0.4
Applied simplify0.4
pow expressions.Time bar (total: 1.5m)Debug log
herbie shell --seed '#(1567391828 2030694642 2833800258 828025724 3004380912 3532991858)' +o setup:early-exit +o reduce:binary-search
(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))