


Bits error versus F



Bits error versus l
if (fma (- (/ (cbrt (tan (* l PI))) F)) (fma (/ (cbrt (tan (* l PI))) F) (* (* (pow l 1/3) (pow PI 1/3)) (+ (* (* (* l PI) l) (* PI 1/9)) (* 13/405 (* (pow PI 4) (pow l 4))))) (* (* (pow l 1/3) (pow PI 1/3)) (/ (cbrt (tan (* l PI))) F))) (* l PI)) < -1.2294582952786017e+287Initial program 26.8
rmApplied add-cube-cbrt26.7
if -1.2294582952786017e+287 < (fma (- (/ (cbrt (tan (* l PI))) F)) (fma (/ (cbrt (tan (* l PI))) F) (* (* (pow l 1/3) (pow PI 1/3)) (+ (* (* (* l PI) l) (* PI 1/9)) (* 13/405 (* (pow PI 4) (pow l 4))))) (* (* (pow l 1/3) (pow PI 1/3)) (/ (cbrt (tan (* l PI))) F))) (* l PI)) < -1.9025460193008453e+230Initial program 49.5
rmApplied add-cube-cbrt49.6
Applied associate-*r*49.7
Applied simplify30.9
Taylor expanded around 0 35.4
Applied simplify14.4
if -1.9025460193008453e+230 < (fma (- (/ (cbrt (tan (* l PI))) F)) (fma (/ (cbrt (tan (* l PI))) F) (* (* (pow l 1/3) (pow PI 1/3)) (+ (* (* (* l PI) l) (* PI 1/9)) (* 13/405 (* (pow PI 4) (pow l 4))))) (* (* (pow l 1/3) (pow PI 1/3)) (/ (cbrt (tan (* l PI))) F))) (* l PI)) Initial program 12.2
rmApplied add-cube-cbrt12.4
Applied associate-*r*12.4
Applied simplify9.1
rmApplied add-cube-cbrt9.1
Time bar (total: 2.8m)Debug logProfile
herbie shell --seed 2018198 +o rules:numerics
(FPCore (F l)
:name "VandenBroeck and Keller, Equation (6)"
(- (* PI l) (* (/ 1 (* F F)) (tan (* PI l)))))