| 148× | rewrite-expression-head |
424 calls:
| 15.3s | (* (/ (+ (+ (+ (+ (+ 1.0 (* 0.1049934947 (* x x))) (* 0.0424060604 (* (* x x) (* x x)))) (* 0.0072644182 (* (* (* x x) (* x x)) (* x x)))) (* 0.0005064034 (* (* (* (* x x) (* x x)) (* x x)) (* x x)))) (* 0.0001789971 (* (* (* (* (* x x) (* x x)) (* x x)) (* x x)) (* x x)))) (+ (+ (+ (+ (+ (+ 1.0 (* 0.7715471019 (* x x))) (* 0.2909738639 (* (* x x) (* x x)))) (* 0.0694555761 (* (* (* x x) (* x x)) (* x x)))) (* 0.0140005442 (* (* (* (* x x) (* x x)) (* x x)) (* x x)))) (* 0.0008327945 (* (* (* (* (* x x) (* x x)) (* x x)) (* x x)) (* x x)))) (* (* 2.0 0.0001789971) (* (* (* (* (* (* x x) (* x x)) (* x x)) (* x x)) (* x x)) (* x x))))) x) |
| 8.6s | (/ (+ (+ (+ (+ (+ 1.0 (* 0.1049934947 (* x x))) (* 0.0424060604 (* (* x x) (* x x)))) (* 0.0072644182 (* (* (* x x) (* x x)) (* x x)))) (* 0.0005064034 (* (* (* (* x x) (* x x)) (* x x)) (* x x)))) (* 0.0001789971 (* (* (* (* (* x x) (* x x)) (* x x)) (* x x)) (* x x)))) (+ (+ (+ (+ (+ (+ 1.0 (* 0.7715471019 (* x x))) (* 0.2909738639 (* (* x x) (* x x)))) (* 0.0694555761 (* (* (* x x) (* x x)) (* x x)))) (* 0.0140005442 (* (* (* (* x x) (* x x)) (* x x)) (* x x)))) (* 0.0008327945 (* (* (* (* (* x x) (* x x)) (* x x)) (* x x)) (* x x)))) (* (* 2.0 0.0001789971) (* (* (* (* (* (* x x) (* x x)) (* x x)) (* x x)) (* x x)) (* x x))))) |
| 4.0s | (* (+ (+ (+ (+ (+ 1.0 (* 0.1049934947 (* x x))) (* 0.0424060604 (* (* x x) (* x x)))) (* 0.0072644182 (* (* (* x x) (* x x)) (* x x)))) (* 0.0005064034 (* (* (* (* x x) (* x x)) (* x x)) (* x x)))) (* 0.0001789971 (* (* (* (* (* x x) (* x x)) (* x x)) (* x x)) (* x x)))) (/ x (fma (* 2.0 0.0001789971) (* (pow x 2) (* (pow x 2) (* (pow x 2) (* (pow x 2) (* x (pow x 3)))))) (fma 0.0008327945 (* (pow x 2) (* (pow x 2) (* (pow x 2) (* x (pow x 3))))) (fma 0.0140005442 (* (pow x 2) (* (pow x 2) (* x (pow x 3)))) (fma 0.0694555761 (pow x 6) (fma 0.2909738639 (pow x 4) (fma (* 0.7715471019 x) x 1.0)))))))) |
| 4.0s | (* (+ (+ (+ (+ (+ 1.0 (* 0.1049934947 (* x x))) (* 0.0424060604 (* (* x x) (* x x)))) (* 0.0072644182 (* (* (* x x) (* x x)) (* x x)))) (* 0.0005064034 (* (* (* (* x x) (* x x)) (* x x)) (* x x)))) (* 0.0001789971 (* (* (* (* (pow x 3) x) (* x x)) (* x x)) (* x x)))) (/ x (fma (* 2.0 0.0001789971) (* (pow x 2) (* (pow x 2) (* (pow x 2) (* (pow x 2) (* x (pow x 3)))))) (fma 0.0008327945 (* (pow x 2) (* (pow x 2) (* (pow x 2) (* x (pow x 3))))) (fma 0.0140005442 (* (pow x 2) (* (pow x 2) (* x (pow x 3)))) (fma 0.0694555761 (pow x 6) (fma 0.2909738639 (pow x 4) (fma (* 0.7715471019 x) x 1.0)))))))) |
| 1.1s | (* (/ (/ (+ (+ (+ alpha beta) (* beta alpha)) 1.0) (+ (+ alpha beta) (* 2.0 1.0))) (sqrt (+ (+ (+ alpha beta) (* 2.0 1.0)) 1.0))) (/ (/ 1 (sqrt (+ (+ (+ alpha beta) (* 2.0 1.0)) 1.0))) (fma 1.0 2.0 (+ alpha beta)))) |
| 15627× | *-un-lft-identity |
| 14350× | times-frac |
| 10106× | add-sqr-sqrt |
| 8864× | add-cube-cbrt |
| 6352× | sqrt-prod |
| 4265× | prod-diff |
| 3642× | distribute-lft-out |
| 2206× | add-exp-log |
| 1572× | pow1 add-cbrt-cube |
| 1135× | fma-neg |
| 950× | associate-*l* |
| 698× | prod-exp |
| 672× | associate-/l* |
| 658× | associate-/r/ |
| 653× | associate-*r* |
| 614× | div-exp |
| 575× | add-log-exp |
| 558× | div-inv |
| 464× | sqrt-div |
| 449× | associate-/r* |
| 424× | log1p-expm1-u expm1-log1p-u |
| 395× | flip-+ flip3-+ |
| 394× | cbrt-unprod |
| 360× | pow-prod-down |
| 348× | cbrt-undiv |
| 297× | difference-of-squares |
| 291× | distribute-rgt-in distribute-lft-in |
| 233× | distribute-lft-out-- |
| 213× | sqrt-pow1 |
| 212× | cbrt-prod |
| 209× | unswap-sqr |
| 193× | log-pow |
| 183× | associate-*r/ |
| 164× | pow-prod-up |
| 150× | unpow-prod-down |
| 146× | 1-exp |
| 143× | fma-def |
| 140× | flip3-- flip-- |
| 137× | exp-sum |
| 125× | associate--l+ |
| 117× | log-prod |
| 115× | *-commutative |
| 110× | swap-sqr |
| 106× | cbrt-div |
| 100× | frac-2neg clear-num |
| 98× | pow-sqr pow-exp |
| 89× | pow-plus |
| 85× | associate-/l/ |
| 82× | pow1/2 |
| 78× | rec-exp |
| 77× | sub-neg |
| 75× | pow1/3 |
| 72× | associate-*l/ |
| 67× | sqr-pow |
| 65× | frac-times |
| 63× | fma-udef |
| 61× | diff-log |
| 57× | pow-to-exp |
| 55× | pow2 |
| 49× | pow-unpow |
| 48× | cube-prod |
| 29× | rem-log-exp |
| 27× | exp-prod |
| 24× | rem-sqrt-square sum-log |
| 21× | distribute-rgt-neg-in distribute-lft-neg-in neg-mul-1 |
| 20× | +-commutative |
| 17× | unpow3 cube-mult div-sub |
| 16× | pow-flip |
| 15× | pow-pow |
| 13× | associate--l- hypot-def |
| 10× | inv-pow |
| 7× | un-div-inv |
| 6× | rem-cube-cbrt log1p-udef pow3 log1p-expm1 unpow2 associate--r+ |
| 5× | expm1-log1p frac-sub expm1-udef log-div |
| 4× | cube-div associate-+l+ sqrt-unprod sin-sum rem-square-sqrt |
| 3× | sub-div rem-cbrt-cube |
| 2× | rem-exp-log exp-diff hypot-udef neg-sub0 neg-log distribute-rgt-out-- distribute-rgt-neg-out associate-+l- |
| 1× | sqrt-pow2 distribute-lft-neg-out cos-sum |
| 98× | intervals |
| 42.1s | 11781× | body | 10240 | exit |
| 16.4s | 434518× | body | 80 | valid |
| 10.8s | 26933× | body | 1280 | valid |
| 5.1s | 21149× | body | 640 | valid |
| 2.5s | 70516× | body | 80 | nan |
| 1.6s | 1595× | body | 1280 | nan |
| 1.5s | 10530× | body | 320 | valid |
| 981.0ms | 9500× | body | 160 | valid |
| 878.0ms | 1273× | body | 640 | nan |
| 768.0ms | 49536× | pre | 80 | true |
| 329.0ms | 1453× | body | 2560 | valid |
| 327.0ms | 663× | body | 320 | nan |
| 127.0ms | 574× | body | 5120 | valid |
| 102.0ms | 312× | body | 160 | nan |
421 calls:
| 1.8s | (/ (* (* (- (* (+ (+ alpha beta) (* 2.0 i)) (+ (+ alpha beta) (* 2.0 i))) 1.0) (fma i 2.0 (+ alpha beta))) (fma i 2.0 (+ alpha beta))) (fma beta alpha (* i (+ (+ alpha beta) i)))) |
| 1.1s | (pow (* (pow -1 1.0) (* (pow -2.0 1.0) (pow (log (/ 1 u1)) 1.0))) 0.5) |
| 962.0ms | (/ (/ (* i (/ (+ (+ alpha beta) i) (fma i 2.0 (+ alpha beta)))) (+ (pow (+ (+ alpha beta) (* 2.0 i)) 3) (* (fma i 2.0 (+ alpha beta)) (- 1.0)))) (/ 1 (fma beta alpha (* i (+ (+ alpha beta) i))))) |
| 861.0ms | (/ (* i (/ (+ (+ alpha beta) i) (fma i 2.0 (+ alpha beta)))) (/ (fma (fma i 2.0 (+ alpha beta)) (- 1.0) (pow (fma i 2.0 (+ alpha beta)) 3)) (fma beta alpha (* i (+ (+ alpha beta) i))))) |
| 860.0ms | (/ (* i (* (+ (+ alpha beta) i) (/ 1 (fma i 2.0 (+ alpha beta))))) (/ (fma (fma i 2.0 (+ alpha beta)) (- 1.0) (pow (fma i 2.0 (+ alpha beta)) 3)) (fma beta alpha (* i (+ (+ alpha beta) i))))) |
| 244× | egg-herbie |
Total 35.1b remaining (27.9%)
Threshold costs 5.5b (4.4%)
| 7.9b | 26.8% | _divideComplex, real part |
| 5.3b | 18.6% | Octave 3.8, jcobi/2 |
| 4.9b | 18.7% | math.sqrt on complex, imaginary part, im greater than 0 branch |
| 4.2b | 31% | math.sqrt on complex, real part |
| 3.1b | 76.2% | Octave 3.8, jcobi/1 |