Details

Time bar (total: 10.0s)

analyze765.0ms (7.7%)

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
12.5%87.4%0.1%6
20.3%73.3%6.4%7
27.3%66.3%6.4%8
38.2%53%8.7%9
46%40.6%13.4%10
49.9%35.1%15%11
54.9%26.9%18.1%12
57.4%22%20.6%13
59.7%18%22.4%14
Compiler

Compiled 42 to 27 computations (35.7% saved)

sample2.3s (23.5%)

Results
2.0s8256×body128valid
177.0ms1055×body128invalid
Compiler

Compiled 125 to 80 computations (36% saved)

simplify129.0ms (1.3%)

Algorithm
egg-herbie
Rules
1002×fma-def_binary64
782×fma-neg_binary64
748×distribute-rgt-in_binary64
560×div-sub_binary64
469×associate-/l*_binary64
Counts
1 → 2
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02258
14452
29452
321150
434150
559450
6108250
7170250
8206650
9287050
10349550
11350150
12350350
13419650
14424950
15488150

prune5.0ms (0.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
18.3b
Counts
3 → 2
Alt Table
StatusErrorProgram
18.4b
(if (>=.f64 b 0) (/.f64 (*.f64 2 c) (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))) (/.f64 (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))) (*.f64 2 a)))
18.7b
(if (>=.f64 b 0) (*.f64 c (/.f64 -2 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))))) (*.f64 (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b) (/.f64 1/2 a)))
Compiler

Compiled 231 to 143 computations (38.1% saved)

localize20.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.8b
(-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))
1.4b
(-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))
1.6b
(+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))
23.1b
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))
Compiler

Compiled 1536 to 1280 computations (16.7% saved)

series111.0ms (1.1%)

Counts
4 → 96
Calls

4 calls:

39.0ms
(-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))
34.0ms
(+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))
29.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))
9.0ms
(-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))

rewrite119.0ms (1.2%)

Algorithm
batch-egg-rewrite
Rules
785×fma-def_binary64
416×fma-neg_binary64
371×egg-rr
243×expm1-udef_binary64
243×log1p-udef_binary64
Counts
4 → 371
Calls

4 calls:

103.0ms
(-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))
103.0ms
(-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))
103.0ms
(+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))
103.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01368
129656
2358456
3533156

simplify92.0ms (0.9%)

Algorithm
egg-herbie
Rules
458×times-frac_binary64
447×unswap-sqr_binary64
295×fma-def_binary64
283×associate-*r*_binary64
278×associate-/l*_binary64
Counts
467 → 429
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0902213
12932123
29182035
344072035
452582035

prune1.1s (11.3%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New6547661
Fresh011
Picked101
Done000
Total6558663
Error
5.4b
Counts
663 → 8
Alt Table
StatusErrorProgram
18.7b
(if (>=.f64 b 0) (*.f64 c (/.f64 -2 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))))) (*.f64 (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b) (/.f64 1/2 a)))
18.5b
(if (>=.f64 b 0) (/.f64 (*.f64 2 c) (-.f64 (neg.f64 b) (pow.f64 (pow.f64 (fma.f64 -4 (*.f64 a c) (*.f64 b b)) 1/4) 2))) (/.f64 (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))) (*.f64 2 a)))
20.3b
(if (>=.f64 b 0) (/.f64 (*.f64 2 c) (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))) (/.f64 (-.f64 (*.f64 2 (/.f64 (*.f64 c a) b)) (*.f64 2 b)) (*.f64 2 a)))
20.1b
(if (>=.f64 b 0) (/.f64 (*.f64 2 c) (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))) (/.f64 (+.f64 (neg.f64 b) (*.f64 -1 b)) (*.f64 2 a)))
21.9b
(if (>=.f64 b 0) (/.f64 (*.f64 2 c) (-.f64 (neg.f64 b) b)) (/.f64 (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))) (*.f64 2 a)))
22.1b
(if (>=.f64 b 0) (/.f64 (*.f64 2 c) (-.f64 (neg.f64 b) (cbrt.f64 (pow.f64 (fma.f64 -4 (*.f64 a c) (*.f64 b b)) 3/2)))) (/.f64 (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))) (*.f64 2 a)))
22.1b
(if (>=.f64 b 0) (/.f64 (*.f64 2 c) (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))) (/.f64 (+.f64 (neg.f64 b) (cbrt.f64 (pow.f64 (fma.f64 -4 (*.f64 a c) (*.f64 b b)) 3/2))) (*.f64 2 a)))
18.5b
(if (>=.f64 b 0) (/.f64 (*.f64 2 c) (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))) (/.f64 (+.f64 (neg.f64 b) (pow.f64 (pow.f64 (fma.f64 -4 (*.f64 a c) (*.f64 b b)) 1/4) 2)) (*.f64 2 a)))
Compiler

Compiled 35149 to 19190 computations (45.4% saved)

localize26.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
1.6b
(+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))
7.2b
(-.f64 (neg.f64 b) (pow.f64 (pow.f64 (fma.f64 -4 (*.f64 a c) (*.f64 b b)) 1/4) 2))
23.1b
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))
23.8b
(pow.f64 (fma.f64 -4 (*.f64 a c) (*.f64 b b)) 1/4)
Compiler

Compiled 1536 to 1280 computations (16.7% saved)

series88.0ms (0.9%)

Counts
2 → 56
Calls

2 calls:

45.0ms
(-.f64 (neg.f64 b) (pow.f64 (pow.f64 (fma.f64 -4 (*.f64 a c) (*.f64 b b)) 1/4) 2))
43.0ms
(pow.f64 (fma.f64 -4 (*.f64 a c) (*.f64 b b)) 1/4)

rewrite111.0ms (1.1%)

Algorithm
batch-egg-rewrite
Rules
892×prod-diff_binary64
229×log1p-udef_binary64
210×egg-rr
142×log1p-expm1-u_binary64
142×expm1-log1p-u_binary64
Counts
2 → 210
Calls

2 calls:

101.0ms
(-.f64 (neg.f64 b) (pow.f64 (pow.f64 (fma.f64 -4 (*.f64 a c) (*.f64 b b)) 1/4) 2))
101.0ms
(pow.f64 (fma.f64 -4 (*.f64 a c) (*.f64 b b)) 1/4)
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01433
130530
2306330
3490630

simplify81.0ms (0.8%)

Algorithm
egg-herbie
Rules
691×fma-def_binary64
482×cancel-sign-sub-inv_binary64
244×distribute-neg-frac_binary64
177×sub-neg_binary64
169×times-frac_binary64
Counts
266 → 287
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02262538
17552480
228272444
351232444

prune787.0ms (7.9%)

Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New4152417
Fresh077
Picked011
Done000
Total41510425
Error
2.2b
Counts
425 → 10
Alt Table
StatusErrorProgram
37.7b
(if (>=.f64 b 0) (/.f64 (*.f64 2 c) (-.f64 (neg.f64 b) (pow.f64 (exp.f64 (*.f64 1/4 (-.f64 (log.f64 (neg.f64 (*.f64 4 a))) (log.f64 (/.f64 1 c))))) 2))) (/.f64 (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))) (*.f64 2 a)))
20.3b
(if (>=.f64 b 0) (/.f64 (*.f64 2 c) (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))) (/.f64 (-.f64 (*.f64 2 (/.f64 (*.f64 c a) b)) (*.f64 2 b)) (*.f64 2 a)))
18.7b
(if (>=.f64 b 0) (*.f64 c (/.f64 -2 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))))) (*.f64 (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b) (/.f64 1/2 a)))
18.5b
(if (>=.f64 b 0) (/.f64 (*.f64 2 c) (-.f64 (neg.f64 b) (pow.f64 (pow.f64 (fma.f64 -4 (*.f64 a c) (*.f64 b b)) 1/4) 2))) (/.f64 (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))) (*.f64 2 a)))
37.9b
(if (>=.f64 b 0) (/.f64 (*.f64 2 c) (-.f64 (neg.f64 b) (pow.f64 (exp.f64 (*.f64 1/4 (-.f64 (log.f64 (*.f64 4 a)) (log.f64 (/.f64 -1 c))))) 2))) (/.f64 (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))) (*.f64 2 a)))
20.1b
(if (>=.f64 b 0) (/.f64 (*.f64 2 c) (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))) (/.f64 (+.f64 (neg.f64 b) (*.f64 -1 b)) (*.f64 2 a)))
21.9b
(if (>=.f64 b 0) (/.f64 (*.f64 2 c) (-.f64 (neg.f64 b) b)) (/.f64 (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))) (*.f64 2 a)))
22.1b
(if (>=.f64 b 0) (/.f64 (*.f64 2 c) (-.f64 (neg.f64 b) (cbrt.f64 (pow.f64 (fma.f64 -4 (*.f64 a c) (*.f64 b b)) 3/2)))) (/.f64 (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))) (*.f64 2 a)))
22.1b
(if (>=.f64 b 0) (/.f64 (*.f64 2 c) (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))) (/.f64 (+.f64 (neg.f64 b) (cbrt.f64 (pow.f64 (fma.f64 -4 (*.f64 a c) (*.f64 b b)) 3/2))) (*.f64 2 a)))
18.5b
(if (>=.f64 b 0) (/.f64 (*.f64 2 c) (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))) (/.f64 (+.f64 (neg.f64 b) (pow.f64 (pow.f64 (fma.f64 -4 (*.f64 a c) (*.f64 b b)) 1/4) 2)) (*.f64 2 a)))
Compiler

Compiled 29651 to 16171 computations (45.5% saved)

localize26.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
1.4b
(-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))
12.5b
(+.f64 (neg.f64 b) (pow.f64 (pow.f64 (fma.f64 -4 (*.f64 a c) (*.f64 b b)) 1/4) 2))
23.1b
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))
23.8b
(pow.f64 (fma.f64 -4 (*.f64 a c) (*.f64 b b)) 1/4)
Compiler

Compiled 1536 to 1280 computations (16.7% saved)

series37.0ms (0.4%)

Counts
1 → 20
Calls

1 calls:

37.0ms
(+.f64 (neg.f64 b) (pow.f64 (pow.f64 (fma.f64 -4 (*.f64 a c) (*.f64 b b)) 1/4) 2))

rewrite60.0ms (0.6%)

Algorithm
batch-egg-rewrite
Rules
562×log-prod_binary64
297×fma-def_binary64
227×expm1-udef_binary64
227×log1p-udef_binary64
201×log-pow_binary64
Counts
1 → 69
Calls

1 calls:

58.0ms
(+.f64 (neg.f64 b) (pow.f64 (pow.f64 (fma.f64 -4 (*.f64 a c) (*.f64 b b)) 1/4) 2))
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01419
130416
2304215
3533015

simplify49.0ms (0.5%)

Algorithm
egg-herbie
Rules
848×fma-neg_binary64
411×unswap-sqr_binary64
408×times-frac_binary64
250×associate-/l*_binary64
246×associate-*r*_binary64
Counts
89 → 92
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
064684
1213668
2694638
33573638
45061638

prune856.0ms (8.6%)

Pruning

12 alts after pruning (10 fresh and 2 done)

PrunedKeptTotal
New3263329
Fresh178
Picked011
Done011
Total32712339
Error
0.7b
Counts
339 → 12
Alt Table
StatusErrorProgram
37.7b
(if (>=.f64 b 0) (/.f64 (*.f64 2 c) (-.f64 (neg.f64 b) (pow.f64 (exp.f64 (*.f64 1/4 (-.f64 (log.f64 (neg.f64 (*.f64 4 a))) (log.f64 (/.f64 1 c))))) 2))) (/.f64 (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))) (*.f64 2 a)))
20.3b
(if (>=.f64 b 0) (/.f64 (*.f64 2 c) (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))) (/.f64 (-.f64 (*.f64 2 (/.f64 (*.f64 c a) b)) (*.f64 2 b)) (*.f64 2 a)))
32.0b
(if (>=.f64 b 0) (/.f64 (*.f64 2 c) (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))) (/.f64 (+.f64 (neg.f64 b) (pow.f64 (exp.f64 (*.f64 1/4 (-.f64 (log.f64 (*.f64 a 4)) (log.f64 (/.f64 -1 c))))) 2)) (*.f64 2 a)))
22.1b
(if (>=.f64 b 0) (/.f64 (*.f64 2 c) (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))) (/.f64 (+.f64 (neg.f64 b) (cbrt.f64 (pow.f64 (fma.f64 -4 (*.f64 a c) (*.f64 b b)) 3/2))) (*.f64 2 a)))
18.7b
(if (>=.f64 b 0) (*.f64 c (/.f64 -2 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))))) (*.f64 (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b) (/.f64 1/2 a)))
18.5b
(if (>=.f64 b 0) (/.f64 (*.f64 2 c) (-.f64 (neg.f64 b) (pow.f64 (pow.f64 (fma.f64 -4 (*.f64 a c) (*.f64 b b)) 1/4) 2))) (/.f64 (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))) (*.f64 2 a)))
37.9b
(if (>=.f64 b 0) (/.f64 (*.f64 2 c) (-.f64 (neg.f64 b) (pow.f64 (exp.f64 (*.f64 1/4 (-.f64 (log.f64 (*.f64 4 a)) (log.f64 (/.f64 -1 c))))) 2))) (/.f64 (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))) (*.f64 2 a)))
21.9b
(if (>=.f64 b 0) (/.f64 (*.f64 2 c) (-.f64 (neg.f64 b) b)) (/.f64 (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))) (*.f64 2 a)))
22.1b
(if (>=.f64 b 0) (/.f64 (*.f64 2 c) (-.f64 (neg.f64 b) (cbrt.f64 (pow.f64 (fma.f64 -4 (*.f64 a c) (*.f64 b b)) 3/2)))) (/.f64 (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))) (*.f64 2 a)))
18.5b
(if (>=.f64 b 0) (/.f64 (*.f64 2 c) (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))) (/.f64 (+.f64 (neg.f64 b) (pow.f64 (pow.f64 (fma.f64 -4 (*.f64 a c) (*.f64 b b)) 1/4) 2)) (*.f64 2 a)))
20.2b
(if (>=.f64 b 0) (/.f64 (*.f64 2 c) (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))) (/.f64 (+.f64 (neg.f64 b) (pow.f64 (sqrt.f64 (neg.f64 b)) 2)) (*.f64 2 a)))
29.1b
(if (>=.f64 b 0) (/.f64 (*.f64 2 c) (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))) (/.f64 (+.f64 (neg.f64 b) (pow.f64 (exp.f64 (*.f64 1/4 (-.f64 (log.f64 (*.f64 c 4)) (log.f64 (/.f64 -1 a))))) 2)) (*.f64 2 a)))
Compiler

Compiled 18486 to 10642 computations (42.4% saved)

localize23.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(fma.f64 a (*.f64 c -4) (*.f64 b b))
1.4b
(+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))
1.6b
(-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b)
23.1b
(sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))
Compiler

Compiled 1536 to 1280 computations (16.7% saved)

series120.0ms (1.2%)

Counts
4 → 96
Calls

4 calls:

40.0ms
(-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b)
35.0ms
(+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))
33.0ms
(sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))
12.0ms
(fma.f64 a (*.f64 c -4) (*.f64 b b))

rewrite83.0ms (0.8%)

Algorithm
batch-egg-rewrite
Rules
574×fma-def_binary64
267×fma-neg_binary64
213×egg-rr
211×expm1-udef_binary64
211×log1p-udef_binary64
Counts
4 → 213
Calls

4 calls:

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

Useful iterations: 2 (0.0ms)

IterNodesCost
01156
123756
2295953
3495353

simplify85.0ms (0.9%)

Algorithm
egg-herbie
Rules
458×times-frac_binary64
447×unswap-sqr_binary64
299×fma-def_binary64
283×associate-*r*_binary64
278×associate-/l*_binary64
Counts
309 → 284
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0902198
12942110
29032022
343932022
452442022

prune673.0ms (6.8%)

Pruning

12 alts after pruning (10 fresh and 2 done)

PrunedKeptTotal
New3683371
Fresh279
Picked101
Done022
Total37112383
Error
0.4b
Counts
383 → 12
Alt Table
StatusErrorProgram
37.7b
(if (>=.f64 b 0) (/.f64 (*.f64 2 c) (-.f64 (neg.f64 b) (pow.f64 (exp.f64 (*.f64 1/4 (-.f64 (log.f64 (neg.f64 (*.f64 4 a))) (log.f64 (/.f64 1 c))))) 2))) (/.f64 (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))) (*.f64 2 a)))
20.3b
(if (>=.f64 b 0) (/.f64 (*.f64 2 c) (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))) (/.f64 (-.f64 (*.f64 2 (/.f64 (*.f64 c a) b)) (*.f64 2 b)) (*.f64 2 a)))
33.4b
(if (>=.f64 b 0) (*.f64 c (/.f64 -2 (+.f64 b (hypot.f64 b (*.f64 (sqrt.f64 a) (sqrt.f64 (*.f64 c -4))))))) (*.f64 (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b) (/.f64 1/2 a)))
29.1b
(if (>=.f64 b 0) (/.f64 (*.f64 2 c) (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))) (/.f64 (+.f64 (neg.f64 b) (pow.f64 (exp.f64 (*.f64 1/4 (-.f64 (log.f64 (*.f64 c 4)) (log.f64 (/.f64 -1 a))))) 2)) (*.f64 2 a)))
21.9b
(if (>=.f64 b 0) (/.f64 (*.f64 2 c) (-.f64 (neg.f64 b) b)) (/.f64 (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))) (*.f64 2 a)))
22.1b
(if (>=.f64 b 0) (/.f64 (*.f64 2 c) (-.f64 (neg.f64 b) (cbrt.f64 (pow.f64 (fma.f64 -4 (*.f64 a c) (*.f64 b b)) 3/2)))) (/.f64 (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))) (*.f64 2 a)))
22.1b
(if (>=.f64 b 0) (/.f64 (*.f64 2 c) (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))) (/.f64 (+.f64 (neg.f64 b) (cbrt.f64 (pow.f64 (fma.f64 -4 (*.f64 a c) (*.f64 b b)) 3/2))) (*.f64 2 a)))
18.5b
(if (>=.f64 b 0) (/.f64 (*.f64 2 c) (-.f64 (neg.f64 b) (pow.f64 (pow.f64 (fma.f64 -4 (*.f64 a c) (*.f64 b b)) 1/4) 2))) (/.f64 (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))) (*.f64 2 a)))
18.5b
(if (>=.f64 b 0) (/.f64 (*.f64 2 c) (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))) (/.f64 (+.f64 (neg.f64 b) (pow.f64 (pow.f64 (fma.f64 -4 (*.f64 a c) (*.f64 b b)) 1/4) 2)) (*.f64 2 a)))
19.3b
(if (>=.f64 b 0) (*.f64 c (/.f64 -2 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))))) (*.f64 (exp.f64 (log.f64 (-.f64 (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4)))) b))) (/.f64 1/2 a)))
20.2b
(if (>=.f64 b 0) (/.f64 (*.f64 2 c) (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))) (/.f64 (+.f64 (neg.f64 b) (pow.f64 (sqrt.f64 (neg.f64 b)) 2)) (*.f64 2 a)))
28.5b
(if (>=.f64 b 0) (*.f64 c (/.f64 -2 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))))) (*.f64 (-.f64 (hypot.f64 b (*.f64 (sqrt.f64 a) (sqrt.f64 (*.f64 c -4)))) b) (/.f64 1/2 a)))
Compiler

Compiled 16496 to 9867 computations (40.2% saved)

regimes1.7s (17.3%)

Accuracy

Total 5.9b remaining (92.1%)

Threshold costs 0b (0%)

Counts
115 → 3
Compiler

Compiled 19894 to 13586 computations (31.7% saved)

bsearch61.0ms (0.6%)

Steps
ItersRangePoint
10
8.352653001455336e+102
3.7642961010636734e+115
4.778234809810149e+105
3
-6.237999209161542e+154
-3.497256798768183e+152
-6.729379008114002e+152
Compiler

Compiled 4 to 3 computations (25% saved)

simplify40.0ms (0.4%)

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

Useful iterations: 1 (0.0ms)

IterNodesCost
036158
150154
274154
393154
4106154
5112154
6113154
7112154

end325.0ms (3.3%)

Compiler

Compiled 690 to 451 computations (34.6% saved)

Profiling

Loading profile data...