



Bits error versus x




Bits error versus y




Bits error versus z




Bits error versus t
| Original | 7.6 |
|---|---|
| Target | 8.3 |
| Herbie | 2.1 |
Initial program 7.6
rmApplied associate-/r*2.1
pow expressions.Time bar (total: 48.9s)Debug log
herbie shell --seed '#(1567391828 2030694642 2833800258 828025724 3004380912 3532991858)' +o setup:early-exit
(FPCore (x y z t)
:name "Data.Random.Distribution.Triangular:triangularCDF from random-fu-0.2.6.2, B"
:herbie-target
(if (< (/ x (* (- y z) (- t z))) 0.0) (/ (/ x (- y z)) (- t z)) (* x (/ 1 (* (- y z) (- t z)))))
(/ x (* (- y z) (- t z))))