Details

Time bar (total: 8.6s)

analyze730.0ms (8.5%)

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)

sample1.8s (21.3%)

Results
1.5s8256×body128valid
191.0ms1084×body128invalid
Compiler

Compiled 125 to 80 computations (36% saved)

simplify154.0ms (1.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%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
19.2b
Counts
3 → 1
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 c 2) (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b)))
Compiler

Compiled 149 to 91 computations (38.9% saved)

localize25.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(/.f64 (*.f64 c 2) (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b))
0.7b
(+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))
1.7b
(-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b)
23.6b
(sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))
Compiler

Compiled 1536 to 1280 computations (16.7% saved)

series245.0ms (2.9%)

Counts
4 → 80
Calls

4 calls:

153.0ms
(/.f64 (*.f64 c 2) (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b))
33.0ms
(-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b)
32.0ms
(+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))
27.0ms
(sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))

rewrite86.0ms (1%)

Algorithm
batch-egg-rewrite
Rules
286×fma-neg_binary64
271×expm1-udef_binary64
271×log1p-udef_binary64
153×add-sqr-sqrt_binary64
150×egg-rr
Counts
4 → 150
Calls

4 calls:

82.0ms
(/.f64 (*.f64 c 2) (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b))
82.0ms
(+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))
82.0ms
(-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b)
82.0ms
(sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01467
130567
2392767
3494267
000
100

simplify89.0ms (1%)

Algorithm
egg-herbie
Rules
877×times-frac_binary64
531×associate-/l*_binary64
483×fma-neg_binary64
465×fma-def_binary64
157×cancel-sign-sub-inv_binary64
Counts
230 → 238
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01252371
14152318
213702194
347972194
450962194

prune380.0ms (4.4%)

Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New2776283
Fresh000
Picked101
Done000
Total2786284
Error
4.4b
Counts
284 → 6
Alt Table
StatusErrorProgram
19.3b
(if (>=.f64 b 0) (*.f64 -1/2 (/.f64 (fma.f64 (cbrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) (cbrt.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) b) a)) (/.f64 (*.f64 c 2) (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b)))
34.3b
(if (>=.f64 b 0) (*.f64 -1/2 (/.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) a)) (*.f64 (/.f64 (*.f64 c 2) (-.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)) (*.f64 b b))) (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))))
30.6b
(if (>=.f64 b 0) (*.f64 -1/2 (/.f64 (/.f64 (-.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)) (*.f64 b b)) (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b)) a)) (/.f64 (*.f64 c 2) (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b)))
19.5b
(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)))
21.3b
(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)))
19.3b
(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) (fma.f64 (cbrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) (cbrt.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) (neg.f64 b))))
Compiler

Compiled 12864 to 7510 computations (41.6% saved)

localize28.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.7b
(+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))
17.3b
(fma.f64 (cbrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) (cbrt.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) (neg.f64 b))
23.6b
(sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))
24.4b
(cbrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))
Compiler

Compiled 1536 to 1280 computations (16.7% saved)

series127.0ms (1.5%)

Counts
2 → 72
Calls

2 calls:

85.0ms
(fma.f64 (cbrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) (cbrt.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) (neg.f64 b))
42.0ms
(cbrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))

rewrite83.0ms (1%)

Algorithm
batch-egg-rewrite
Rules
635×fma-def_binary64
501×log-prod_binary64
394×prod-diff_binary64
237×fma-udef_binary64
195×expm1-udef_binary64
Counts
2 → 75
Calls

2 calls:

81.0ms
(fma.f64 (cbrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) (cbrt.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) (neg.f64 b))
81.0ms
(cbrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01346
125529
2252928
3480828
4517628
000
100

simplify97.0ms (1.1%)

Algorithm
egg-herbie
Rules
397×times-frac_binary64
287×associate-/r*_binary64
271×associate-/l*_binary64
257×associate-*r*_binary64
218×fma-neg_binary64
Counts
147 → 180
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
03294725
111133758
247493718
349783718

prune560.0ms (6.6%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New3242326
Fresh055
Picked011
Done000
Total3248332
Error
2.3b
Counts
332 → 8
Alt Table
StatusErrorProgram
35.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 (*.f64 (exp.f64 (*.f64 1/6 (-.f64 (log.f64 (neg.f64 (*.f64 4 c))) (log.f64 (/.f64 1 a))))) (exp.f64 (*.f64 1/3 (-.f64 (log.f64 (neg.f64 (*.f64 4 c))) (log.f64 (/.f64 1 a)))))) b)))
21.3b
(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)))
19.3b
(if (>=.f64 b 0) (*.f64 -1/2 (/.f64 (fma.f64 (cbrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) (cbrt.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) b) a)) (/.f64 (*.f64 c 2) (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b)))
34.3b
(if (>=.f64 b 0) (*.f64 -1/2 (/.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) a)) (*.f64 (/.f64 (*.f64 c 2) (-.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)) (*.f64 b b))) (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))))
30.6b
(if (>=.f64 b 0) (*.f64 -1/2 (/.f64 (/.f64 (-.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)) (*.f64 b b)) (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b)) a)) (/.f64 (*.f64 c 2) (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b)))
19.5b
(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)))
35.6b
(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 (exp.f64 (*.f64 1/3 (-.f64 (log.f64 (*.f64 4 c)) (log.f64 (/.f64 -1 a))))) (exp.f64 (*.f64 1/6 (-.f64 (log.f64 (*.f64 4 c)) (log.f64 (/.f64 -1 a)))))) b)))
19.3b
(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) (fma.f64 (cbrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) (cbrt.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) (neg.f64 b))))
Compiler

Compiled 19907 to 12161 computations (38.9% saved)

localize22.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
1.7b
(-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b)
22.3b
(fma.f64 (cbrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) (cbrt.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) b)
23.6b
(sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))
24.4b
(cbrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))
Compiler

Compiled 1536 to 1280 computations (16.7% saved)

series77.0ms (0.9%)

Counts
1 → 36
Calls

1 calls:

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

rewrite98.0ms (1.2%)

Algorithm
batch-egg-rewrite
Rules
562×fma-def_binary64
487×log-prod_binary64
290×prod-diff_binary64
191×expm1-udef_binary64
191×log1p-udef_binary64
Counts
1 → 32
Calls

1 calls:

97.0ms
(fma.f64 (cbrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) (cbrt.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) b)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01231
123216
2244515
3486015
4491815
5526815
000
100

simplify65.0ms (0.8%)

Algorithm
egg-herbie
Rules
618×fma-def_binary64
610×cancel-sign-sub-inv_binary64
288×times-frac_binary64
239×distribute-neg-frac_binary64
187×associate-/l*_binary64
Counts
68 → 84
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01882621
16611604
229561578
352651578

prune612.0ms (7.2%)

Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New3172319
Fresh066
Picked011
Done011
Total31710327
Error
0.7b
Counts
327 → 10
Alt Table
StatusErrorProgram
35.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 (*.f64 (exp.f64 (*.f64 1/6 (-.f64 (log.f64 (neg.f64 (*.f64 4 c))) (log.f64 (/.f64 1 a))))) (exp.f64 (*.f64 1/3 (-.f64 (log.f64 (neg.f64 (*.f64 4 c))) (log.f64 (/.f64 1 a)))))) b)))
21.3b
(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)))
33.6b
(if (>=.f64 b 0) (*.f64 -1/2 (/.f64 (+.f64 (*.f64 (exp.f64 (*.f64 1/3 (-.f64 (log.f64 (*.f64 4 c)) (log.f64 (/.f64 -1 a))))) (exp.f64 (*.f64 1/6 (-.f64 (log.f64 (*.f64 4 c)) (log.f64 (/.f64 -1 a)))))) b) a)) (/.f64 (*.f64 c 2) (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b)))
19.3b
(if (>=.f64 b 0) (*.f64 -1/2 (/.f64 (fma.f64 (cbrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) (cbrt.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) b) a)) (/.f64 (*.f64 c 2) (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b)))
34.3b
(if (>=.f64 b 0) (*.f64 -1/2 (/.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) a)) (*.f64 (/.f64 (*.f64 c 2) (-.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)) (*.f64 b b))) (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))))
30.6b
(if (>=.f64 b 0) (*.f64 -1/2 (/.f64 (/.f64 (-.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)) (*.f64 b b)) (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b)) a)) (/.f64 (*.f64 c 2) (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b)))
19.5b
(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)))
35.6b
(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 (exp.f64 (*.f64 1/3 (-.f64 (log.f64 (*.f64 4 c)) (log.f64 (/.f64 -1 a))))) (exp.f64 (*.f64 1/6 (-.f64 (log.f64 (*.f64 4 c)) (log.f64 (/.f64 -1 a)))))) b)))
19.3b
(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) (fma.f64 (cbrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) (cbrt.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) (neg.f64 b))))
34.7b
(if (>=.f64 b 0) (*.f64 -1/2 (/.f64 (+.f64 b (*.f64 (exp.f64 (*.f64 1/3 (-.f64 (log.f64 (*.f64 4 a)) (log.f64 (/.f64 -1 c))))) (exp.f64 (*.f64 1/6 (-.f64 (log.f64 (*.f64 4 a)) (log.f64 (/.f64 -1 c))))))) a)) (/.f64 (*.f64 c 2) (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b)))
Compiler

Compiled 19645 to 12119 computations (38.3% saved)

localize20.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 a (*.f64 c -4) (*.f64 b b))
0.1b
(/.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) a)
0.7b
(+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))
23.6b
(sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))
Compiler

Compiled 1536 to 1280 computations (16.7% saved)

series159.0ms (1.9%)

Counts
2 → 56
Calls

2 calls:

150.0ms
(/.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) a)
9.0ms
(fma.f64 a (*.f64 c -4) (*.f64 b b))

rewrite109.0ms (1.3%)

Algorithm
batch-egg-rewrite
Rules
963×prod-diff_binary64
209×log1p-udef_binary64
118×add-sqr-sqrt_binary64
113×log1p-expm1-u_binary64
113×expm1-log1p-u_binary64
Counts
2 → 61
Calls

2 calls:

107.0ms
(fma.f64 a (*.f64 c -4) (*.f64 b b))
107.0ms
(/.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) a)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01130
123530
2294430
3502130
000
100

simplify49.0ms (0.6%)

Algorithm
egg-herbie
Rules
383×distribute-rgt-neg-in_binary64
371×times-frac_binary64
351×unswap-sqr_binary64
314×distribute-neg-frac_binary64
299×fma-neg_binary64
Counts
117 → 90
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
060969
1200903
2639877
33221877
45156877

prune418.0ms (4.9%)

Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New1865191
Fresh257
Picked101
Done112
Total19011201
Error
0.7b
Counts
201 → 11
Alt Table
StatusErrorProgram
33.6b
(if (>=.f64 b 0) (*.f64 -1/2 (/.f64 (+.f64 (*.f64 (exp.f64 (*.f64 1/3 (-.f64 (log.f64 (*.f64 4 c)) (log.f64 (/.f64 -1 a))))) (exp.f64 (*.f64 1/6 (-.f64 (log.f64 (*.f64 4 c)) (log.f64 (/.f64 -1 a)))))) b) a)) (/.f64 (*.f64 c 2) (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b)))
19.9b
(if (>=.f64 b 0) (*.f64 -1/2 (pow.f64 (cbrt.f64 (/.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) a)) 3)) (/.f64 (*.f64 c 2) (-.f64 (*.f64 -1 b) b)))
34.3b
(if (>=.f64 b 0) (*.f64 -1/2 (/.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) a)) (*.f64 (/.f64 (*.f64 c 2) (-.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)) (*.f64 b b))) (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))))
19.9b
(if (>=.f64 b 0) (*.f64 -1/2 (*.f64 (/.f64 1 (pow.f64 (cbrt.f64 a) 2)) (/.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) (cbrt.f64 a)))) (/.f64 (*.f64 c 2) (-.f64 (*.f64 -1 b) b)))
34.7b
(if (>=.f64 b 0) (*.f64 -1/2 (/.f64 (+.f64 b (*.f64 (exp.f64 (*.f64 1/3 (-.f64 (log.f64 (*.f64 4 a)) (log.f64 (/.f64 -1 c))))) (exp.f64 (*.f64 1/6 (-.f64 (log.f64 (*.f64 4 a)) (log.f64 (/.f64 -1 c))))))) a)) (/.f64 (*.f64 c 2) (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b)))
19.6b
(if (>=.f64 b 0) (*.f64 -1/2 (*.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) (/.f64 1 a))) (/.f64 (*.f64 c 2) (-.f64 (*.f64 -1 b) b)))
30.4b
(if (>=.f64 b 0) (*.f64 -1/2 (*.f64 (/.f64 1 (sqrt.f64 a)) (/.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) (sqrt.f64 a)))) (/.f64 (*.f64 c 2) (-.f64 (*.f64 -1 b) b)))
21.6b
(if (>=.f64 b 0) (*.f64 -1/2 (*.f64 2 (/.f64 b a))) (/.f64 (*.f64 c 2) (-.f64 (*.f64 -1 b) b)))
35.6b
(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 (exp.f64 (*.f64 1/3 (-.f64 (log.f64 (*.f64 4 c)) (log.f64 (/.f64 -1 a))))) (exp.f64 (*.f64 1/6 (-.f64 (log.f64 (*.f64 4 c)) (log.f64 (/.f64 -1 a)))))) b)))
35.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 (*.f64 (exp.f64 (*.f64 1/6 (-.f64 (log.f64 (neg.f64 (*.f64 4 c))) (log.f64 (/.f64 1 a))))) (exp.f64 (*.f64 1/3 (-.f64 (log.f64 (neg.f64 (*.f64 4 c))) (log.f64 (/.f64 1 a)))))) b)))
19.3b
(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) (fma.f64 (cbrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) (cbrt.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) (neg.f64 b))))
Compiler

Compiled 7495 to 4753 computations (36.6% saved)

regimes2.1s (24.6%)

Accuracy

Total 6.0b remaining (86.5%)

Threshold costs 0b (0%)

Counts
144 → 5
Compiler

Compiled 24662 to 15994 computations (35.1% saved)

bsearch8.0ms (0.1%)

Compiler

Compiled 41 to 26 computations (36.6% saved)

simplify16.0ms (0.2%)

Algorithm
egg-herbie
Rules
19×*-commutative_binary64
15×+-commutative_binary64
13×sub-neg_binary64
neg-sub0_binary64
neg-mul-1_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
061461
184453
2108453
3127453
4140453
5146453
6147453
7145453

end359.0ms (4.2%)

Compiler

Compiled 1086 to 697 computations (35.8% saved)

Profiling

Loading profile data...