


Bits error versus J



Bits error versus K



Bits error versus U
if (* (* (* (* J -2) (* (cbrt (cos (/ K 2))) (cbrt (cos (/ K 2))))) (* (cbrt (* (cbrt (cos (/ K 2))) (cbrt (cos (/ K 2))))) (cbrt (cbrt (cos (/ K 2)))))) (hypot 1 (/ (/ (/ U 2) J) (cos (/ K 2))))) < -inf.0 or +inf.0 < (* (* (* (* J -2) (* (cbrt (cos (/ K 2))) (cbrt (cos (/ K 2))))) (* (cbrt (* (cbrt (cos (/ K 2))) (cbrt (cos (/ K 2))))) (cbrt (cbrt (cos (/ K 2)))))) (hypot 1 (/ (/ (/ U 2) J) (cos (/ K 2))))) Initial program 59.8
Applied simplify59.8
rmApplied associate-*l*59.8
Taylor expanded around inf 61.9
Applied simplify32.9
if -inf.0 < (* (* (* (* J -2) (* (cbrt (cos (/ K 2))) (cbrt (cos (/ K 2))))) (* (cbrt (* (cbrt (cos (/ K 2))) (cbrt (cos (/ K 2))))) (cbrt (cbrt (cos (/ K 2)))))) (hypot 1 (/ (/ (/ U 2) J) (cos (/ K 2))))) < +inf.0Initial program 13.6
Applied simplify4.0
rmApplied associate-*l*4.0
Time bar (total: 1.3m)Debug logProfile
herbie shell --seed '#(1072330854 3074818769 591214268 3603999196 3863745332 3332387116)' +o rules:numerics
(FPCore (J K U)
:name "Maksimov and Kolovsky, Equation (3)"
(* (* (* -2 J) (cos (/ K 2))) (sqrt (+ 1 (pow (/ U (* (* 2 J) (cos (/ K 2)))) 2)))))