Graphics.Rasterific.Linear:$cquadrance from Rasterific-0.6.1

Time bar (total: 1.3s)

start0.0ms (0%)

Memory
0.1MiB live, 0.1MiB allocated; 0ms collecting garbage

analyze0.0ms (0%)

Memory
0.6MiB live, 0.6MiB allocated; 0ms collecting garbage
Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%99.9%0.1%0%0%0%0
100%99.9%0%0.1%0%0%0%1
Compiler

Compiled 9 to 7 computations (22.2% saved)

sample797.0ms (60.3%)

Memory
38.1MiB live, 847.6MiB allocated; 134ms collecting garbage
Samples
546.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 246.0ms
ival-mult!: 226.0ms (92% of total)
ival-add!: 18.0ms (7.3% of total)
adjust: 1.0ms (0.4% of total)
Bogosity

preprocess137.0ms (10.4%)

Memory
-38.4MiB live, 52.4MiB allocated; 11ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01444
15044
214444
318944
440644
5205844
6497244
Stop Event
node-limit
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(+.f64 (*.f64 x x) (*.f64 y y))
Symmetry

(abs x)

(abs y)

(sort x y)

Compiler

Compiled 10 to 10 computations (0% saved)

series7.0ms (0.5%)

Memory
20.1MiB live, 20.1MiB allocated; 0ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02377
Stop Event
iter-limit
Counts
5 → 7
Calls
Call 1
Inputs
(+.f64 (*.f64 x x) (*.f64 y y))
(*.f64 x x)
x
(*.f64 y y)
y
Outputs
#s(approx (+ (* x x) (* y y)) (pow.f64 y #s(literal 2 binary64)))
#s(approx (+ (* x x) (* y y)) (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 y #s(literal 2 binary64))))
#s(approx (* x x) (pow.f64 x #s(literal 2 binary64)))
#s(approx x x)
#s(approx (+ (* x x) (* y y)) (*.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 1 binary64) (/.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))))))
#s(approx y y)
#s(approx (+ (* x x) (* y y)) (*.f64 (pow.f64 y #s(literal 2 binary64)) (+.f64 #s(literal 1 binary64) (/.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 y #s(literal 2 binary64))))))
Calls

6 calls:

TimeVariablePointExpression
1.0ms
x
@inf
((+ (* x x) (* y y)) (* x x) x (* y y) y)
1.0ms
x
@-inf
((+ (* x x) (* y y)) (* x x) x (* y y) y)
1.0ms
y
@inf
((+ (* x x) (* y y)) (* x x) x (* y y) y)
1.0ms
y
@-inf
((+ (* x x) (* y y)) (* x x) x (* y y) y)
1.0ms
x
@0
((+ (* x x) (* y y)) (* x x) x (* y y) y)

rewrite176.0ms (13.3%)

Memory
20.3MiB live, 212.8MiB allocated; 51ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0515
0815
14115
214915
344215
487815
5365915
0808314
11114414
Stop Event
saturated
node-limit
iter-limit
Counts
5 → 51
Calls
Call 1
Inputs
(+.f64 (*.f64 x x) (*.f64 y y))
(*.f64 x x)
x
(*.f64 y y)
y
Outputs
(neg.f64 (neg.f64 (fma.f64 y y (*.f64 x x))))
(fma.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)) (*.f64 y y))
(fma.f64 (neg.f64 (fabs.f64 y)) (neg.f64 (fabs.f64 y)) (*.f64 x x))
(fma.f64 (fabs.f64 y) (fabs.f64 y) (*.f64 x x))
(fma.f64 (fabs.f64 x) (fabs.f64 x) (*.f64 y y))
(fma.f64 (neg.f64 y) (neg.f64 y) (*.f64 x x))
(fma.f64 (neg.f64 x) (neg.f64 x) (*.f64 y y))
(fma.f64 y y (*.f64 x x))
(fma.f64 x x (*.f64 y y))
(-.f64 (*.f64 y y) (*.f64 (neg.f64 x) x))
(-.f64 (*.f64 x x) (*.f64 (neg.f64 y) y))
(+.f64 (*.f64 y y) (*.f64 x x))
(+.f64 (*.f64 x x) (*.f64 y y))
(*.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)))
(*.f64 (fabs.f64 x) (fabs.f64 x))
(*.f64 (neg.f64 x) (neg.f64 x))
(*.f64 x x)
(pow.f64 (pow.f64 x #s(literal 16 binary64)) #s(literal 1/8 binary64))
(pow.f64 (pow.f64 x #s(literal 8 binary64)) #s(literal 1/4 binary64))
(pow.f64 (*.f64 (*.f64 (*.f64 x x) x) x) #s(literal 1/2 binary64))
(pow.f64 (neg.f64 (fabs.f64 x)) #s(literal 2 binary64))
(pow.f64 (fabs.f64 x) #s(literal 2 binary64))
(pow.f64 (neg.f64 x) #s(literal 2 binary64))
(pow.f64 (*.f64 x x) #s(literal 1 binary64))
(pow.f64 x #s(literal 2 binary64))
(neg.f64 (*.f64 (neg.f64 x) x))
(sqrt.f64 (*.f64 (*.f64 (*.f64 x x) x) x))
(fabs.f64 (*.f64 (fabs.f64 x) (neg.f64 x)))
(fabs.f64 (*.f64 (fabs.f64 x) x))
(fabs.f64 (*.f64 (neg.f64 x) x))
(fabs.f64 (*.f64 x x))
x
(*.f64 (neg.f64 (fabs.f64 y)) (neg.f64 (fabs.f64 y)))
(*.f64 (fabs.f64 y) (fabs.f64 y))
(*.f64 (neg.f64 y) (neg.f64 y))
(*.f64 y y)
(pow.f64 (pow.f64 y #s(literal 16 binary64)) #s(literal 1/8 binary64))
(pow.f64 (pow.f64 y #s(literal 8 binary64)) #s(literal 1/4 binary64))
(pow.f64 (*.f64 (*.f64 (*.f64 y y) y) y) #s(literal 1/2 binary64))
(pow.f64 (neg.f64 (fabs.f64 y)) #s(literal 2 binary64))
(pow.f64 (fabs.f64 y) #s(literal 2 binary64))
(pow.f64 (neg.f64 y) #s(literal 2 binary64))
(pow.f64 (*.f64 y y) #s(literal 1 binary64))
(pow.f64 y #s(literal 2 binary64))
(neg.f64 (*.f64 (neg.f64 y) y))
(sqrt.f64 (*.f64 (*.f64 (*.f64 y y) y) y))
(fabs.f64 (*.f64 (fabs.f64 y) (neg.f64 y)))
(fabs.f64 (*.f64 (fabs.f64 y) y))
(fabs.f64 (*.f64 (neg.f64 y) y))
(fabs.f64 (*.f64 y y))
y

eval17.0ms (1.3%)

Memory
-29.2MiB live, 20.3MiB allocated; 12ms collecting garbage
Compiler

Compiled 232 to 134 computations (42.2% saved)

prune2.0ms (0.1%)

Memory
5.0MiB live, 5.0MiB allocated; 0ms collecting garbage
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New52153
Fresh000
Picked101
Done000
Total53154
Accuracy
100.0%
Counts
54 → 1
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(fma.f64 y y (*.f64 x x))
Compiler

Compiled 4 to 4 computations (0% saved)

series5.0ms (0.3%)

Memory
12.6MiB live, 12.6MiB allocated; 0ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02377
Stop Event
iter-limit
Counts
4 → 7
Calls
Call 1
Inputs
(fma.f64 y y (*.f64 x x))
y
(*.f64 x x)
x
Outputs
#s(approx (+ (* y y) (* x x)) (pow.f64 y #s(literal 2 binary64)))
#s(approx (+ (* y y) (* x x)) (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 y #s(literal 2 binary64))))
#s(approx (* x x) (pow.f64 x #s(literal 2 binary64)))
#s(approx x x)
#s(approx (+ (* y y) (* x x)) (*.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 1 binary64) (/.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))))))
#s(approx y y)
#s(approx (+ (* y y) (* x x)) (*.f64 (pow.f64 y #s(literal 2 binary64)) (+.f64 #s(literal 1 binary64) (/.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 y #s(literal 2 binary64))))))
Calls

6 calls:

TimeVariablePointExpression
1.0ms
x
@inf
((+ (* y y) (* x x)) y (* x x) x)
1.0ms
x
@-inf
((+ (* y y) (* x x)) y (* x x) x)
0.0ms
y
@inf
((+ (* y y) (* x x)) y (* x x) x)
0.0ms
y
@-inf
((+ (* y y) (* x x)) y (* x x) x)
0.0ms
x
@0
((+ (* y y) (* x x)) y (* x x) x)

rewrite142.0ms (10.7%)

Memory
-16.3MiB live, 209.7MiB allocated; 43ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0411
0711
14011
214811
344111
487711
5365211
0807411
11113611
Stop Event
saturated
node-limit
iter-limit
Counts
4 → 33
Calls
Call 1
Inputs
(fma.f64 y y (*.f64 x x))
y
(*.f64 x x)
x
Outputs
(neg.f64 (neg.f64 (fma.f64 y y (*.f64 x x))))
(fma.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)) (*.f64 y y))
(fma.f64 (neg.f64 (fabs.f64 y)) (neg.f64 (fabs.f64 y)) (*.f64 x x))
(fma.f64 (fabs.f64 x) (fabs.f64 x) (*.f64 y y))
(fma.f64 (fabs.f64 y) (fabs.f64 y) (*.f64 x x))
(fma.f64 (neg.f64 x) (neg.f64 x) (*.f64 y y))
(fma.f64 (neg.f64 y) (neg.f64 y) (*.f64 x x))
(fma.f64 x x (*.f64 y y))
(fma.f64 y y (*.f64 x x))
(-.f64 (*.f64 y y) (*.f64 (neg.f64 x) x))
(-.f64 (*.f64 x x) (*.f64 (neg.f64 y) y))
(+.f64 (*.f64 y y) (*.f64 x x))
(+.f64 (*.f64 x x) (*.f64 y y))
y
(*.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)))
(*.f64 (fabs.f64 x) (fabs.f64 x))
(*.f64 (neg.f64 x) (neg.f64 x))
(*.f64 x x)
(pow.f64 (pow.f64 x #s(literal 16 binary64)) #s(literal 1/8 binary64))
(pow.f64 (pow.f64 x #s(literal 8 binary64)) #s(literal 1/4 binary64))
(pow.f64 (*.f64 (*.f64 (*.f64 x x) x) x) #s(literal 1/2 binary64))
(pow.f64 (neg.f64 (fabs.f64 x)) #s(literal 2 binary64))
(pow.f64 (fabs.f64 x) #s(literal 2 binary64))
(pow.f64 (neg.f64 x) #s(literal 2 binary64))
(pow.f64 (*.f64 x x) #s(literal 1 binary64))
(pow.f64 x #s(literal 2 binary64))
(neg.f64 (*.f64 (neg.f64 x) x))
(sqrt.f64 (*.f64 (*.f64 (*.f64 x x) x) x))
(fabs.f64 (*.f64 (fabs.f64 x) (neg.f64 x)))
(fabs.f64 (*.f64 (fabs.f64 x) x))
(fabs.f64 (*.f64 (neg.f64 x) x))
(fabs.f64 (*.f64 x x))
x

eval4.0ms (0.3%)

Memory
11.4MiB live, 11.4MiB allocated; 0ms collecting garbage
Compiler

Compiled 166 to 95 computations (42.8% saved)

prune2.0ms (0.1%)

Memory
4.8MiB live, 4.8MiB allocated; 0ms collecting garbage
Pruning

1 alts after pruning (0 fresh and 1 done)

PrunedKeptTotal
New36036
Fresh000
Picked011
Done000
Total36137
Accuracy
100.0%
Counts
37 → 1
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(fma.f64 y y (*.f64 x x))
Compiler

Compiled 11 to 10 computations (9.1% saved)

regimes6.0ms (0.4%)

Memory
19.1MiB live, 19.1MiB allocated; 0ms collecting garbage
Accuracy

Total 0.0b remaining (0%)

Threshold costs 0b (0%)

Counts
2 → 1
Calls
Call 1
Inputs
(fma.f64 y y (*.f64 x x))
(+.f64 (*.f64 x x) (*.f64 y y))
Outputs
(fma.f64 y y (*.f64 x x))
Calls

5 calls:

1.0ms
y
1.0ms
x
1.0ms
(+.f64 (*.f64 x x) (*.f64 y y))
1.0ms
(*.f64 y y)
1.0ms
(*.f64 x x)
Results
AccuracySegmentsBranch
100.0%1(*.f64 y y)
100.0%1(*.f64 x x)
100.0%1(+.f64 (*.f64 x x) (*.f64 y y))
100.0%1x
100.0%1y
Compiler

Compiled 11 to 15 computations (-36.4% saved)

derivations19.0ms (1.4%)

Memory
-34.4MiB live, 10.6MiB allocated; 6ms collecting garbage
Stop Event
done
Compiler

Compiled 4 to 4 computations (0% saved)

preprocess10.0ms (0.8%)

Memory
27.3MiB live, 27.3MiB allocated; 0ms collecting garbage
Remove

(sort x y)

(abs y)

(abs x)

Compiler

Compiled 33 to 33 computations (0% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated; 0ms collecting garbage

Profiling

Loading profile data...