



Bits error versus x




Bits error versus y




Bits error versus z
| Original | 25.8 |
|---|---|
| Target | 21.2 |
| Herbie | 8.6 |
if (* (cosh x) (/ y x)) < -4.010803076035026e+232Initial program 55.2
Taylor expanded around 0 8.2
if -4.010803076035026e+232 < (* (cosh x) (/ y x)) < 1.0747284663836783e+250Initial program 0.2
rmApplied div-inv0.3
if 1.0747284663836783e+250 < (* (cosh x) (/ y x)) Initial program 52.6
rmApplied add-cube-cbrt52.6
Applied associate-*l*52.6
rmApplied associate-*r/52.1
Applied cosh-def52.1
Applied cbrt-div52.1
Applied associate-*r/52.1
Applied frac-times52.1
Applied associate-/l/37.1
pow expressions.Time bar (total: 2.1m)Debug log
herbie shell --seed '#(1567391828 2030694642 2833800258 828025724 3004380912 3532991858)' +o setup:early-exit +o reduce:binary-search
(FPCore (x y z)
:name "Linear.Quaternion:$ctan from linear-1.19.1.3"
:herbie-target
(if (< y -4.618902267687042e-52) (* (/ (/ y z) x) (cosh x)) (if (< y 1.038530535935153e-39) (/ (/ (* (cosh x) y) x) z) (* (/ (/ y z) x) (cosh x))))
(/ (* (cosh x) (/ y x)) z))