



Bits error versus x




Bits error versus y




Bits error versus z
| Original | 7.9 |
|---|---|
| Target | 0.4 |
| Herbie | 0.5 |
if (* (cosh x) (/ y x)) < -inf.0Initial program 64.0
Taylor expanded around inf 0.7
Simplified0.7
if -inf.0 < (* (cosh x) (/ y x)) < 2.69207147685910959e155Initial program 0.3
if 2.69207147685910959e155 < (* (cosh x) (/ y x)) Initial program 23.2
rmApplied clear-num23.3
Simplified1.9
Final simplification0.5
herbie shell --seed 2020184
(FPCore (x y z)
:name "Linear.Quaternion:$ctan from linear-1.19.1.3"
:precision binary64
:herbie-target
(if (< y -4.618902267687042e-52) (* (/ (/ y z) x) (cosh x)) (if (< y 1.0385305359351529e-39) (/ (/ (* (cosh x) y) x) z) (* (/ (/ y z) x) (cosh x))))
(/ (* (cosh x) (/ y x)) z))