| 165× | rewrite-expression-head |
487 calls:
| 1.7m | (/ (* 1 (+ (+ (* (* (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))) (+ (+ (* 2.0 (* 0.0001789971 (* (* (* (* (* x x) (* x x)) (* x x)) (* x x)) (* x (pow x 3))))) (+ (+ (* (* (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))))))) |
| 6.5s | (* (/ (+ (+ (+ (+ (+ 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.7s | (* (/ 1.0 21.0) (* (* (* (* (* (* (fabs x) (fabs x)) (fabs x)) (fabs x)) (fabs x)) (fabs x)) (fabs x))) |
| 3.8s | (/ (+ (+ (+ (+ (+ 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))))) |
| 2.3s | (/ (* (+ (+ (* (* (* (/ 1.0 (fabs x)) (/ 1.0 (fabs x))) (/ (* (* 1.0 1.0) 1.0) (* (* (fabs x) (fabs x)) (fabs x)))) (+ (/ 3.0 4.0) (* (/ 1.0 (pow (fabs x) 2)) (/ 15.0 8.0)))) (/ 1.0 (/ 2.0 (pow (/ 1.0 (fabs x)) 3)))) (/ 1.0 (fabs x))) 1.0) (/ (sqrt PI) (exp (* (fabs x) (fabs x))))) |
| 17777× | times-frac |
| 12611× | *-un-lft-identity |
| 9585× | add-sqr-sqrt |
| 8513× | add-cube-cbrt |
| 4500× | sqrt-prod |
| 2652× | add-exp-log |
| 2129× | add-cbrt-cube |
| 2086× | pow1 |
| 1944× | distribute-lft-out |
| 1299× | associate-/l* |
| 1105× | associate-*l* |
| 1092× | associate-*r* |
| 978× | prod-exp |
| 743× | add-log-exp |
| 740× | associate-/r/ |
| 730× | cbrt-unprod |
| 687× | flip-+ flip3-+ |
| 668× | unpow-prod-down |
| 577× | sqrt-div |
| 541× | pow-prod-down |
| 523× | div-exp |
| 444× | div-inv |
| 443× | associate-/r* |
| 417× | associate-*r/ |
| 380× | cbrt-prod |
| 372× | cbrt-undiv |
| 360× | frac-times |
| 299× | unswap-sqr |
| 277× | associate-*l/ |
| 239× | sqrt-pow1 |
| 236× | log-pow |
| 231× | difference-of-squares |
| 210× | flip3-- flip-- |
| 190× | sqr-pow |
| 189× | pow-prod-up |
| 168× | swap-sqr |
| 159× | associate-/l/ |
| 156× | *-commutative |
| 155× | cbrt-div |
| 154× | pow-exp |
| 152× | log-prod |
| 140× | pow1/2 |
| 135× | distribute-lft-out-- |
| 134× | frac-add |
| 125× | distribute-rgt-in distribute-lft-in |
| 123× | pow-sqr |
| 113× | cube-prod |
| 99× | pow-to-exp |
| 98× | pow-plus |
| 92× | pow1/3 |
| 91× | clear-num frac-2neg |
| 79× | sub-neg |
| 72× | diff-log |
| 71× | sum-log |
| 69× | pow2 1-exp |
| 68× | rec-exp |
| 64× | rem-sqrt-square |
| 56× | pow-unpow |
| 48× | distribute-neg-frac |
| 45× | +-commutative |
| 39× | exp-prod |
| 30× | associate--l+ |
| 28× | frac-sub |
| 27× | unpow3 cube-mult |
| 21× | pow-pow |
| 19× | exp-sum log-div |
| 16× | unpow2 associate--r+ |
| 13× | inv-pow pow-flip |
| 12× | associate--l- div-sub |
| 11× | associate-+l+ |
| 10× | rem-cube-cbrt un-div-inv rem-exp-log associate-+r+ |
| 9× | distribute-rgt-neg-in distribute-lft-neg-in rem-log-exp |
| 8× | exp-diff difference-of-sqr-1 |
| 5× | unpow-prod-up associate-+l- |
| 4× | cube-div sqrt-unprod sin-sum distribute-neg-in |
| 3× | cos-sum pow3 pow-sub rem-square-sqrt neg-mul-1 |
| 2× | distribute-rgt-neg-out |
| 1× | difference-cubes sqrt-pow2 associate--r- rem-cbrt-cube |
| 99× | intervals |
| 45.3s | 7990× | body | 10240 | exit |
| 44.8s | 475620× | body | 80 | valid |
| 14.1s | 27889× | body | 1280 | valid |
| 6.7s | 20911× | body | 640 | valid |
| 5.2s | 70819× | body | 80 | nan |
| 2.4s | 10764× | body | 320 | valid |
| 2.3s | 1599× | body | 1280 | nan |
| 1.7s | 9469× | body | 160 | valid |
| 1.3s | 1260× | body | 640 | nan |
| 1.1s | 49536× | pre | 80 | true |
| 590.0ms | 1407× | body | 2560 | valid |
| 449.0ms | 579× | body | 320 | nan |
| 260.0ms | 4002× | body | 80 | overflowed |
| 258.0ms | 596× | body | 5120 | valid |
| 173.0ms | 313× | body | 160 | nan |
486 calls:
| 31.2s | (- (pow 1.0 3) (pow (* (* (/ 1.0 (+ 1.0 (* 0.3275911 (fabs x)))) (+ 0.254829592 (* (/ 1.0 (- (* 1.0 1.0) (* (* 0.3275911 (fabs x)) (* 0.3275911 (fabs x))))) (* (- 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)) |
| 2.4s | (* (/ (/ (* i (+ (+ alpha beta) i)) (+ (+ alpha beta) (* 2.0 i))) (+ (+ (+ alpha beta) (* 2.0 i)) (sqrt 1.0))) (/ (/ (+ (* beta alpha) (* i (+ (+ alpha beta) i))) (+ (+ alpha beta) (* 2.0 i))) (- (+ (+ alpha beta) (* 2.0 i)) (sqrt 1.0)))) |
| 2.1s | (- 1.0 (* (* (/ 1.0 (+ 1.0 (* 0.3275911 (fabs x)))) (+ 0.254829592 (* (/ 1.0 (- (* 1.0 1.0) (* (* 0.3275911 (fabs x)) (* 0.3275911 (fabs x))))) (* (- 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.1s | (+ 0.254829592 (* (/ 1.0 (- (* 1.0 1.0) (* (* 0.3275911 (fabs x)) (* 0.3275911 (fabs x))))) (* (- 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))))))))) |
| 921.0ms | (pow (* (pow (log u1) 1.0) (pow -2.0 1.0)) 0.5) |
| 263× | egg-herbie |
Total 101.1b remaining (35.4%)
Threshold costs 4.2b (1.5%)
| 16.9b | 49.8% | math.sqrt on complex, imaginary part, im greater than 0 branch |
| 10.5b | 57.7% | math.log/2 on complex, real part |
| 10.4b | 58.1% | math.log10 on complex, real part |
| 10.2b | 58.5% | math.log/1 on complex, real part |
| 10.0b | 58.1% | math.abs on complex |