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

Time bar (total: 5.7s)

start0.0ms (0%)

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

analyze0.0ms (0%)

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

sample664.0ms (11.6%)

Memory
-25.6MiB live, 173.7MiB allocated; 89ms collecting garbage
Samples
473.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 104.0ms
ival-mult!: 86.0ms (82.4% of total)
ival-add!: 17.0ms (16.3% of total)
adjust: 1.0ms (1% of total)
Bogosity

preprocess153.0ms (2.7%)

Memory
9.1MiB live, 9.1MiB allocated; 0ms 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)

series193.0ms (3.4%)

Memory
28.8MiB live, 28.8MiB allocated; 0ms 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:

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)

rewrite2.4s (41.1%)

Memory
-28.7MiB live, 1 024.9MiB allocated; 371ms collecting garbage
Counts
5 → 63
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 y y) (neg.f64 (*.f64 x x)))
(-.f64 (*.f64 x x) (neg.f64 (*.f64 y y)))
(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))
(fma.f64 (neg.f64 (fabs.f64 y)) (neg.f64 (fabs.f64 y)) (*.f64 x x))
(fma.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)) (*.f64 y y))
(neg.f64 (neg.f64 (fma.f64 x x (*.f64 y y))))
(*.f64 x x)
(*.f64 (fabs.f64 x) (fabs.f64 x))
(*.f64 (neg.f64 x) (neg.f64 x))
(*.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)))
(fabs.f64 (*.f64 x x))
(fabs.f64 (neg.f64 (*.f64 x x)))
(fabs.f64 (*.f64 (fabs.f64 x) (neg.f64 x)))
(fabs.f64 (*.f64 (fabs.f64 x) x))
(neg.f64 (neg.f64 (*.f64 x x)))
(pow.f64 x #s(literal 2 binary64))
(pow.f64 (*.f64 x x) (+.f64 #s(literal 1/2 binary64) #s(literal 1/2 binary64)))
(pow.f64 (*.f64 x x) #s(literal 1 binary64))
(pow.f64 (fabs.f64 x) #s(literal 2 binary64))
(pow.f64 (neg.f64 x) #s(literal 2 binary64))
(pow.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal 1/2 binary64))
(pow.f64 (*.f64 (*.f64 x x) (*.f64 x x)) (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)))
(pow.f64 (*.f64 (*.f64 x x) (*.f64 x x)) (+.f64 (/.f64 #s(literal 1/2 binary64) #s(literal 2 binary64)) (/.f64 #s(literal 1/2 binary64) #s(literal 2 binary64))))
(pow.f64 (*.f64 (*.f64 x x) (*.f64 x x)) (/.f64 (+.f64 #s(literal 1/2 binary64) #s(literal 1/2 binary64)) #s(literal 2 binary64)))
(pow.f64 (*.f64 (*.f64 x x) (*.f64 x x)) (*.f64 #s(literal 2 binary64) (/.f64 #s(literal 1/2 binary64) #s(literal 2 binary64))))
(pow.f64 (neg.f64 (fabs.f64 x)) #s(literal 2 binary64))
(pow.f64 (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) (*.f64 (*.f64 x x) (*.f64 x x))) (/.f64 #s(literal 1/2 binary64) #s(literal 2 binary64)))
(pow.f64 (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) (*.f64 (*.f64 x x) (*.f64 x x))) (/.f64 (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)) #s(literal 2 binary64)))
(sqrt.f64 (*.f64 (*.f64 x x) (*.f64 x x)))
x
(neg.f64 (neg.f64 x))
(*.f64 y y)
(*.f64 (fabs.f64 y) (fabs.f64 y))
(*.f64 (neg.f64 y) (neg.f64 y))
(*.f64 (neg.f64 (fabs.f64 y)) (neg.f64 (fabs.f64 y)))
(fabs.f64 (*.f64 y y))
(fabs.f64 (neg.f64 (*.f64 y y)))
(fabs.f64 (*.f64 (fabs.f64 y) (neg.f64 y)))
(fabs.f64 (*.f64 (fabs.f64 y) y))
(neg.f64 (neg.f64 (*.f64 y y)))
(pow.f64 y #s(literal 2 binary64))
(pow.f64 (*.f64 y y) (+.f64 #s(literal 1/2 binary64) #s(literal 1/2 binary64)))
(pow.f64 (*.f64 y y) #s(literal 1 binary64))
(pow.f64 (fabs.f64 y) #s(literal 2 binary64))
(pow.f64 (neg.f64 y) #s(literal 2 binary64))
(pow.f64 (*.f64 (*.f64 y y) (*.f64 y y)) #s(literal 1/2 binary64))
(pow.f64 (*.f64 (*.f64 y y) (*.f64 y y)) (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)))
(pow.f64 (*.f64 (*.f64 y y) (*.f64 y y)) (+.f64 (/.f64 #s(literal 1/2 binary64) #s(literal 2 binary64)) (/.f64 #s(literal 1/2 binary64) #s(literal 2 binary64))))
(pow.f64 (*.f64 (*.f64 y y) (*.f64 y y)) (/.f64 (+.f64 #s(literal 1/2 binary64) #s(literal 1/2 binary64)) #s(literal 2 binary64)))
(pow.f64 (*.f64 (*.f64 y y) (*.f64 y y)) (*.f64 #s(literal 2 binary64) (/.f64 #s(literal 1/2 binary64) #s(literal 2 binary64))))
(pow.f64 (neg.f64 (fabs.f64 y)) #s(literal 2 binary64))
(pow.f64 (*.f64 (*.f64 (*.f64 y y) (*.f64 y y)) (*.f64 (*.f64 y y) (*.f64 y y))) (/.f64 #s(literal 1/2 binary64) #s(literal 2 binary64)))
(pow.f64 (*.f64 (*.f64 (*.f64 y y) (*.f64 y y)) (*.f64 (*.f64 y y) (*.f64 y y))) (/.f64 (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)) #s(literal 2 binary64)))
(sqrt.f64 (*.f64 (*.f64 y y) (*.f64 y y)))
y
(neg.f64 (neg.f64 y))

eval6.0ms (0.1%)

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

Compiled 334 to 159 computations (52.4% saved)

prune2.0ms (0%)

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

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New64165
Fresh000
Picked101
Done000
Total65166
Accuracy
100.0%
Counts
66 → 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)

series190.0ms (3.3%)

Memory
9.2MiB live, 58.5MiB allocated; 21ms 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:

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)

rewrite2.1s (37.4%)

Memory
-14.1MiB live, 1 265.1MiB allocated; 254ms collecting garbage
Counts
4 → 40
Calls
Call 1
Inputs
(fma.f64 y y (*.f64 x x))
y
(*.f64 x x)
x
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 y y) (neg.f64 (*.f64 x x)))
(fma.f64 y 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 (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))
(neg.f64 (neg.f64 (fma.f64 y y (*.f64 x x))))
y
(neg.f64 (neg.f64 y))
(*.f64 x x)
(*.f64 (fabs.f64 x) (fabs.f64 x))
(*.f64 (neg.f64 x) (neg.f64 x))
(*.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)))
(fabs.f64 (*.f64 x x))
(fabs.f64 (neg.f64 (*.f64 x x)))
(fabs.f64 (*.f64 (fabs.f64 x) (neg.f64 x)))
(fabs.f64 (*.f64 (fabs.f64 x) x))
(neg.f64 (neg.f64 (*.f64 x x)))
(pow.f64 x #s(literal 2 binary64))
(pow.f64 (*.f64 x x) (+.f64 #s(literal 1/2 binary64) #s(literal 1/2 binary64)))
(pow.f64 (*.f64 x x) #s(literal 1 binary64))
(pow.f64 (fabs.f64 x) #s(literal 2 binary64))
(pow.f64 (neg.f64 x) #s(literal 2 binary64))
(pow.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal 1/2 binary64))
(pow.f64 (*.f64 (*.f64 x x) (*.f64 x x)) (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)))
(pow.f64 (*.f64 (*.f64 x x) (*.f64 x x)) (+.f64 (/.f64 #s(literal 1/2 binary64) #s(literal 2 binary64)) (/.f64 #s(literal 1/2 binary64) #s(literal 2 binary64))))
(pow.f64 (*.f64 (*.f64 x x) (*.f64 x x)) (/.f64 (+.f64 #s(literal 1/2 binary64) #s(literal 1/2 binary64)) #s(literal 2 binary64)))
(pow.f64 (*.f64 (*.f64 x x) (*.f64 x x)) (*.f64 #s(literal 2 binary64) (/.f64 #s(literal 1/2 binary64) #s(literal 2 binary64))))
(pow.f64 (neg.f64 (fabs.f64 x)) #s(literal 2 binary64))
(pow.f64 (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) (*.f64 (*.f64 x x) (*.f64 x x))) (/.f64 #s(literal 1/2 binary64) #s(literal 2 binary64)))
(pow.f64 (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) (*.f64 (*.f64 x x) (*.f64 x x))) (/.f64 (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)) #s(literal 2 binary64)))
(sqrt.f64 (*.f64 (*.f64 x x) (*.f64 x x)))
x
(neg.f64 (neg.f64 x))

eval5.0ms (0.1%)

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

Compiled 220 to 111 computations (49.5% saved)

prune2.0ms (0%)

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

1 alts after pruning (0 fresh and 1 done)

PrunedKeptTotal
New43043
Fresh000
Picked011
Done000
Total43144
Accuracy
100.0%
Counts
44 → 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.1%)

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

Total -0.0b remaining (-∞%)

Threshold costs -0b (-∞%)

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 y y)
1.0ms
(+.f64 (*.f64 x x) (*.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)

derivations0.0ms (0%)

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

Compiled 4 to 4 computations (0% saved)

preprocess10.0ms (0.2%)

Memory
19.5MiB live, 19.5MiB 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...