| 154× | rewrite-expression-head |
463 calls:
| 24.4s | (* (/ 1 (/ (+ (+ (* (* (pow x 2) (* (pow x 2) (* (pow x 2) (* (pow x 2) (* x (pow x 3)))))) (* 2.0 0.0001789971)) (+ (+ (* (* (pow x 2) (* x (pow x 3))) 0.0694555761) 1.0) (* (pow x 2) (+ 0.7715471019 (* 0.2909738639 (pow x 2)))))) (* (pow x 2) (+ (* 0.0140005442 (* (* (* x x) x) (* (* x x) x))) (* 0.0008327945 (* (* (* (* x x) (* x x)) (* x x)) (* x x)))))) (+ (+ (* (* (pow x 2) (* (pow x 2) (* (pow x 2) (* x (pow x 3))))) 0.0001789971) (+ (+ (* (* (pow x 2) (* x (pow x 3))) 0.0072644182) 1.0) (* (pow x 2) (+ 0.1049934947 (* 0.0424060604 (pow x 2)))))) (* (* (pow x 2) (* (pow x 2) (* x (pow x 3)))) 0.0005064034)))) x) |
| 20.6s | (/ (+ (+ (* (* (pow x 2) (* (pow x 2) (* (pow x 2) (* (pow x 2) (* x (pow x 3)))))) (* 2.0 0.0001789971)) (+ (+ (* (* (pow x 2) (* x (pow x 3))) 0.0694555761) 1.0) (* (pow x 2) (+ 0.7715471019 (* 0.2909738639 (pow x 2)))))) (* (pow x 2) (+ (* 0.0140005442 (* (* (* x x) x) (* (* x x) x))) (* 0.0008327945 (* (* (* (* x x) (* x x)) (* x x)) (* x x)))))) (+ (+ (* (* (pow x 2) (* (pow x 2) (* (pow x 2) (* x (pow x 3))))) 0.0001789971) (+ (+ (* (* (pow x 2) (* x (pow x 3))) 0.0072644182) 1.0) (* (pow x 2) (+ 0.1049934947 (* 0.0424060604 (pow x 2)))))) (* (* (pow x 2) (* (pow x 2) (* x (pow x 3)))) 0.0005064034))) |
| 12.3s | (/ 1 (/ (+ (+ (* (* (pow x 2) (* (pow x 2) (* (pow x 2) (* (pow x 2) (* x (pow x 3)))))) (* 2.0 0.0001789971)) (+ (+ (* (* (pow x 2) (* x (pow x 3))) 0.0694555761) 1.0) (* (pow x 2) (+ 0.7715471019 (* 0.2909738639 (pow x 2)))))) (* (pow x 2) (+ (* 0.0140005442 (* (* (* x x) x) (* (* x x) x))) (* 0.0008327945 (* (* (* (* x x) (* x x)) (* x x)) (* x x)))))) (+ (+ (* (* (pow x 2) (* (pow x 2) (* (pow x 2) (* x (pow x 3))))) 0.0001789971) (+ (+ (* (* (pow x 2) (* x (pow x 3))) 0.0072644182) 1.0) (* (pow x 2) (+ 0.1049934947 (* 0.0424060604 (pow x 2)))))) (* (* (pow x 2) (* (pow x 2) (* x (pow x 3)))) 0.0005064034)))) |
| 7.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))))) x) |
| 4.1s | (/ (+ (+ (+ (+ (+ 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))))) |
| 8451× | times-frac |
| 7453× | *-un-lft-identity |
| 6269× | add-sqr-sqrt |
| 4708× | add-cube-cbrt |
| 2251× | add-exp-log |
| 2161× | sqrt-prod |
| 1904× | add-cbrt-cube |
| 1816× | pow1 |
| 1249× | associate-*r* |
| 1156× | cbrt-prod |
| 1145× | distribute-lft-out |
| 829× | associate-*l* |
| 801× | prod-exp |
| 762× | associate-/r* |
| 748× | flip-+ flip3-+ |
| 713× | add-log-exp |
| 647× | cbrt-unprod |
| 604× | associate-/r/ |
| 562× | associate-/l* |
| 516× | frac-times |
| 476× | difference-of-squares |
| 445× | pow-prod-down |
| 434× | associate-*r/ |
| 419× | div-exp |
| 410× | log-pow |
| 387× | cbrt-div |
| 376× | unpow-prod-down |
| 336× | div-inv |
| 329× | distribute-lft-out-- |
| 316× | cbrt-undiv |
| 276× | sqrt-div |
| 269× | associate-*l/ |
| 246× | cube-prod |
| 239× | unswap-sqr |
| 231× | sqr-pow |
| 205× | flip3-- flip-- |
| 195× | log-prod |
| 164× | sqrt-pow1 |
| 142× | *-commutative |
| 138× | pow1/2 |
| 131× | swap-sqr |
| 127× | distribute-rgt-in distribute-lft-in |
| 113× | associate-/l/ |
| 99× | pow-prod-up pow-exp |
| 96× | pow1/3 |
| 94× | frac-2neg clear-num |
| 88× | frac-add |
| 82× | sub-neg |
| 72× | diff-log |
| 67× | sum-log |
| 63× | associate-+r+ |
| 61× | pow-to-exp |
| 57× | pow-sqr |
| 52× | rem-sqrt-square |
| 45× | 1-exp |
| 43× | pow-plus |
| 41× | +-commutative |
| 40× | cube-div |
| 38× | rec-exp |
| 33× | pow-unpow |
| 32× | exp-prod |
| 29× | exp-neg |
| 28× | exp-diff |
| 26× | pow2 |
| 25× | unpow3 cube-mult neg-sub0 associate--l+ |
| 24× | frac-sub |
| 21× | associate-+l+ |
| 19× | distribute-lft-neg-in inv-pow pow-flip distribute-rgt-neg-in |
| 18× | pow-pow |
| 17× | associate--r+ |
| 16× | rem-cube-cbrt |
| 15× | div-sub |
| 14× | exp-sum |
| 12× | unpow2 |
| 11× | pow3 |
| 10× | distribute-rgt-out |
| 9× | un-div-inv distribute-neg-in rem-log-exp |
| 8× | rem-exp-log associate--l- distribute-neg-frac log-div |
| 7× | sin-sum |
| 6× | neg-mul-1 |
| 5× | rem-cbrt-cube |
| 4× | sub-div log-rec neg-log distribute-rgt-neg-out |
| 3× | distribute-lft-neg-out associate-+l- |
| 2× | cos-sum sqrt-undiv difference-cubes unpow1/3 sqrt-unprod rem-square-sqrt sum-cubes |
| 1× | distribute-neg-out associate-+r- distribute-rgt-out-- unpow-prod-up pow-sub unsub-neg distribute-frac-neg associate--r- sin-diff |
457 calls:
| 19.6s | (- (pow 1.0 3) (/ (pow (* 1.0 (- (* 0.254829592 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))))))) (* (/ 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)))))))))) 3) (pow (* (* (+ 1.0 (* 0.3275911 (fabs x))) (- 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)))) 3))) |
| 3.2s | (- (pow 1.0 3) (pow (* (* (/ 1.0 (+ 1.0 (* 0.3275911 (fabs x)))) (+ 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))))) 3)) |
| 1.7s | (* (* (* (/ 1.0 (+ 1.0 (* 0.3275911 (fabs x)))) (+ 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))))) (+ (* (* (/ 1.0 (+ 1.0 (* 0.3275911 (fabs x)))) (+ 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))))) 1.0)) |
| 978.0ms | (pow (pow (/ (* 1.0 (pow (* -2.0 (log u1)) 0.5)) 6.0) 3) 1/3) |
| 847.0ms | (- 1.0 (* (* (/ 1.0 (+ 1.0 (* 0.3275911 (fabs x)))) (+ 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)))))) |
| 97× | intervals |
| 45.6s | 12116× | body | 10240 | exit |
| 18.1s | 433873× | body | 80 | valid |
| 11.2s | 27265× | body | 1280 | valid |
| 5.1s | 21350× | body | 640 | valid |
| 2.5s | 70364× | body | 80 | nan |
| 1.9s | 1569× | body | 1280 | nan |
| 1.6s | 10851× | body | 320 | valid |
| 1.2s | 1320× | body | 640 | nan |
| 654.0ms | 49536× | pre | 80 | true |
| 534.0ms | 5432× | body | 160 | valid |
| 399.0ms | 668× | body | 320 | nan |
| 353.0ms | 1469× | body | 2560 | valid |
| 148.0ms | 628× | body | 5120 | valid |
| 117.0ms | 298× | body | 160 | nan |
| 248× | egg-herbie |
Total 106.9b remaining (45.6%)
Threshold costs 3.5b (1.5%)
| 18.3b | 48.5% | math.sqrt on complex, imaginary part, im greater than 0 branch |
| 10.7b | 56.5% | math.log/2 on complex, real part |
| 10.2b | 59% | math.log/1 on complex, real part |
| 10.1b | 59.4% | math.log10 on complex, real part |
| 9.8b | 59.4% | math.abs on complex |