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

Time bar (total: 2.1s)

start0.0ms (0%)

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

analyze0.0ms (0%)

Memory
0.3MiB live, 0.3MiB 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)

sample734.0ms (35.5%)

Memory
4.9MiB live, 571.3MiB allocated; 242ms collecting garbage
Samples
489.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 210.0ms
ival-mult!: 189.0ms (90.1% of total)
ival-add!: 19.0ms (9.1% of total)
adjust: 2.0ms (1% of total)
Bogosity

preprocess494.0ms (23.9%)

Memory
-25.4MiB live, 25.0MiB allocated; 11ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01444
15044
214444
318944
440644
5205844
6497244
7837944
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 14 to 10 computations (28.6% saved)

series139.0ms (6.7%)

Memory
39.0MiB live, 131.8MiB allocated; 10ms collecting garbage
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:

TimeVariablePoint
1.0ms
x
inf
1.0ms
x
-inf
1.0ms
y
inf
1.0ms
y
-inf
1.0ms
x
0

rewrite191.0ms (9.2%)

Memory
-1.4MiB live, 181.4MiB allocated; 53ms collecting garbage
Counts
5 → 20
Calls
Call 1
Inputs
(+.f64 (*.f64 x x) (*.f64 y y))
(*.f64 x x)
x
(*.f64 y y)
y
Outputs
(+.f64 (*.f64 x x) (*.f64 y y))
(+.f64 (*.f64 y y) (*.f64 x x))
(-.f64 (*.f64 x x) (neg.f64 (*.f64 y y)))
(-.f64 (*.f64 x x) (*.f64 (neg.f64 y) y))
(fma.f64 (neg.f64 x) (neg.f64 x) (*.f64 y y))
(fma.f64 (fabs.f64 x) (fabs.f64 x) (*.f64 y y))
(fma.f64 (neg.f64 y) (neg.f64 y) (*.f64 x x))
(fma.f64 (fabs.f64 y) (fabs.f64 y) (*.f64 x x))
(fma.f64 x x (*.f64 y y))
(fma.f64 y y (*.f64 x x))
(*.f64 x x)
(*.f64 (neg.f64 x) (neg.f64 x))
(*.f64 (fabs.f64 x) (fabs.f64 x))
(pow.f64 x #s(literal 2 binary64))
x
(*.f64 y y)
(*.f64 (neg.f64 y) (neg.f64 y))
(*.f64 (fabs.f64 y) (fabs.f64 y))
(pow.f64 y #s(literal 2 binary64))
y

eval2.0ms (0.1%)

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

Compiled 218 to 55 computations (74.8% saved)

prune1.0ms (0%)

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

1 alts after pruning (1 fresh and 0 done)

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

Compiled 6 to 4 computations (33.3% saved)

series155.0ms (7.5%)

Memory
-33.4MiB live, 114.0MiB allocated; 35ms collecting garbage
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:

TimeVariablePoint
1.0ms
x
-inf
1.0ms
x
inf
0.0ms
y
inf
0.0ms
y
-inf
0.0ms
x
0

rewrite212.0ms (10.3%)

Memory
29.6MiB live, 107.8MiB allocated; 44ms collecting garbage
Counts
4 → 16
Calls
Call 1
Inputs
(fma.f64 y y (*.f64 x x))
y
(*.f64 x x)
x
Outputs
(+.f64 (*.f64 y y) (*.f64 x x))
(+.f64 (*.f64 x x) (*.f64 y y))
(-.f64 (*.f64 y y) (neg.f64 (*.f64 x x)))
(-.f64 (*.f64 y y) (*.f64 (neg.f64 x) x))
(fma.f64 y y (*.f64 x x))
(fma.f64 (neg.f64 y) (neg.f64 y) (*.f64 x x))
(fma.f64 (fabs.f64 y) (fabs.f64 y) (*.f64 x x))
(fma.f64 (neg.f64 x) (neg.f64 x) (*.f64 y y))
(fma.f64 (fabs.f64 x) (fabs.f64 x) (*.f64 y y))
(fma.f64 x x (*.f64 y y))
y
(*.f64 x x)
(*.f64 (neg.f64 x) (neg.f64 x))
(*.f64 (fabs.f64 x) (fabs.f64 x))
(pow.f64 x #s(literal 2 binary64))
x

eval3.0ms (0.2%)

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

Compiled 188 to 49 computations (73.9% saved)

prune2.0ms (0.1%)

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

1 alts after pruning (0 fresh and 1 done)

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

Compiled 6 to 4 computations (33.3% saved)

regimes10.0ms (0.5%)

Memory
13.6MiB live, 13.6MiB 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:

2.0ms
y
2.0ms
(*.f64 y y)
2.0ms
(*.f64 x x)
2.0ms
(+.f64 (*.f64 x x) (*.f64 y y))
1.0ms
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 28 to 21 computations (25% saved)

derivations1.0ms (0%)

Memory
0.3MiB live, 0.3MiB allocated; 0ms collecting garbage
Stop Event
done
Compiler

Compiled 6 to 4 computations (33.3% saved)

preprocess122.0ms (5.9%)

Memory
-48.4MiB live, 19.4MiB allocated; 67ms collecting garbage
Remove

(sort x y)

(abs y)

(abs x)

Compiler

Compiled 49 to 33 computations (32.7% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...