| 78× | intervals |
| 1.7m | 20426× | body | 10240 | exit |
| 1.4m | 43746× | body | 1280 | valid |
| 31.5s | 30691× | body | 640 | valid |
| 19.7s | 202771× | body | 80 | valid |
| 15.0s | 153013× | body | 80 | nan |
| 11.0s | 27749× | body | 320 | valid |
| 8.8s | 35759× | body | 160 | valid |
| 7.1s | 158253× | pre | 80 | true |
| 2.2s | 3100× | body | 2560 | valid |
| 969.0ms | 7869× | body | 160 | nan |
| 540.0ms | 4116× | pre | 10240 | exit |
| 200.0ms | 220× | body | 5120 | valid |
| 165.0ms | 8292× | pre | 80 | false |
| 2.0ms | 1× | body | 640 | nan |
495 calls:
| 1.1s | (/ (+ (pow (cos phi1) 3) (pow (* (cos phi2) (* (cos lambda1) (cos lambda2))) 3)) (+ (* (cos phi1) (cos phi1)) (* (- (* (cos phi2) (* (cos lambda1) (cos lambda2))) (cos phi1)) (* (cos phi2) (* (cos lambda1) (cos lambda2)))))) |
| 946.0ms | (/ (* (pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (- s))))) c_n)) (* (pow (/ 1.0 (+ 1.0 (exp (- t)))) c_p) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (- t))))) c_n))) |
| 896.0ms | (sqrt (/ (* (pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (- s))))) c_n)) (* (+ (* (log 0.5) c_p) (+ (* 0.5 (* t c_p)) 1)) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (- t))))) c_n)))) |
| 892.0ms | (sqrt (/ (* (pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (- s))))) c_n)) (* (+ (* (log 0.5) c_p) (+ (* 0.5 (* t c_p)) 1)) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (- t))))) c_n)))) |
| 889.0ms | (log (exp (/ (- (pow (/ x (+ x 1.0)) 3) (pow (/ (+ x 1.0) (- x 1.0)) 3)) (+ (* (/ x (+ x 1.0)) (/ x (+ x 1.0))) (* (/ (+ x 1.0) (- x 1.0)) (+ (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))))))) |
| 145× | rewrite-expression-head |
495 calls:
| 1.7s | (- (pow (pow (/ (/ x0 (- 1.0 x1)) (- 1.0 x1)) 3) 3) (pow (pow x0 3) 3)) |
| 1.4s | (log (exp (/ (- (pow (/ x (+ x 1.0)) 3) (pow (/ (+ x 1.0) (- x 1.0)) 3)) (+ (* (/ x (+ x 1.0)) (/ x (+ x 1.0))) (* (/ (+ x 1.0) (- x 1.0)) (+ (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))))))) |
| 917.0ms | (+ x (+ (- (/ 0.5 x) (/ 0.125 (pow x 3))) x)) |
| 894.0ms | (- (/ (/ 2.0 (sqrt (+ 1.0 (exp (* -2.0 x))))) (cbrt (pow (sqrt (+ (exp (* -2.0 x)) 1.0)) 3))) 1.0) |
| 808.0ms | (/ (- (pow (exp x) 3) (pow (exp (- x)) 3)) (+ (+ (exp (+ x x)) (exp (- (+ x x)))) 1)) |
| 21723× | times-frac |
| 12503× | *-un-lft-identity |
| 12181× | add-sqr-sqrt |
| 8991× | add-cube-cbrt |
| 3936× | sqrt-prod |
| 3084× | add-exp-log |
| 1926× | add-cbrt-cube |
| 1298× | difference-of-squares |
| 1275× | unpow-prod-down |
| 1187× | associate-*r* |
| 1159× | flip-- |
| 1158× | flip3-- |
| 1065× | div-inv |
| 1056× | div-exp |
| 1039× | distribute-lft-out-- |
| 1035× | pow1 |
| 939× | associate-/l* |
| 936× | prod-exp |
| 934× | cube-prod |
| 858× | associate-*l/ |
| 854× | frac-times |
| 801× | associate-/r* |
| 793× | add-log-exp |
| 670× | distribute-lft-out |
| 644× | frac-add |
| 587× | sqrt-div |
| 524× | cbrt-undiv |
| 523× | associate-*l* |
| 440× | associate-*r/ |
| 435× | associate-/r/ |
| 411× | cbrt-unprod |
| 379× | sqr-pow |
| 374× | pow-exp |
| 355× | log-pow |
| 342× | cbrt-prod |
| 315× | exp-prod |
| 274× | pow-to-exp |
| 248× | distribute-rgt-neg-in |
| 230× | cos-mult |
| 228× | log-prod |
| 220× | unswap-sqr |
| 210× | pow-prod-down |
| 189× | flip-+ |
| 188× | flip3-+ |
| 165× | cbrt-div |
| 131× | clear-num frac-2neg |
| 109× | sub-neg |
| 108× | *-commutative |
| 100× | associate-/l/ |
| 99× | diff-log |
| 77× | unpow2 |
| 69× | sqrt-pow1 |
| 64× | unpow3 |
| 63× | swap-sqr |
| 62× | cube-mult |
| 61× | log-div |
| 59× | sum-log |
| 54× | pow1/2 |
| 51× | 1-exp rec-exp |
| 45× | pow-unpow div-sub |
| 40× | +-commutative |
| 38× | pow-pow |
| 36× | tan-quot |
| 33× | exp-sum |
| 32× | rem-sqrt-square |
| 30× | pow1/3 rem-log-exp |
| 28× | distribute-rgt-out |
| 27× | cube-div |
| 25× | distribute-rgt-in distribute-lft-in |
| 24× | neg-sub0 |
| 21× | pow-prod-up |
| 19× | pow-sqr sin-diff |
| 18× | rem-cube-cbrt neg-log frac-sub associate--l+ |
| 17× | associate--l- sin-mult |
| 15× | cos-diff |
| 14× | pow-plus |
| 13× | difference-cubes pow2 cos-sum associate-+l- |
| 12× | sin-cos-mult |
| 11× | exp-diff |
| 9× | distribute-lft-neg-in |
| 8× | associate-+r- pow-flip associate-+r+ acos-asin associate--r+ |
| 7× | sin-sum |
| 6× | inv-pow |
| 5× | un-div-inv distribute-lft1-in associate--r- rem-cbrt-cube |
| 4× | sum-cubes rem-exp-log |
| 3× | acos-neg sqrt-unprod distribute-neg-in distribute-rgt-out-- associate-+l+ distribute-frac-neg asin-acos neg-mul-1 |
| 2× | pow-sub distribute-rgt-neg-out |
| 1× | sqrt-pow2 e-exp-1 cube-unmult unpow-prod-up unsub-neg rem-square-sqrt exp-neg sub-div tanh-undef sqr-cos exp-to-pow tanh-def |
Total 35.0b remaining (26%)
Threshold costs 6.9b (5.1%)
| 6.1b | 79.1% | Quadratic roots, full range |
| 4.6b | 59.7% | Quotient of products |
| 3.7b | 0% | Cubic critical, wide range |
| 3.7b | 0% | Quadratic roots, wide range |
| 3.6b | 74.6% | Equirectangular approximation to distance on a great circle |