Details

Time bar (total: 9.7s)

analyze766.0ms (7.9%)

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.2s (23%)

Results
1.7s8256×body128valid
357.0ms1051×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
21.9b
Counts
3 → 2
Alt Table
StatusErrorProgram
22.1b
(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)))
22.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) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))) (*.f64 2 a)))
Compiler

Compiled 231 to 143 computations (38.1% saved)

localize18.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.6b
(-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))
1.5b
(-.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))))
24.0b
(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:

36.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)))
10.0ms
(-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))

rewrite114.0ms (1.2%)

Algorithm
batch-egg-rewrite
Rules
785×fma-def_binary64
416×fma-neg_binary64
368×egg-rr
243×expm1-udef_binary64
243×log1p-udef_binary64
Counts
4 → 368
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: 0 (0.0ms)

IterNodesCost
01368
129656
2358456
3533156
000
100

simplify88.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
464 → 426
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0902213
12932123
29182035
344072035
452582035

prune1.1s (11.6%)

Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New6489657
Fresh011
Picked101
Done000
Total64910659
Error
5.6b
Counts
659 → 10
Alt Table
StatusErrorProgram
27.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 (neg.f64 b) (cbrt.f64 (pow.f64 (fma.f64 -4 (*.f64 a c) (*.f64 b b)) 3/2))) (*.f64 2 a)))
22.1b
(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)))
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) (*.f64 (cbrt.f64 (fma.f64 -4 (*.f64 a c) (*.f64 b b))) (cbrt.f64 (sqrt.f64 (fma.f64 -4 (*.f64 a c) (*.f64 b b)))))) (*.f64 2 a)))
19.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) (*.f64 -1 b)) (*.f64 2 a)))
25.7b
(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)))
38.9b
(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) b) (*.f64 2 a)))
34.8b
(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 (pow.f64 b 3) (pow.f64 (fma.f64 -4 (*.f64 a c) (*.f64 b b)) 3/2)) (/.f64 1 (fma.f64 b b (fma.f64 b (sqrt.f64 (fma.f64 -4 (*.f64 a c) (*.f64 b b))) (fma.f64 -4 (*.f64 a c) (*.f64 b b)))))) (*.f64 2 a)))
25.6b
(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) (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)))
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) (sqrt.f64 (pow.f64 (cbrt.f64 (fma.f64 -4 (*.f64 a c) (*.f64 b b))) 3))) (*.f64 2 a)))
Compiler

Compiled 35225 to 19238 computations (45.4% saved)

localize21.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(/.f64 (+.f64 (neg.f64 b) (*.f64 -1 b)) (*.f64 2 a))
0.6b
(-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))
1.5b
(-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))
24.0b
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))
Compiler

Compiled 1536 to 1280 computations (16.7% saved)

series6.0ms (0.1%)

Counts
1 → 24
Calls

1 calls:

6.0ms
(/.f64 (+.f64 (neg.f64 b) (*.f64 -1 b)) (*.f64 2 a))

rewrite43.0ms (0.4%)

Algorithm
batch-egg-rewrite
Rules
694×expm1-log1p-u_binary64
693×log1p-expm1-u_binary64
309×prod-diff_binary64
130×log1p-udef_binary64
97×add-sqr-sqrt_binary64
Counts
1 → 32
Calls

1 calls:

43.0ms
(/.f64 (+.f64 (neg.f64 b) (*.f64 -1 b)) (*.f64 2 a))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01014
11944
218834
348024
000
100

simplify15.0ms (0.2%)

Algorithm
egg-herbie
Rules
14×fma-def_binary64
sub-neg_binary64
+-commutative_binary64
fma-neg_binary64
*-commutative_binary64
Counts
56 → 34
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06144
110144
216144
322144
428144
534144
639144
744144
852144
949144
1040144

prune554.0ms (5.7%)

Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New3772379
Fresh279
Picked101
Done000
Total3809389
Error
5.3b
Counts
389 → 9
Alt Table
StatusErrorProgram
34.8b
(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 (pow.f64 b 3) (pow.f64 (fma.f64 -4 (*.f64 a c) (*.f64 b b)) 3/2)) (/.f64 1 (fma.f64 b b (fma.f64 b (sqrt.f64 (fma.f64 -4 (*.f64 a c) (*.f64 b b))) (fma.f64 -4 (*.f64 a c) (*.f64 b b)))))) (*.f64 2 a)))
23.2b
(if (>=.f64 b 0) (/.f64 (*.f64 2 c) (-.f64 (neg.f64 b) b)) (/.f64 (+.f64 (neg.f64 b) (*.f64 -1 b)) (*.f64 2 a)))
27.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 (neg.f64 b) (cbrt.f64 (pow.f64 (fma.f64 -4 (*.f64 a c) (*.f64 b b)) 3/2))) (*.f64 2 a)))
22.1b
(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)))
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) (*.f64 (cbrt.f64 (fma.f64 -4 (*.f64 a c) (*.f64 b b))) (cbrt.f64 (sqrt.f64 (fma.f64 -4 (*.f64 a c) (*.f64 b b)))))) (*.f64 2 a)))
25.6b
(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) (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)))
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) (sqrt.f64 (pow.f64 (cbrt.f64 (fma.f64 -4 (*.f64 a c) (*.f64 b b))) 3))) (*.f64 2 a)))
19.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 -1 (/.f64 b a)))
Compiler

Compiled 17703 to 9965 computations (43.7% saved)

localize17.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(/.f64 (*.f64 2 c) (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))))
0.6b
(-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))
1.5b
(-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))
24.0b
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))
Compiler

Compiled 1536 to 1280 computations (16.7% saved)

series122.0ms (1.3%)

Counts
1 → 20
Calls

1 calls:

122.0ms
(/.f64 (*.f64 2 c) (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))))

rewrite68.0ms (0.7%)

Algorithm
batch-egg-rewrite
Rules
280×expm1-udef_binary64
280×log1p-udef_binary64
167×add-sqr-sqrt_binary64
163×log1p-expm1-u_binary64
163×expm1-log1p-u_binary64
Counts
1 → 45
Calls

1 calls:

66.0ms
(/.f64 (*.f64 2 c) (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01526
133822
2420522
3488822
000
100

simplify49.0ms (0.5%)

Algorithm
egg-herbie
Rules
907×fma-neg_binary64
473×times-frac_binary64
442×unswap-sqr_binary64
288×associate-/l*_binary64
232×associate-/r*_binary64
Counts
65 → 68
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
067659
1218639
2682598
33651597
45374597

prune762.0ms (7.9%)

Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New4112413
Fresh178
Picked101
Done000
Total4139422
Error
5.3b
Counts
422 → 9
Alt Table
StatusErrorProgram
27.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 (neg.f64 b) (cbrt.f64 (pow.f64 (fma.f64 -4 (*.f64 a c) (*.f64 b b)) 3/2))) (*.f64 2 a)))
22.1b
(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)))
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) (*.f64 (cbrt.f64 (fma.f64 -4 (*.f64 a c) (*.f64 b b))) (cbrt.f64 (sqrt.f64 (fma.f64 -4 (*.f64 a c) (*.f64 b b)))))) (*.f64 2 a)))
29.2b
(if (>=.f64 b 0) (*.f64 2 (/.f64 1 (/.f64 (-.f64 b (sqrt.f64 (fma.f64 b b (*.f64 -4 (*.f64 c a))))) c))) (*.f64 -1 (/.f64 b a)))
34.8b
(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 (pow.f64 b 3) (pow.f64 (fma.f64 -4 (*.f64 a c) (*.f64 b b)) 3/2)) (/.f64 1 (fma.f64 b b (fma.f64 b (sqrt.f64 (fma.f64 -4 (*.f64 a c) (*.f64 b b))) (fma.f64 -4 (*.f64 a c) (*.f64 b b)))))) (*.f64 2 a)))
25.6b
(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) (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)))
22.9b
(if (>=.f64 b 0) (*.f64 -1 (/.f64 c b)) (*.f64 -1 (/.f64 b 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) (sqrt.f64 (pow.f64 (cbrt.f64 (fma.f64 -4 (*.f64 a c) (*.f64 b b))) 3))) (*.f64 2 a)))
Compiler

Compiled 17197 to 9271 computations (46.1% saved)

localize27.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))))
10.2b
(-.f64 (neg.f64 b) (pow.f64 (pow.f64 (fma.f64 -4 (*.f64 a c) (*.f64 b b)) 1/4) 2))
24.0b
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))
24.7b
(pow.f64 (fma.f64 -4 (*.f64 a c) (*.f64 b b)) 1/4)
Compiler

Compiled 1536 to 1280 computations (16.7% saved)

series76.0ms (0.8%)

Counts
2 → 56
Calls

2 calls:

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

rewrite115.0ms (1.2%)

Algorithm
batch-egg-rewrite
Rules
892×prod-diff_binary64
229×log1p-udef_binary64
208×egg-rr
142×log1p-expm1-u_binary64
142×expm1-log1p-u_binary64
Counts
2 → 208
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: 0 (0.0ms)

IterNodesCost
01433
130530
2306330
3490630
000
100

simplify90.0ms (0.9%)

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
264 → 285
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02262538
17552480
228272444
351232444

prune839.0ms (8.7%)

Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New4112413
Fresh088
Picked011
Done000
Total41111422
Error
3.0b
Counts
422 → 11
Alt Table
StatusErrorProgram
25.6b
(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)))
37.4b
(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)))
27.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 (neg.f64 b) (cbrt.f64 (pow.f64 (fma.f64 -4 (*.f64 a c) (*.f64 b b)) 3/2))) (*.f64 2 a)))
38.4b
(if (>=.f64 b 0) (/.f64 (*.f64 2 c) (-.f64 (neg.f64 b) (pow.f64 (exp.f64 (*.f64 1/4 (-.f64 (log.f64 (*.f64 4 c)) (log.f64 (/.f64 -1 a))))) 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 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)))
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) (*.f64 (cbrt.f64 (fma.f64 -4 (*.f64 a c) (*.f64 b b))) (cbrt.f64 (sqrt.f64 (fma.f64 -4 (*.f64 a c) (*.f64 b b)))))) (*.f64 2 a)))
29.2b
(if (>=.f64 b 0) (*.f64 2 (/.f64 1 (/.f64 (-.f64 b (sqrt.f64 (fma.f64 b b (*.f64 -4 (*.f64 c a))))) c))) (*.f64 -1 (/.f64 b a)))
34.8b
(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 (pow.f64 b 3) (pow.f64 (fma.f64 -4 (*.f64 a c) (*.f64 b b)) 3/2)) (/.f64 1 (fma.f64 b b (fma.f64 b (sqrt.f64 (fma.f64 -4 (*.f64 a c) (*.f64 b b))) (fma.f64 -4 (*.f64 a c) (*.f64 b b)))))) (*.f64 2 a)))
22.1b
(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)))
22.9b
(if (>=.f64 b 0) (*.f64 -1 (/.f64 c b)) (*.f64 -1 (/.f64 b 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) (sqrt.f64 (pow.f64 (cbrt.f64 (fma.f64 -4 (*.f64 a c) (*.f64 b b))) 3))) (*.f64 2 a)))
Compiler

Compiled 29196 to 15875 computations (45.6% saved)

regimes1.9s (19.2%)

Accuracy

Total 4.4b remaining (57.4%)

Threshold costs 0b (0%)

Counts
135 → 5
Compiler

Compiled 18830 to 12694 computations (32.6% saved)

bsearch7.0ms (0.1%)

Compiler

Compiled 41 to 26 computations (36.6% saved)

simplify14.0ms (0.1%)

Algorithm
egg-herbie
Rules
19×+-commutative_binary64
19×*-commutative_binary64
16×sub-neg_binary64
12×neg-sub0_binary64
11×neg-mul-1_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
063480
188466
2122466
3146466
4159466
5163466
6162466

end405.0ms (4.2%)

Compiler

Compiled 1085 to 667 computations (38.5% saved)

Profiling

Loading profile data...