| 153× | rewrite-expression-head |
440 calls:
| 7.0s | (* (/ (+ (+ (+ (+ (+ 1.0 (* 0.1049934947 (* x x))) (* 0.0424060604 (* (* x x) (* x x)))) (* 0.0072644182 (* (* (* x x) (* x x)) (* x x)))) (* 0.0005064034 (pow x 8))) (* 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) |
| 6.9s | (* (/ (+ (+ (+ (+ (+ 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) |
| 4.8s | (* (/ 1.0 21.0) (* (* (* (* (* (* (fabs x) (fabs x)) (fabs x)) (fabs x)) (fabs x)) (fabs x)) (fabs 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)))) (+ (+ (+ (+ (+ (+ 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 (pow x 8))) (* 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))))) |
| 12082× | times-frac |
| 11671× | *-un-lft-identity |
| 8262× | add-sqr-sqrt |
| 6912× | add-cube-cbrt |
| 3025× | add-exp-log |
| 2485× | sqrt-prod |
| 2463× | distribute-lft-out |
| 1776× | add-cbrt-cube |
| 1711× | prod-diff |
| 1630× | associate-*r* |
| 1581× | pow1 |
| 1521× | prod-exp |
| 848× | associate-*l* |
| 831× | cbrt-prod |
| 663× | add-log-exp |
| 606× | associate-/l* |
| 602× | cbrt-unprod div-exp |
| 591× | div-inv |
| 543× | pow-exp |
| 499× | associate-/r/ |
| 498× | pow-prod-down |
| 442× | log1p-expm1-u |
| 439× | expm1-log1p-u |
| 438× | flip-+ flip3-+ |
| 434× | associate-/r* |
| 322× | pow-to-exp |
| 317× | unpow-prod-down |
| 302× | cbrt-undiv |
| 292× | difference-of-squares |
| 263× | unswap-sqr |
| 250× | fma-neg |
| 243× | distribute-lft-out-- |
| 236× | sqrt-pow1 |
| 230× | associate-*r/ |
| 189× | 1-exp |
| 184× | log-pow |
| 174× | distribute-rgt-in distribute-lft-in |
| 169× | flip3-- flip-- |
| 157× | frac-times |
| 155× | cube-prod |
| 144× | fma-def |
| 143× | associate--l+ |
| 142× | exp-sum |
| 132× | sqrt-div |
| 130× | frac-add |
| 127× | associate-*l/ |
| 125× | *-commutative |
| 118× | frac-sub |
| 110× | rec-exp cbrt-div |
| 105× | sqr-pow |
| 93× | frac-2neg clear-num |
| 88× | sub-neg |
| 86× | associate-/l/ diff-log |
| 85× | pow1/2 |
| 80× | log-prod |
| 79× | pow-prod-up |
| 73× | pow-unpow pow1/3 |
| 70× | exp-prod |
| 64× | swap-sqr |
| 47× | pow-plus |
| 43× | pow-sqr |
| 37× | unpow3 fma-udef cube-mult |
| 36× | pow-pow |
| 35× | sum-log |
| 33× | distribute-rgt-neg-in distribute-lft-neg-in |
| 28× | neg-mul-1 |
| 27× | rem-sqrt-square |
| 23× | pow2 +-commutative |
| 17× | pow-flip |
| 16× | associate-+l+ |
| 15× | associate--l- div-sub |
| 14× | rem-exp-log associate-+r+ |
| 13× | inv-pow |
| 12× | hypot-def |
| 11× | rem-cube-cbrt |
| 9× | neg-log associate--r+ |
| 8× | cube-div |
| 7× | neg-sub0 distribute-rgt-out-- |
| 6× | exp-diff pow3 expm1-log1p expm1-udef rem-log-exp log-div unpow2 |
| 4× | sqrt-pow2 log1p-udef un-div-inv log1p-expm1 distribute-rgt-neg-out associate-+l- |
| 3× | sqrt-unprod exp-neg sin-sum hypot-udef rem-cbrt-cube |
| 2× | sub-div pow-sub rem-square-sqrt pow-neg |
| 1× | distribute-lft-neg-out associate-+r- unpow-prod-up unsub-neg cos-sum distribute-neg-in |
| 99× | intervals |
| 44.0s | 12028× | body | 10240 | exit |
| 18.7s | 451996× | body | 80 | valid |
| 11.4s | 27447× | body | 1280 | valid |
| 5.1s | 21203× | body | 640 | valid |
| 2.6s | 70746× | body | 80 | nan |
| 1.7s | 1613× | body | 1280 | nan |
| 1.6s | 10608× | body | 320 | valid |
| 982.0ms | 9297× | body | 160 | valid |
| 954.0ms | 1344× | body | 640 | nan |
| 675.0ms | 49536× | pre | 80 | true |
| 347.0ms | 1457× | body | 2560 | valid |
| 340.0ms | 680× | body | 320 | nan |
| 148.0ms | 589× | body | 5120 | valid |
| 109.0ms | 316× | body | 160 | nan |
438 calls:
| 1.9s | (/ (* (* (- (* (+ (+ 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.2s | (pow (* (pow -1 1.0) (* (pow -2.0 1.0) (pow (log (/ 1 u1)) 1.0))) 0.5) |
| 1.1s | (cbrt (+ (* (/ 1 (* (pow (fma 0.3275911 (fabs x) 1.0) 2) (exp (pow (fabs x) 2)))) (+ 0.284496736 (/ 1.453152027 (pow (fma 0.3275911 (fabs x) 1.0) 2)))) (- (- 1.0 (* 1.061405429 (/ (exp (- (pow (fabs x) 2))) (pow (+ (* 0.3275911 (fabs x)) 1.0) 5)))) (* (/ 1 (* (fma 0.3275911 (fabs x) 1.0) (exp (pow (fabs x) 2)))) (+ (/ 1.421413741 (pow (fma 0.3275911 (fabs x) 1.0) 2)) 0.254829592))))) |
| 1.1s | (* (pow (* (pow -1 1.0) (* (pow -2.0 1.0) (pow (log (/ 1 u1)) 1.0))) 0.5) (pow (sqrt 0.16666666666666666) 2)) |
| 1.0s | (cbrt (- 1.0 (* (* (/ 1.0 (+ 1.0 (* 0.3275911 (fabs x)))) (log1p (expm1 (+ 0.254829592 (* (/ 1.0 (+ 1.0 (* 0.3275911 (fabs x)))) (+ -0.284496736 (* (/ 1.0 (+ 1.0 (* 0.3275911 (fabs x)))) (+ 1.421413741 (* (/ 1.0 (+ 1.0 (* 0.3275911 (fabs x)))) (+ -1.453152027 (* (/ 1.0 (+ 1.0 (* 0.3275911 (fabs x)))) 1.061405429))))))))))) (exp (- (* (fabs x) (fabs x))))))) |
| 251× | egg-herbie |
Total 42.1b remaining (44.1%)
Threshold costs 5.0b (5.3%)
| 7.3b | 34.9% | _divideComplex, real part |
| 7.2b | 13.2% | Octave 3.8, jcobi/2 |
| 5.0b | 45.2% | _divideComplex, imaginary part |
| 4.5b | 23.8% | math.sqrt on complex, imaginary part, im greater than 0 branch |
| 4.1b | 32.1% | math.sqrt on complex, real part |