Details

simplify39.5m (86.1%)

sample3.3m (7.2%)

Algorithm
67×halfpoints

prune2.1m (4.7%)

localize33.7s (1.2%)

regimes17.7s (0.6%)

Accuracy

Total 8.0b remaining (31.6%)

Threshold costs 8.0b (31.6%)

0.9b0%Octave 3.8, jcobi/4
0.5b0%quadp (p42, positive)
0.4b0%quadm (p42, negative)
0.4b0%math.sqrt on complex, imaginary part, im greater than 0 branch
0.4b0%_divideComplex, imaginary part

rewrite6.4s (0.2%)

Algorithm
123×rewrite-expression-head
Calls

400 calls:

405.0ms
(-.p16 (+.p16 (real->posit16 1) x) (*.p16 (sqrt.p16 x) (sqrt.p16 x)))
361.0ms
(*.p16 (+.p16 x.re x.re) x.im)
188.0ms
(+.p16 (/.p16 (/.p16 (*.p16 (+.p16 alpha beta) (-.p16 beta alpha)) (+.p16 (+.p16 alpha beta) (*.p16 (real->posit16 2) i))) (+.p16 (+.p16 (+.p16 alpha beta) (*.p16 (real->posit16 2) i)) (real->posit16 2.0))) (real->posit16 1.0))
153.0ms
(/.p16 (+.p16 (/.p16 (-.p16 beta alpha) (+.p16 (+.p16 alpha beta) (real->posit16 2.0))) (real->posit16 1.0)) (real->posit16 2.0))
142.0ms
(/.p16 (/.p16 (*.p16 i (+.p16 (+.p16 alpha beta) i)) (+.p16 (+.p16 alpha beta) (*.p16 (real->posit16 2) i))) (+.p16 (+.p16 (+.p16 alpha beta) (*.p16 (real->posit16 2) i)) (real->posit16 1.0)))
Rules
4795×p16-times-frac
4655×*p16-lft-identity-expand p16-*-un-lft-identity
3623×*p16-rgt-identity-expand
1081×/p16-rgt-identity-expand
955×introduce-quire
845×+p16-lft-identity-expand +p16-rgt-identity-expand
757×distribute-lft-out p16-distribute-lft-out
628×-p16-rgt-identity-expand
572×associate-/r*
536×distribute-lft-in distribute-rgt-in
513×associate-/r/
510×distribute-lft-out--
470×associate-/l*
378×associate-*l*
350×associate--l+
341×associate-*r*
339×insert-quire-fdp-add
327×distribute-rgt-out
216×insert-quire-fdp-sub
209×distribute-rgt-out--
200×associate-*r/
183×associate-*l/
177×p16-flip--
159×difference-of-squares
153×associate-/l/
138×associate-+l+
136×associate-+r+
122×associate--r+
100×sub-neg
98×insert-quire-add
97×insert-quire-sub
86×*-commutative
81×associate-+l-
71×associate--r-
70×associate-+r-
69×associate--l-
67×+-commutative
53×distribute-lft1-in
23×difference-of-sqr-1
remove-double-div.p16
sqrt-sqrd.p16

series29.0ms (0.0%)

Calls

400 calls:

0.0ms
(-.p16 (neg.p16 b) (sqrt.p16 (quire16->posit16 (quire16-mul-sub (posit16->quire16 (*.p16 b b)) (*.p16 (real->posit16 4) a) c))))
0.0ms
(-.p16 (neg.p16 b_2) (sqrt.p16 (-.p16 (*.p16 b_2 b_2) (*.p16 a c))))
0.0ms
(-.p16 (sqrt.p16 (-.p16 (*.p16 b b) (*.p16 (*.p16 c a) (real->posit16 4)))) b)
0.0ms
(*.p16 (-.p16 re im) (+.p16 im re))
0.0ms
(*.p16 (+.p16 im im) re)

bsearch1.0ms (0.0%)

end1.0ms (0.0%)