Details

Time bar (total: 5.7s)

analyze670.0ms (11.8%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
0%99.9%0.1%5
18.7%81.1%0.1%6
26.5%67.1%6.4%7
35.1%58.5%6.4%8
41.3%49.9%8.7%9
46.4%40.2%13.4%10
50.8%34.2%15%11
55.2%26.7%18.1%12
57.4%22%20.6%13
59.8%17.9%22.3%14
Compiler

Compiled 42 to 27 computations (35.7% saved)

sample138.0ms (2.4%)

Algorithm
intervals
Results
29.0ms256×body128valid
2.0ms22×body128nan
1.0msbody128invalid
Compiler

Compiled 86 to 56 computations (34.9% saved)

simplify157.0ms (2.8%)

Algorithm
egg-herbie
Rules
1753×fma-neg_binary64
1288×fma-def_binary64
631×div-sub_binary64
512×times-frac_binary64
430×associate-/l*_binary64
Counts
1 → 2
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02258
14752
211852
326950
442950
574350
6131550
7173850
8217650
9285350
10406650
11352350
12357550
13354350
14355750
15451050
16462250
17476150

prune4.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
22.7b
Counts
3 → 1
Alt Table
StatusErrorProgram
22.7b
(if (>=.f64 b 0) (*.f64 -1/2 (/.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) a)) (/.f64 (*.f64 c 2) (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b)))
Compiler

Compiled 149 to 91 computations (38.9% saved)

localize20.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(fma.f64 a (*.f64 c -4) (*.f64 b b))
1.8b
(+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))
1.9b
(-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b)
25.7b
(sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))
Compiler

Compiled 1530 to 1275 computations (16.7% saved)

series174.0ms (3.1%)

Counts
4 → 96
Calls

4 calls:

64.0ms
(-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b)
53.0ms
(+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))
45.0ms
(sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))
11.0ms
(fma.f64 a (*.f64 c -4) (*.f64 b b))

rewrite13.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
26×add-sqr-sqrt_binary64
25×*-un-lft-identity_binary64
21×add-cube-cbrt_binary64
18×prod-diff_binary64
16×sqrt-prod_binary64
Counts
4 → 85
Calls

4 calls:

4.0ms
(-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b)
3.0ms
(+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))
1.0ms
(sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))
0.0ms
(fma.f64 a (*.f64 c -4) (*.f64 b b))

simplify115.0ms (2%)

Algorithm
egg-herbie
Rules
758×fma-neg_binary64
487×associate-/l*_binary64
478×associate-/r*_binary64
345×cancel-sign-sub-inv_binary64
150×distribute-rgt-in_binary64
Counts
181 → 187
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01864403
14603612
215713474
348213474
450633474

prune397.0ms (7%)

Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New2469255
Fresh000
Picked101
Done000
Total2479256
Error
6.1b
Counts
256 → 9
Alt Table
StatusErrorProgram
26.0b
(if (>=.f64 b 0) (*.f64 -1/2 (/.f64 (*.f64 (sqrt.f64 (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 c (*.f64 a -4)))))) (sqrt.f64 (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 c (*.f64 a -4))))))) a)) (/.f64 (*.f64 c 2) (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b)))
22.8b
(if (>=.f64 b 0) (*.f64 -1/2 (/.f64 (+.f64 b (*.f64 (fabs.f64 (cbrt.f64 (fma.f64 b b (*.f64 c (*.f64 a -4))))) (sqrt.f64 (cbrt.f64 (fma.f64 b b (*.f64 c (*.f64 a -4))))))) a)) (/.f64 (*.f64 c 2) (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b)))
26.7b
(if (>=.f64 b 0) (*.f64 -1/2 (/.f64 (cbrt.f64 (*.f64 (*.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))) (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))))) a)) (/.f64 (*.f64 c 2) (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b)))
22.9b
(if (>=.f64 b 0) (*.f64 -1/2 (/.f64 (+.f64 b b) a)) (/.f64 (*.f64 c 2) (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b)))
22.9b
(if (>=.f64 b 0) (*.f64 -1/2 (/.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) a)) (/.f64 (*.f64 c 2) (-.f64 (*.f64 (*.f64 (cbrt.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) (cbrt.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))) (cbrt.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))) b)))
22.8b
(if (>=.f64 b 0) (*.f64 -1/2 (/.f64 (fma.f64 (*.f64 (cbrt.f64 b) (cbrt.f64 b)) (cbrt.f64 b) (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) a)) (/.f64 (*.f64 c 2) (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b)))
25.8b
(if (>=.f64 b 0) (*.f64 -1/2 (/.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) a)) (/.f64 (*.f64 c 2) (-.f64 (exp.f64 (log.f64 (hypot.f64 b (sqrt.f64 (*.f64 c (*.f64 a -4)))))) b)))
18.8b
(if (>=.f64 b 0) (*.f64 -1/2 (/.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) a)) (/.f64 (*.f64 c 2) (-.f64 (*.f64 -1 b) b)))
36.4b
(if (>=.f64 b 0) (*.f64 -1/2 (/.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) a)) (/.f64 (*.f64 c 2) (/.f64 (+.f64 (*.f64 c (*.f64 a -4)) 0) (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 c (*.f64 a -4))))))))
Compiler

Compiled 12065 to 7065 computations (41.4% saved)

localize22.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(fma.f64 a (*.f64 c -4) (*.f64 b b))
0.2b
(/.f64 (*.f64 c 2) (-.f64 (*.f64 -1 b) b))
1.8b
(+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))
25.7b
(sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))
Compiler

Compiled 1530 to 1275 computations (16.7% saved)

series7.0ms (0.1%)

Counts
1 → 24
Calls

1 calls:

7.0ms
(/.f64 (*.f64 c 2) (-.f64 (*.f64 -1 b) b))

rewrite11.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
add-cbrt-cube_binary64
add-exp-log_binary64
*-un-lft-identity_binary64
associate-/r*_binary64
times-frac_binary64
Counts
1 → 27
Calls

1 calls:

9.0ms
(/.f64 (*.f64 c 2) (-.f64 (*.f64 -1 b) b))

simplify75.0ms (1.3%)

Algorithm
egg-herbie
Rules
521×fma-def_binary64
453×times-frac_binary64
351×associate-/l*_binary64
328×fma-neg_binary64
255×div-sub_binary64
Counts
51 → 50
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
071617
1180484
2594401
32506400
44436400
54938400
64893400

prune318.0ms (5.6%)

Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New1587165
Fresh268
Picked101
Done000
Total16113174
Error
6.1b
Counts
174 → 13
Alt Table
StatusErrorProgram
26.0b
(if (>=.f64 b 0) (*.f64 -1/2 (/.f64 (*.f64 (sqrt.f64 (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 c (*.f64 a -4)))))) (sqrt.f64 (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 c (*.f64 a -4))))))) a)) (/.f64 (*.f64 c 2) (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b)))
22.8b
(if (>=.f64 b 0) (*.f64 -1/2 (/.f64 (+.f64 b (*.f64 (fabs.f64 (cbrt.f64 (fma.f64 b b (*.f64 c (*.f64 a -4))))) (sqrt.f64 (cbrt.f64 (fma.f64 b b (*.f64 c (*.f64 a -4))))))) a)) (/.f64 (*.f64 c 2) (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b)))
26.7b
(if (>=.f64 b 0) (*.f64 -1/2 (/.f64 (cbrt.f64 (*.f64 (*.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))) (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))))) a)) (/.f64 (*.f64 c 2) (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b)))
22.9b
(if (>=.f64 b 0) (*.f64 -1/2 (/.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) a)) (/.f64 (*.f64 c 2) (-.f64 (*.f64 (*.f64 (cbrt.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) (cbrt.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))) (cbrt.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))) b)))
18.8b
(if (>=.f64 b 0) (*.f64 -1/2 (/.f64 (fma.f64 (sqrt.f64 b) (sqrt.f64 b) (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) a)) (/.f64 (*.f64 c 2) (-.f64 (*.f64 -1 b) b)))
19.2b
(if (>=.f64 b 0) (*.f64 -1/2 (/.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) a)) (*.f64 (/.f64 c (*.f64 (cbrt.f64 (*.f64 b -2)) (cbrt.f64 (*.f64 b -2)))) (/.f64 2 (cbrt.f64 (*.f64 b -2)))))
25.8b
(if (>=.f64 b 0) (*.f64 -1/2 (/.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) a)) (/.f64 (*.f64 c 2) (-.f64 (exp.f64 (log.f64 (hypot.f64 b (sqrt.f64 (*.f64 c (*.f64 a -4)))))) b)))
19.2b
(if (>=.f64 b 0) (*.f64 -1/2 (/.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) a)) (*.f64 (*.f64 (cbrt.f64 (neg.f64 (/.f64 c b))) (cbrt.f64 (neg.f64 (/.f64 c b)))) (cbrt.f64 (neg.f64 (/.f64 c b)))))
19.0b
(if (>=.f64 b 0) (*.f64 -1/2 (/.f64 (+.f64 b b) a)) (/.f64 (*.f64 c 2) (-.f64 (*.f64 -1 b) b)))
30.9b
(if (>=.f64 b 0) (*.f64 -1/2 (/.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) a)) (cbrt.f64 (pow.f64 (neg.f64 (/.f64 c b)) 3)))
32.5b
(if (>=.f64 b 0) (*.f64 -1/2 (/.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) a)) (exp.f64 (-.f64 (+.f64 (log.f64 c) (log.f64 2)) (log.f64 (-.f64 (*.f64 -1 b) b)))))
22.5b
(if (>=.f64 b 0) (*.f64 -1/2 (/.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) a)) (expm1.f64 (log1p.f64 (/.f64 (*.f64 c 2) (-.f64 (*.f64 -1 b) b)))))
36.4b
(if (>=.f64 b 0) (*.f64 -1/2 (/.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) a)) (/.f64 (*.f64 c 2) (/.f64 (+.f64 (*.f64 c (*.f64 a -4)) 0) (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 c (*.f64 a -4))))))))
Compiler

Compiled 6933 to 4390 computations (36.7% saved)

localize22.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(fma.f64 (sqrt.f64 b) (sqrt.f64 b) (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))
0.2b
(fma.f64 a (*.f64 c -4) (*.f64 b b))
0.2b
(/.f64 (*.f64 c 2) (-.f64 (*.f64 -1 b) b))
25.7b
(sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))
Compiler

Compiled 1530 to 1275 computations (16.7% saved)

series55.0ms (1%)

Counts
1 → 11
Calls

1 calls:

54.0ms
(fma.f64 (sqrt.f64 b) (sqrt.f64 b) (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))

rewrite1.0ms (0%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
add-cbrt-cube_binary64
add-exp-log_binary64
Counts
1 → 10
Calls

1 calls:

0.0ms
(fma.f64 (sqrt.f64 b) (sqrt.f64 b) (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))

simplify51.0ms (0.9%)

Algorithm
egg-herbie
Rules
758×fma-def_binary64
739×fma-neg_binary64
399×distribute-rgt-neg-in_binary64
395×distribute-lft-neg-in_binary64
326×times-frac_binary64
Counts
21 → 31
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
052438
1140397
2469385
32358385
44927385
55392385

prune283.0ms (5%)

Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New1472149
Fresh11112
Picked101
Done000
Total14913162
Error
6.1b
Counts
162 → 13
Alt Table
StatusErrorProgram
19.0b
(if (>=.f64 b 0) (*.f64 -1/2 (/.f64 (fma.f64 (sqrt.f64 b) (sqrt.f64 b) b) a)) (/.f64 (*.f64 c 2) (-.f64 (*.f64 -1 b) b)))
19.0b
(if (>=.f64 b 0) (*.f64 -1/2 (/.f64 (+.f64 b b) a)) (/.f64 (*.f64 c 2) (-.f64 (*.f64 -1 b) b)))
22.8b
(if (>=.f64 b 0) (*.f64 -1/2 (/.f64 (cbrt.f64 (pow.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) 3)) a)) (/.f64 (*.f64 c 2) (-.f64 (*.f64 -1 b) b)))
30.9b
(if (>=.f64 b 0) (*.f64 -1/2 (/.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) a)) (cbrt.f64 (pow.f64 (neg.f64 (/.f64 c b)) 3)))
26.0b
(if (>=.f64 b 0) (*.f64 -1/2 (/.f64 (*.f64 (sqrt.f64 (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 c (*.f64 a -4)))))) (sqrt.f64 (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 c (*.f64 a -4))))))) a)) (/.f64 (*.f64 c 2) (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b)))
22.8b
(if (>=.f64 b 0) (*.f64 -1/2 (/.f64 (+.f64 b (*.f64 (fabs.f64 (cbrt.f64 (fma.f64 b b (*.f64 c (*.f64 a -4))))) (sqrt.f64 (cbrt.f64 (fma.f64 b b (*.f64 c (*.f64 a -4))))))) a)) (/.f64 (*.f64 c 2) (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b)))
19.2b
(if (>=.f64 b 0) (*.f64 -1/2 (/.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) a)) (*.f64 (/.f64 c (*.f64 (cbrt.f64 (*.f64 b -2)) (cbrt.f64 (*.f64 b -2)))) (/.f64 2 (cbrt.f64 (*.f64 b -2)))))
25.8b
(if (>=.f64 b 0) (*.f64 -1/2 (/.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) a)) (/.f64 (*.f64 c 2) (-.f64 (exp.f64 (log.f64 (hypot.f64 b (sqrt.f64 (*.f64 c (*.f64 a -4)))))) b)))
19.2b
(if (>=.f64 b 0) (*.f64 -1/2 (/.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) a)) (*.f64 (*.f64 (cbrt.f64 (neg.f64 (/.f64 c b))) (cbrt.f64 (neg.f64 (/.f64 c b)))) (cbrt.f64 (neg.f64 (/.f64 c b)))))
32.5b
(if (>=.f64 b 0) (*.f64 -1/2 (/.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) a)) (exp.f64 (-.f64 (+.f64 (log.f64 c) (log.f64 2)) (log.f64 (-.f64 (*.f64 -1 b) b)))))
22.5b
(if (>=.f64 b 0) (*.f64 -1/2 (/.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) a)) (expm1.f64 (log1p.f64 (/.f64 (*.f64 c 2) (-.f64 (*.f64 -1 b) b)))))
22.9b
(if (>=.f64 b 0) (*.f64 -1/2 (/.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) a)) (/.f64 (*.f64 c 2) (-.f64 (*.f64 (*.f64 (cbrt.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) (cbrt.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))) (cbrt.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))) b)))
36.4b
(if (>=.f64 b 0) (*.f64 -1/2 (/.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) a)) (/.f64 (*.f64 c 2) (/.f64 (+.f64 (*.f64 c (*.f64 a -4)) 0) (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 c (*.f64 a -4))))))))
Compiler

Compiled 6471 to 3850 computations (40.5% saved)

localize17.0ms (0.3%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.2b
(/.f64 (*.f64 c 2) (-.f64 (*.f64 -1 b) b))
Compiler

Compiled 1530 to 1275 computations (16.7% saved)

prune83.0ms (1.5%)

Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New47350
Fresh3912
Picked101
Done000
Total511263
Error
6.1b
Counts
63 → 12
Alt Table
StatusErrorProgram
19.2b
(if (>=.f64 b 0) (*.f64 -1/2 (/.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) a)) (*.f64 (*.f64 (cbrt.f64 (neg.f64 (/.f64 c b))) (cbrt.f64 (neg.f64 (/.f64 c b)))) (cbrt.f64 (neg.f64 (/.f64 c b)))))
32.7b
(if (>=.f64 b 0) (*.f64 -1/2 (/.f64 (+.f64 b b) a)) (exp.f64 (-.f64 (+.f64 (log.f64 c) (log.f64 2)) (log.f64 (-.f64 (*.f64 -1 b) b)))))
26.0b
(if (>=.f64 b 0) (*.f64 -1/2 (/.f64 (*.f64 (sqrt.f64 (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 c (*.f64 a -4)))))) (sqrt.f64 (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 c (*.f64 a -4))))))) a)) (/.f64 (*.f64 c 2) (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b)))
22.8b
(if (>=.f64 b 0) (*.f64 -1/2 (/.f64 (+.f64 b (*.f64 (fabs.f64 (cbrt.f64 (fma.f64 b b (*.f64 c (*.f64 a -4))))) (sqrt.f64 (cbrt.f64 (fma.f64 b b (*.f64 c (*.f64 a -4))))))) a)) (/.f64 (*.f64 c 2) (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b)))
22.9b
(if (>=.f64 b 0) (*.f64 -1/2 (/.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) a)) (/.f64 (*.f64 c 2) (-.f64 (*.f64 (*.f64 (cbrt.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) (cbrt.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))) (cbrt.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))) b)))
19.1b
(if (>=.f64 b 0) (*.f64 -1/2 (/.f64 (+.f64 b b) a)) (*.f64 (*.f64 c 2) (/.f64 1/2 (neg.f64 b))))
19.2b
(if (>=.f64 b 0) (*.f64 -1/2 (/.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) a)) (*.f64 (/.f64 c (*.f64 (cbrt.f64 (*.f64 b -2)) (cbrt.f64 (*.f64 b -2)))) (/.f64 2 (cbrt.f64 (*.f64 b -2)))))
25.8b
(if (>=.f64 b 0) (*.f64 -1/2 (/.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) a)) (/.f64 (*.f64 c 2) (-.f64 (exp.f64 (log.f64 (hypot.f64 b (sqrt.f64 (*.f64 c (*.f64 a -4)))))) b)))
36.4b
(if (>=.f64 b 0) (*.f64 -1/2 (/.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) a)) (/.f64 (*.f64 c 2) (/.f64 (+.f64 (*.f64 c (*.f64 a -4)) 0) (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 c (*.f64 a -4))))))))
22.6b
(if (>=.f64 b 0) (*.f64 -1/2 (/.f64 (+.f64 b b) a)) (expm1.f64 (log1p.f64 (neg.f64 (/.f64 c b)))))
19.0b
(if (>=.f64 b 0) (*.f64 -1/2 (/.f64 (fma.f64 (sqrt.f64 b) (sqrt.f64 b) b) a)) (/.f64 (*.f64 c 2) (-.f64 (*.f64 -1 b) b)))
22.8b
(if (>=.f64 b 0) (*.f64 -1/2 (/.f64 (cbrt.f64 (pow.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) 3)) a)) (/.f64 (*.f64 c 2) (-.f64 (*.f64 -1 b) b)))
Compiler

Compiled 1675 to 996 computations (40.5% saved)

regimes952.0ms (16.8%)

Accuracy

Total 2.8b remaining (33.9%)

Threshold costs 0b (0%)

Counts
88 → 5
Compiler

Compiled 12982 to 8670 computations (33.2% saved)

bsearch5.0ms (0.1%)

Compiler

Compiled 41 to 26 computations (36.6% saved)

simplify16.0ms (0.3%)

Algorithm
egg-herbie
Rules
18×*-commutative_binary64
17×+-commutative_binary64
14×sub-neg_binary64
10×neg-sub0_binary64
10×neg-mul-1_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
063477
185465
2110465
3131465
4145465
5151465
6152465
7151465

end4.0ms (0.1%)

Compiler

Compiled 309 to 183 computations (40.8% saved)

sample2.1s (36.3%)

Algorithm
intervals
Results
1.1s8000×body128valid
104.0ms651×body128nan
43.0ms401×body128invalid
Compiler

Compiled 802 to 510 computations (36.4% saved)

Profiling

Loading profile data...