jeff quadratic root 1

Time bar (total: 3.0s)

analyze227.0ms (7.5%)

Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%99.9%0.1%0%0%0%0
0%0%99.9%0.1%0%0%0%1
0%0%99.9%0.1%0%0%0%2
0%0%99.9%0.1%0%0%0%3
12.5%12.5%87.4%0.1%0%0%0%4
25%25%74.9%0.1%0%0%0%5
34.4%34.3%65.5%0.1%0%0%0%6
40%37.4%56.2%0.1%0%6.2%0%7
47.5%44.5%49.1%0.1%0%6.2%0%8
54.7%49.9%41.3%0.1%0%8.6%0%9
61%52.9%33.7%0.1%0%13.3%0%10
67.4%57.8%28%0.1%0%14%0%11
72.5%60.5%23%0.1%0%16.4%0%12
Compiler

Compiled 42 to 21 computations (50% saved)

Precisions
Click to see histograms. Total time spent on operations: 124.0ms
ival-mult: 51.0ms (41.2% of total)
ival-div: 13.0ms (10.5% of total)
ival-sub: 13.0ms (10.5% of total)
ival-sqrt: 10.0ms (8.1% of total)
ival-neg: 10.0ms (8.1% of total)
ival-if: 8.0ms (6.5% of total)
ival->=: 8.0ms (6.5% of total)
ival-add: 7.0ms (5.7% of total)
const: 3.0ms (2.4% of total)

sample2.1s (70.5%)

Results
1.4s8256×256valid
149.0ms1023×256invalid
Precisions
Click to see histograms. Total time spent on operations: 1.2s
ival-mult: 347.0ms (29.1% of total)
ival-neg: 304.0ms (25.5% of total)
ival-div: 154.0ms (12.9% of total)
ival-sub: 103.0ms (8.6% of total)
ival-sqrt: 84.0ms (7% of total)
ival->=: 64.0ms (5.4% of total)
ival-if: 58.0ms (4.9% of total)
ival-add: 57.0ms (4.8% of total)
const: 20.0ms (1.7% of total)
Bogosity

preprocess199.0ms (6.6%)

Algorithm
egg-herbie
Rules
500×times-frac
406×associate-/r*
405×fma-neg
387×sub-neg
345×unsub-neg
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0951702
12611530
27571530
320481494
453731494
571091494
677971494
Stop Event
node limit
Calls
Call 1
Inputs
(if (>=.f64 b #s(literal 0 binary64)) (/.f64 (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 #s(literal 4 binary64) a) c)))) (*.f64 #s(literal 2 binary64) a)) (/.f64 (*.f64 #s(literal 2 binary64) c) (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 #s(literal 4 binary64) a) c))))))
(if (>=.f64 b #s(literal 0 binary64)) (/.f64 (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 #s(literal 4 binary64) a) c)))) (*.f64 #s(literal 2 binary64) a)) (/.f64 (*.f64 #s(literal 2 binary64) c) (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 #s(literal 4 binary64) a) c))))))
(if (>=.f64 b #s(literal 0 binary64)) (/.f64 (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 #s(literal 4 binary64) (neg.f64 a)) c)))) (*.f64 #s(literal 2 binary64) (neg.f64 a))) (/.f64 (*.f64 #s(literal 2 binary64) c) (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 #s(literal 4 binary64) (neg.f64 a)) c))))))
(if (>=.f64 (neg.f64 b) #s(literal 0 binary64)) (/.f64 (-.f64 (neg.f64 (neg.f64 b)) (sqrt.f64 (-.f64 (*.f64 (neg.f64 b) (neg.f64 b)) (*.f64 (*.f64 #s(literal 4 binary64) a) c)))) (*.f64 #s(literal 2 binary64) a)) (/.f64 (*.f64 #s(literal 2 binary64) c) (+.f64 (neg.f64 (neg.f64 b)) (sqrt.f64 (-.f64 (*.f64 (neg.f64 b) (neg.f64 b)) (*.f64 (*.f64 #s(literal 4 binary64) a) c))))))
(if (>=.f64 b #s(literal 0 binary64)) (/.f64 (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 #s(literal 4 binary64) a) (neg.f64 c))))) (*.f64 #s(literal 2 binary64) a)) (/.f64 (*.f64 #s(literal 2 binary64) (neg.f64 c)) (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 #s(literal 4 binary64) a) (neg.f64 c)))))))
(neg.f64 (if (>=.f64 b #s(literal 0 binary64)) (/.f64 (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 #s(literal 4 binary64) (neg.f64 a)) c)))) (*.f64 #s(literal 2 binary64) (neg.f64 a))) (/.f64 (*.f64 #s(literal 2 binary64) c) (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 #s(literal 4 binary64) (neg.f64 a)) c)))))))
(neg.f64 (if (>=.f64 (neg.f64 b) #s(literal 0 binary64)) (/.f64 (-.f64 (neg.f64 (neg.f64 b)) (sqrt.f64 (-.f64 (*.f64 (neg.f64 b) (neg.f64 b)) (*.f64 (*.f64 #s(literal 4 binary64) a) c)))) (*.f64 #s(literal 2 binary64) a)) (/.f64 (*.f64 #s(literal 2 binary64) c) (+.f64 (neg.f64 (neg.f64 b)) (sqrt.f64 (-.f64 (*.f64 (neg.f64 b) (neg.f64 b)) (*.f64 (*.f64 #s(literal 4 binary64) a) c)))))))
(neg.f64 (if (>=.f64 b #s(literal 0 binary64)) (/.f64 (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 #s(literal 4 binary64) a) (neg.f64 c))))) (*.f64 #s(literal 2 binary64) a)) (/.f64 (*.f64 #s(literal 2 binary64) (neg.f64 c)) (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 #s(literal 4 binary64) a) (neg.f64 c))))))))
(if (>=.f64 a #s(literal 0 binary64)) (/.f64 (-.f64 (neg.f64 a) (sqrt.f64 (-.f64 (*.f64 a a) (*.f64 (*.f64 #s(literal 4 binary64) b) c)))) (*.f64 #s(literal 2 binary64) b)) (/.f64 (*.f64 #s(literal 2 binary64) c) (+.f64 (neg.f64 a) (sqrt.f64 (-.f64 (*.f64 a a) (*.f64 (*.f64 #s(literal 4 binary64) b) c))))))
(if (>=.f64 b #s(literal 0 binary64)) (/.f64 (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 #s(literal 4 binary64) c) a)))) (*.f64 #s(literal 2 binary64) c)) (/.f64 (*.f64 #s(literal 2 binary64) a) (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 #s(literal 4 binary64) c) a))))))
(if (>=.f64 c #s(literal 0 binary64)) (/.f64 (-.f64 (neg.f64 c) (sqrt.f64 (-.f64 (*.f64 c c) (*.f64 (*.f64 #s(literal 4 binary64) a) b)))) (*.f64 #s(literal 2 binary64) a)) (/.f64 (*.f64 #s(literal 2 binary64) b) (+.f64 (neg.f64 c) (sqrt.f64 (-.f64 (*.f64 c c) (*.f64 (*.f64 #s(literal 4 binary64) a) b))))))
Outputs
(if (>=.f64 b #s(literal 0 binary64)) (/.f64 (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 #s(literal 4 binary64) a) c)))) (*.f64 #s(literal 2 binary64) a)) (/.f64 (*.f64 #s(literal 2 binary64) c) (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 #s(literal 4 binary64) a) c))))))
(if (>=.f64 b #s(literal 0 binary64)) (/.f64 (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 #s(literal 4 binary64) (*.f64 a c))))) (*.f64 a #s(literal 2 binary64))) (*.f64 #s(literal 2 binary64) (/.f64 c (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 #s(literal 4 binary64) (*.f64 a c))))))))
(if (>=.f64 b #s(literal 0 binary64)) (/.f64 (-.f64 (neg.f64 b) (sqrt.f64 (fma.f64 b b (*.f64 a (*.f64 c #s(literal -4 binary64)))))) (*.f64 a #s(literal 2 binary64))) (*.f64 c (/.f64 #s(literal 2 binary64) (-.f64 (sqrt.f64 (fma.f64 b b (*.f64 a (*.f64 c #s(literal -4 binary64))))) b))))
(if (>=.f64 b #s(literal 0 binary64)) (*.f64 #s(literal -1/2 binary64) (/.f64 (+.f64 b (sqrt.f64 (fma.f64 c (*.f64 a #s(literal -4 binary64)) (*.f64 b b)))) a)) (*.f64 c (/.f64 #s(literal 2 binary64) (-.f64 (sqrt.f64 (fma.f64 c (*.f64 a #s(literal -4 binary64)) (*.f64 b b))) b))))
(if (>=.f64 b #s(literal 0 binary64)) (/.f64 (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 #s(literal 4 binary64) a) c)))) (*.f64 #s(literal 2 binary64) a)) (/.f64 (*.f64 #s(literal 2 binary64) c) (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 #s(literal 4 binary64) a) c))))))
(if (>=.f64 b #s(literal 0 binary64)) (/.f64 (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 #s(literal 4 binary64) (*.f64 a c))))) (*.f64 a #s(literal 2 binary64))) (*.f64 #s(literal 2 binary64) (/.f64 c (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 #s(literal 4 binary64) (*.f64 a c))))))))
(if (>=.f64 b #s(literal 0 binary64)) (/.f64 (-.f64 (neg.f64 b) (sqrt.f64 (fma.f64 b b (*.f64 a (*.f64 c #s(literal -4 binary64)))))) (*.f64 a #s(literal 2 binary64))) (*.f64 c (/.f64 #s(literal 2 binary64) (-.f64 (sqrt.f64 (fma.f64 b b (*.f64 a (*.f64 c #s(literal -4 binary64))))) b))))
(if (>=.f64 b #s(literal 0 binary64)) (*.f64 #s(literal -1/2 binary64) (/.f64 (+.f64 b (sqrt.f64 (fma.f64 c (*.f64 a #s(literal -4 binary64)) (*.f64 b b)))) a)) (*.f64 c (/.f64 #s(literal 2 binary64) (-.f64 (sqrt.f64 (fma.f64 c (*.f64 a #s(literal -4 binary64)) (*.f64 b b))) b))))
(if (>=.f64 b #s(literal 0 binary64)) (/.f64 (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 #s(literal 4 binary64) (neg.f64 a)) c)))) (*.f64 #s(literal 2 binary64) (neg.f64 a))) (/.f64 (*.f64 #s(literal 2 binary64) c) (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 #s(literal 4 binary64) (neg.f64 a)) c))))))
(if (>=.f64 b #s(literal 0 binary64)) (/.f64 (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 #s(literal 4 binary64) (*.f64 (neg.f64 a) c))))) (*.f64 #s(literal 2 binary64) (neg.f64 a))) (/.f64 (*.f64 c #s(literal 2 binary64)) (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 #s(literal 4 binary64) (*.f64 (neg.f64 a) c)))))))
(if (>=.f64 b #s(literal 0 binary64)) (/.f64 (-.f64 (neg.f64 b) (sqrt.f64 (fma.f64 b b (*.f64 #s(literal 4 binary64) (*.f64 a c))))) (*.f64 a #s(literal -2 binary64))) (*.f64 c (/.f64 #s(literal 2 binary64) (-.f64 (sqrt.f64 (fma.f64 b b (*.f64 #s(literal 4 binary64) (*.f64 a c)))) b))))
(if (>=.f64 b #s(literal 0 binary64)) (/.f64 (+.f64 b (sqrt.f64 (fma.f64 #s(literal 4 binary64) (*.f64 a c) (*.f64 b b)))) (*.f64 a #s(literal 2 binary64))) (*.f64 c (/.f64 #s(literal 2 binary64) (-.f64 (sqrt.f64 (fma.f64 #s(literal 4 binary64) (*.f64 a c) (*.f64 b b))) b))))
(if (>=.f64 b #s(literal 0 binary64)) (*.f64 (/.f64 #s(literal 1/2 binary64) a) (+.f64 b (sqrt.f64 (fma.f64 #s(literal 4 binary64) (*.f64 a c) (*.f64 b b))))) (*.f64 c (/.f64 #s(literal 2 binary64) (-.f64 (sqrt.f64 (fma.f64 #s(literal 4 binary64) (*.f64 a c) (*.f64 b b))) b))))
(if (>=.f64 (neg.f64 b) #s(literal 0 binary64)) (/.f64 (-.f64 (neg.f64 (neg.f64 b)) (sqrt.f64 (-.f64 (*.f64 (neg.f64 b) (neg.f64 b)) (*.f64 (*.f64 #s(literal 4 binary64) a) c)))) (*.f64 #s(literal 2 binary64) a)) (/.f64 (*.f64 #s(literal 2 binary64) c) (+.f64 (neg.f64 (neg.f64 b)) (sqrt.f64 (-.f64 (*.f64 (neg.f64 b) (neg.f64 b)) (*.f64 (*.f64 #s(literal 4 binary64) a) c))))))
(if (>=.f64 (neg.f64 b) #s(literal 0 binary64)) (/.f64 (-.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 #s(literal 4 binary64) (*.f64 a c))))) (*.f64 a #s(literal 2 binary64))) (/.f64 (*.f64 c #s(literal 2 binary64)) (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 #s(literal 4 binary64) (*.f64 a c)))))))
(if (>=.f64 (neg.f64 b) #s(literal 0 binary64)) (/.f64 (-.f64 b (sqrt.f64 (fma.f64 b b (*.f64 a (*.f64 c #s(literal -4 binary64)))))) (*.f64 a #s(literal 2 binary64))) (/.f64 (*.f64 c #s(literal 2 binary64)) (+.f64 b (sqrt.f64 (fma.f64 b b (*.f64 a (*.f64 c #s(literal -4 binary64))))))))
(if (>=.f64 (neg.f64 b) #s(literal 0 binary64)) (*.f64 #s(literal -1/2 binary64) (/.f64 (-.f64 (sqrt.f64 (fma.f64 c (*.f64 a #s(literal -4 binary64)) (*.f64 b b))) b) a)) (*.f64 c (/.f64 #s(literal 2 binary64) (+.f64 b (sqrt.f64 (fma.f64 c (*.f64 a #s(literal -4 binary64)) (*.f64 b b)))))))
(if (>=.f64 b #s(literal 0 binary64)) (/.f64 (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 #s(literal 4 binary64) a) (neg.f64 c))))) (*.f64 #s(literal 2 binary64) a)) (/.f64 (*.f64 #s(literal 2 binary64) (neg.f64 c)) (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 #s(literal 4 binary64) a) (neg.f64 c)))))))
(if (>=.f64 b #s(literal 0 binary64)) (/.f64 (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 #s(literal 4 binary64) a) (neg.f64 c))))) (*.f64 a #s(literal 2 binary64))) (*.f64 #s(literal 2 binary64) (/.f64 (neg.f64 c) (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 #s(literal 4 binary64) a) (neg.f64 c))))))))
(if (>=.f64 b #s(literal 0 binary64)) (/.f64 (-.f64 (neg.f64 b) (sqrt.f64 (fma.f64 b b (*.f64 #s(literal 4 binary64) (*.f64 a c))))) (*.f64 a #s(literal 2 binary64))) (/.f64 (*.f64 c #s(literal -2 binary64)) (-.f64 (sqrt.f64 (fma.f64 b b (*.f64 #s(literal 4 binary64) (*.f64 a c)))) b)))
(if (>=.f64 b #s(literal 0 binary64)) (/.f64 (-.f64 (neg.f64 b) (sqrt.f64 (fma.f64 b b (*.f64 #s(literal 4 binary64) (*.f64 a c))))) (*.f64 a #s(literal 2 binary64))) (*.f64 (/.f64 c (-.f64 (sqrt.f64 (fma.f64 b b (*.f64 #s(literal 4 binary64) (*.f64 a c)))) b)) #s(literal -2 binary64)))
(if (>=.f64 b #s(literal 0 binary64)) (*.f64 #s(literal -1/2 binary64) (/.f64 (+.f64 b (sqrt.f64 (fma.f64 #s(literal 4 binary64) (*.f64 a c) (*.f64 b b)))) a)) (*.f64 #s(literal 2 binary64) (/.f64 c (-.f64 b (sqrt.f64 (fma.f64 #s(literal 4 binary64) (*.f64 a c) (*.f64 b b)))))))
(neg.f64 (if (>=.f64 b #s(literal 0 binary64)) (/.f64 (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 #s(literal 4 binary64) (neg.f64 a)) c)))) (*.f64 #s(literal 2 binary64) (neg.f64 a))) (/.f64 (*.f64 #s(literal 2 binary64) c) (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 #s(literal 4 binary64) (neg.f64 a)) c)))))))
(neg.f64 (if (>=.f64 b #s(literal 0 binary64)) (/.f64 (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 #s(literal 4 binary64) (*.f64 (neg.f64 a) c))))) (*.f64 #s(literal 2 binary64) (neg.f64 a))) (/.f64 (*.f64 c #s(literal 2 binary64)) (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 #s(literal 4 binary64) (*.f64 (neg.f64 a) c))))))))
(neg.f64 (if (>=.f64 b #s(literal 0 binary64)) (/.f64 (-.f64 (neg.f64 b) (sqrt.f64 (fma.f64 b b (*.f64 #s(literal 4 binary64) (*.f64 a c))))) (*.f64 a #s(literal -2 binary64))) (*.f64 c (/.f64 #s(literal 2 binary64) (-.f64 (sqrt.f64 (fma.f64 b b (*.f64 #s(literal 4 binary64) (*.f64 a c)))) b)))))
(neg.f64 (if (>=.f64 b #s(literal 0 binary64)) (/.f64 (+.f64 b (sqrt.f64 (fma.f64 #s(literal 4 binary64) (*.f64 a c) (*.f64 b b)))) (*.f64 a #s(literal 2 binary64))) (*.f64 c (/.f64 #s(literal 2 binary64) (-.f64 (sqrt.f64 (fma.f64 #s(literal 4 binary64) (*.f64 a c) (*.f64 b b))) b)))))
(neg.f64 (if (>=.f64 b #s(literal 0 binary64)) (*.f64 (/.f64 #s(literal 1/2 binary64) a) (+.f64 b (sqrt.f64 (fma.f64 #s(literal 4 binary64) (*.f64 a c) (*.f64 b b))))) (*.f64 c (/.f64 #s(literal 2 binary64) (-.f64 (sqrt.f64 (fma.f64 #s(literal 4 binary64) (*.f64 a c) (*.f64 b b))) b)))))
(neg.f64 (if (>=.f64 (neg.f64 b) #s(literal 0 binary64)) (/.f64 (-.f64 (neg.f64 (neg.f64 b)) (sqrt.f64 (-.f64 (*.f64 (neg.f64 b) (neg.f64 b)) (*.f64 (*.f64 #s(literal 4 binary64) a) c)))) (*.f64 #s(literal 2 binary64) a)) (/.f64 (*.f64 #s(literal 2 binary64) c) (+.f64 (neg.f64 (neg.f64 b)) (sqrt.f64 (-.f64 (*.f64 (neg.f64 b) (neg.f64 b)) (*.f64 (*.f64 #s(literal 4 binary64) a) c)))))))
(neg.f64 (if (>=.f64 (neg.f64 b) #s(literal 0 binary64)) (/.f64 (-.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 #s(literal 4 binary64) (*.f64 a c))))) (*.f64 a #s(literal 2 binary64))) (/.f64 (*.f64 c #s(literal 2 binary64)) (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 #s(literal 4 binary64) (*.f64 a c))))))))
(neg.f64 (if (>=.f64 (neg.f64 b) #s(literal 0 binary64)) (/.f64 (-.f64 b (sqrt.f64 (fma.f64 b b (*.f64 a (*.f64 c #s(literal -4 binary64)))))) (*.f64 a #s(literal 2 binary64))) (/.f64 (*.f64 c #s(literal 2 binary64)) (+.f64 b (sqrt.f64 (fma.f64 b b (*.f64 a (*.f64 c #s(literal -4 binary64)))))))))
(neg.f64 (if (>=.f64 (neg.f64 b) #s(literal 0 binary64)) (*.f64 #s(literal -1/2 binary64) (/.f64 (-.f64 (sqrt.f64 (fma.f64 c (*.f64 a #s(literal -4 binary64)) (*.f64 b b))) b) a)) (*.f64 c (/.f64 #s(literal 2 binary64) (+.f64 b (sqrt.f64 (fma.f64 c (*.f64 a #s(literal -4 binary64)) (*.f64 b b))))))))
(neg.f64 (if (>=.f64 b #s(literal 0 binary64)) (/.f64 (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 #s(literal 4 binary64) a) (neg.f64 c))))) (*.f64 #s(literal 2 binary64) a)) (/.f64 (*.f64 #s(literal 2 binary64) (neg.f64 c)) (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 #s(literal 4 binary64) a) (neg.f64 c))))))))
(neg.f64 (if (>=.f64 b #s(literal 0 binary64)) (/.f64 (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 #s(literal 4 binary64) a) (neg.f64 c))))) (*.f64 a #s(literal 2 binary64))) (*.f64 #s(literal 2 binary64) (/.f64 (neg.f64 c) (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 #s(literal 4 binary64) a) (neg.f64 c)))))))))
(neg.f64 (if (>=.f64 b #s(literal 0 binary64)) (/.f64 (-.f64 (neg.f64 b) (sqrt.f64 (fma.f64 b b (*.f64 #s(literal 4 binary64) (*.f64 a c))))) (*.f64 a #s(literal 2 binary64))) (/.f64 (*.f64 c #s(literal -2 binary64)) (-.f64 (sqrt.f64 (fma.f64 b b (*.f64 #s(literal 4 binary64) (*.f64 a c)))) b))))
(neg.f64 (if (>=.f64 b #s(literal 0 binary64)) (/.f64 (-.f64 (neg.f64 b) (sqrt.f64 (fma.f64 b b (*.f64 #s(literal 4 binary64) (*.f64 a c))))) (*.f64 a #s(literal 2 binary64))) (*.f64 (/.f64 c (-.f64 (sqrt.f64 (fma.f64 b b (*.f64 #s(literal 4 binary64) (*.f64 a c)))) b)) #s(literal -2 binary64))))
(neg.f64 (if (>=.f64 b #s(literal 0 binary64)) (*.f64 #s(literal -1/2 binary64) (/.f64 (+.f64 b (sqrt.f64 (fma.f64 #s(literal 4 binary64) (*.f64 a c) (*.f64 b b)))) a)) (*.f64 #s(literal 2 binary64) (/.f64 c (-.f64 b (sqrt.f64 (fma.f64 #s(literal 4 binary64) (*.f64 a c) (*.f64 b b))))))))
(if (>=.f64 a #s(literal 0 binary64)) (/.f64 (-.f64 (neg.f64 a) (sqrt.f64 (-.f64 (*.f64 a a) (*.f64 (*.f64 #s(literal 4 binary64) b) c)))) (*.f64 #s(literal 2 binary64) b)) (/.f64 (*.f64 #s(literal 2 binary64) c) (+.f64 (neg.f64 a) (sqrt.f64 (-.f64 (*.f64 a a) (*.f64 (*.f64 #s(literal 4 binary64) b) c))))))
(if (>=.f64 a #s(literal 0 binary64)) (/.f64 (-.f64 (neg.f64 a) (sqrt.f64 (-.f64 (*.f64 a a) (*.f64 #s(literal 4 binary64) (*.f64 b c))))) (*.f64 b #s(literal 2 binary64))) (*.f64 #s(literal 2 binary64) (/.f64 c (+.f64 (neg.f64 a) (sqrt.f64 (-.f64 (*.f64 a a) (*.f64 #s(literal 4 binary64) (*.f64 b c))))))))
(if (>=.f64 a #s(literal 0 binary64)) (/.f64 (-.f64 (neg.f64 a) (sqrt.f64 (fma.f64 a a (*.f64 c (*.f64 b #s(literal -4 binary64)))))) (*.f64 b #s(literal 2 binary64))) (*.f64 #s(literal 2 binary64) (/.f64 c (-.f64 (sqrt.f64 (fma.f64 a a (*.f64 c (*.f64 b #s(literal -4 binary64))))) a))))
(if (>=.f64 a #s(literal 0 binary64)) (/.f64 (-.f64 (neg.f64 a) (sqrt.f64 (fma.f64 a a (*.f64 b (*.f64 c #s(literal -4 binary64)))))) (*.f64 b #s(literal 2 binary64))) (*.f64 #s(literal 2 binary64) (/.f64 c (-.f64 (sqrt.f64 (fma.f64 a a (*.f64 b (*.f64 c #s(literal -4 binary64))))) a))))
(if (>=.f64 a #s(literal 0 binary64)) (*.f64 #s(literal -1/2 binary64) (/.f64 (+.f64 a (sqrt.f64 (fma.f64 c (*.f64 b #s(literal -4 binary64)) (*.f64 a a)))) b)) (*.f64 c (/.f64 #s(literal 2 binary64) (-.f64 (sqrt.f64 (fma.f64 c (*.f64 b #s(literal -4 binary64)) (*.f64 a a))) a))))
(if (>=.f64 b #s(literal 0 binary64)) (/.f64 (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 #s(literal 4 binary64) c) a)))) (*.f64 #s(literal 2 binary64) c)) (/.f64 (*.f64 #s(literal 2 binary64) a) (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 #s(literal 4 binary64) c) a))))))
(if (>=.f64 b #s(literal 0 binary64)) (/.f64 (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 #s(literal 4 binary64) (*.f64 c a))))) (*.f64 c #s(literal 2 binary64))) (/.f64 (*.f64 a #s(literal 2 binary64)) (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 #s(literal 4 binary64) (*.f64 c a)))))))
(if (>=.f64 b #s(literal 0 binary64)) (/.f64 (-.f64 (neg.f64 b) (sqrt.f64 (fma.f64 b b (*.f64 a (*.f64 c #s(literal -4 binary64)))))) (*.f64 c #s(literal 2 binary64))) (*.f64 a (/.f64 #s(literal 2 binary64) (-.f64 (sqrt.f64 (fma.f64 b b (*.f64 a (*.f64 c #s(literal -4 binary64))))) b))))
(if (>=.f64 b #s(literal 0 binary64)) (/.f64 (+.f64 b (sqrt.f64 (fma.f64 c (*.f64 a #s(literal -4 binary64)) (*.f64 b b)))) (*.f64 c #s(literal -2 binary64))) (*.f64 a (/.f64 #s(literal 2 binary64) (-.f64 (sqrt.f64 (fma.f64 c (*.f64 a #s(literal -4 binary64)) (*.f64 b b))) b))))
(if (>=.f64 b #s(literal 0 binary64)) (*.f64 (/.f64 #s(literal -1/2 binary64) c) (+.f64 b (sqrt.f64 (fma.f64 c (*.f64 a #s(literal -4 binary64)) (*.f64 b b))))) (*.f64 a (/.f64 #s(literal 2 binary64) (-.f64 (sqrt.f64 (fma.f64 c (*.f64 a #s(literal -4 binary64)) (*.f64 b b))) b))))
(if (>=.f64 c #s(literal 0 binary64)) (/.f64 (-.f64 (neg.f64 c) (sqrt.f64 (-.f64 (*.f64 c c) (*.f64 (*.f64 #s(literal 4 binary64) a) b)))) (*.f64 #s(literal 2 binary64) a)) (/.f64 (*.f64 #s(literal 2 binary64) b) (+.f64 (neg.f64 c) (sqrt.f64 (-.f64 (*.f64 c c) (*.f64 (*.f64 #s(literal 4 binary64) a) b))))))
(if (>=.f64 c #s(literal 0 binary64)) (/.f64 (-.f64 (neg.f64 c) (sqrt.f64 (-.f64 (*.f64 c c) (*.f64 b (*.f64 #s(literal 4 binary64) a))))) (*.f64 a #s(literal 2 binary64))) (/.f64 (*.f64 b #s(literal 2 binary64)) (+.f64 (neg.f64 c) (sqrt.f64 (-.f64 (*.f64 c c) (*.f64 b (*.f64 #s(literal 4 binary64) a)))))))
(if (>=.f64 c #s(literal 0 binary64)) (/.f64 (-.f64 (neg.f64 c) (sqrt.f64 (fma.f64 c c (*.f64 b (*.f64 a #s(literal -4 binary64)))))) (*.f64 a #s(literal 2 binary64))) (/.f64 (*.f64 b #s(literal 2 binary64)) (-.f64 (sqrt.f64 (fma.f64 c c (*.f64 b (*.f64 a #s(literal -4 binary64))))) c)))
(if (>=.f64 c #s(literal 0 binary64)) (/.f64 (-.f64 (neg.f64 c) (sqrt.f64 (fma.f64 b (*.f64 a #s(literal -4 binary64)) (*.f64 c c)))) (*.f64 a #s(literal 2 binary64))) (/.f64 (*.f64 b #s(literal 2 binary64)) (-.f64 (sqrt.f64 (fma.f64 b (*.f64 a #s(literal -4 binary64)) (*.f64 c c))) c)))
(if (>=.f64 c #s(literal 0 binary64)) (*.f64 #s(literal -1/2 binary64) (/.f64 (+.f64 c (sqrt.f64 (fma.f64 b (*.f64 a #s(literal -4 binary64)) (*.f64 c c)))) a)) (*.f64 b (/.f64 #s(literal 2 binary64) (-.f64 (sqrt.f64 (fma.f64 b (*.f64 a #s(literal -4 binary64)) (*.f64 c c))) c))))

explain428.0ms (14.2%)

FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
1180-3(-6.1919685179733684e-266 1.4272209072428555e-159 4.998725435941875e-93)(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 #s(literal 4 binary64) a) c)))
721(-4.3606880969685145e-270 -1.3948768413037529e+237 1.5168919488118837e+183)1(-2.3436408207371127e+109 -3.771094071551054e+124 3.4773136092932276e+137)(-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 #s(literal 4 binary64) a) c))))
630-0-(+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 #s(literal 4 binary64) a) c))))
170-3(-4.3606880969685145e-270 -1.3948768413037529e+237 1.5168919488118837e+183)(/.f64 (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 #s(literal 4 binary64) a) c)))) (*.f64 #s(literal 2 binary64) a))
110-1(-2.4144418161056676e-80 2.231400910643149e-24 8.337054758130742e-255)(/.f64 (*.f64 #s(literal 2 binary64) c) (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 #s(literal 4 binary64) a) c)))))
60-0-(-.f64 (*.f64 b b) (*.f64 (*.f64 #s(literal 4 binary64) a) c))
00-0-b
00-0-#s(literal 2 binary64)
00-0-(*.f64 (*.f64 #s(literal 4 binary64) a) c)
00-0-(if (>=.f64 b #s(literal 0 binary64)) (/.f64 (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 #s(literal 4 binary64) a) c)))) (*.f64 #s(literal 2 binary64) a)) (/.f64 (*.f64 #s(literal 2 binary64) c) (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 #s(literal 4 binary64) a) c))))))
00-0-#s(literal 0 binary64)
00-0-#s(literal 4 binary64)
00-0-(>=.f64 b #s(literal 0 binary64))
00-0-(*.f64 #s(literal 4 binary64) a)
00-0-(neg.f64 b)
00-0-c
00-0-(*.f64 #s(literal 2 binary64) a)
00-0-(*.f64 b b)
00-0-(*.f64 #s(literal 2 binary64) c)
00-0-a
Results
106.0ms150×2048valid
57.0ms98×1024valid
38.0ms38×4096valid
32.0ms188×256valid
12.0ms38×512valid
Compiler

Compiled 339 to 62 computations (81.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 127.0ms
ival-mult: 47.0ms (37% of total)
ival-div: 23.0ms (18.1% of total)
ival-sub: 14.0ms (11% of total)
ival-sqrt: 12.0ms (9.4% of total)
ival->=: 7.0ms (5.5% of total)
ival-if: 7.0ms (5.5% of total)
ival-neg: 7.0ms (5.5% of total)
ival-add: 7.0ms (5.5% of total)
const: 3.0ms (2.4% of total)

eval0.0ms (0%)

Compiler

Compiled 3 to 3 computations (0% saved)

prune1.0ms (0%)

Alt Table
Click to see full alt table
StatusAccuracyProgram
70.4%
(if (>=.f64 b #s(literal 0 binary64)) (/.f64 (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 #s(literal 4 binary64) a) c)))) (*.f64 #s(literal 2 binary64) a)) (/.f64 (*.f64 #s(literal 2 binary64) c) (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 #s(literal 4 binary64) a) c))))))
Compiler

Compiled 82 to 40 computations (51.2% saved)

simplify6.0ms (0.2%)

Algorithm
egg-herbie
Rules
15×*-commutative
15×+-commutative
13×sub-neg
11×neg-sub0
11×neg-mul-1
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
030150
145146
269146
389146
4104146
5117146
6122146
7125146
8126146
Stop Event
saturated
Calls
Call 1
Inputs
(if (>=.f64 b #s(literal 0 binary64)) (/.f64 (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 #s(literal 4 binary64) a) c)))) (*.f64 #s(literal 2 binary64) a)) (/.f64 (*.f64 #s(literal 2 binary64) c) (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 #s(literal 4 binary64) a) c))))))
Outputs
(if (>=.f64 b #s(literal 0 binary64)) (/.f64 (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 #s(literal 4 binary64) a) c)))) (*.f64 #s(literal 2 binary64) a)) (/.f64 (*.f64 #s(literal 2 binary64) c) (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 #s(literal 4 binary64) a) c))))))
(if (>=.f64 b #s(literal 0 binary64)) (/.f64 (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 #s(literal 4 binary64) a) c)))) (*.f64 a #s(literal 2 binary64))) (/.f64 (*.f64 c #s(literal 2 binary64)) (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 #s(literal 4 binary64) a) c))))))
(if (>=.f64 b #s(literal 0 binary64)) (/.f64 (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 #s(literal 4 binary64) a) c)))) (*.f64 a #s(literal 2 binary64))) (/.f64 (*.f64 c #s(literal 2 binary64)) (-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 #s(literal 4 binary64) a) c))) b)))
(if (>=.f64 b #s(literal 0 binary64)) (/.f64 (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 #s(literal 4 binary64) a) c)))) (neg.f64 (*.f64 a #s(literal 2 binary64)))) (/.f64 (*.f64 c #s(literal 2 binary64)) (-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 #s(literal 4 binary64) a) c))) b)))
(if (>=.f64 b #s(literal 0 binary64)) (/.f64 (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 #s(literal 4 binary64) a) c)))) (*.f64 a (neg.f64 #s(literal 2 binary64)))) (/.f64 (*.f64 c #s(literal 2 binary64)) (-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 #s(literal 4 binary64) a) c))) b)))

soundness0.0ms (0%)

Stop Event
fuel
Compiler

Compiled 40 to 20 computations (50% saved)

preprocess24.0ms (0.8%)

Compiler

Compiled 162 to 80 computations (50.6% saved)

end0.0ms (0%)

Profiling

Loading profile data...