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

Time bar (total: 955.0ms)

analyze0.0ms (0%)

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 10 to 6 computations (40% saved)

Precisions
Click to see histograms. Total time spent on operations: 0.0ms
ival-add: 0.0ms (0% of total)
ival-mult: 0.0ms (0% of total)
const: 0.0ms (0% of total)
backward-pass: 0.0ms (0% of total)

sample758.0ms (79.4%)

Results
558.0ms8256×0valid
Precisions
Click to see histograms. Total time spent on operations: 275.0ms
ival-mult: 220.0ms (80% of total)
ival-add: 45.0ms (16.4% of total)
const: 7.0ms (2.5% of total)
backward-pass: 3.0ms (1.1% of total)
Bogosity

preprocess48.0ms (5.1%)

Algorithm
egg-herbie
Rules
68×fma-neg
31×fma-define
19×distribute-lft-neg-in
13×unsub-neg
13×neg-sub0
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
020197
147197
2100197
3226197
4312197
5339197
Stop Event
saturated
Calls
Call 1
Inputs
(+.f64 (*.f64 x x) (*.f64 y y))
(+.f64 (*.f64 x x) (*.f64 y y))
(+.f64 (*.f64 (neg.f64 x) (neg.f64 x)) (*.f64 y y))
(+.f64 (*.f64 x x) (*.f64 (neg.f64 y) (neg.f64 y)))
(neg.f64 (+.f64 (*.f64 (neg.f64 x) (neg.f64 x)) (*.f64 y y)))
(neg.f64 (+.f64 (*.f64 x x) (*.f64 (neg.f64 y) (neg.f64 y))))
(+.f64 (*.f64 y y) (*.f64 x x))
Outputs
(+.f64 (*.f64 x x) (*.f64 y y))
(fma.f64 x x (*.f64 y y))
(+.f64 (*.f64 x x) (*.f64 y y))
(fma.f64 x x (*.f64 y y))
(+.f64 (*.f64 (neg.f64 x) (neg.f64 x)) (*.f64 y y))
(fma.f64 x x (*.f64 y y))
(+.f64 (*.f64 x x) (*.f64 (neg.f64 y) (neg.f64 y)))
(fma.f64 x x (*.f64 y y))
(neg.f64 (+.f64 (*.f64 (neg.f64 x) (neg.f64 x)) (*.f64 y y)))
(neg.f64 (fma.f64 x x (*.f64 y y)))
(neg.f64 (+.f64 (*.f64 x x) (*.f64 (neg.f64 y) (neg.f64 y))))
(neg.f64 (fma.f64 x x (*.f64 y y)))
(+.f64 (*.f64 y y) (*.f64 x x))
(fma.f64 x x (*.f64 y y))
Symmetry

(abs x)

(abs y)

(sort x y)

explain64.0ms (6.7%)

FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
00-0-x
00-0-(*.f64 x x)
00-0-(*.f64 y y)
00-0-y
00-0-(+.f64 (*.f64 x x) (*.f64 y y))
Results
45.0ms512×0valid
Compiler

Compiled 45 to 17 computations (62.2% saved)

Precisions
Click to see histograms. Total time spent on operations: 11.0ms
ival-mult: 8.0ms (72.2% of total)
ival-add: 2.0ms (18.1% of total)
const: 0.0ms (0% of total)
backward-pass: 0.0ms (0% of total)

eval0.0ms (0%)

Compiler

Compiled 8 to 4 computations (50% saved)

prune1.0ms (0.1%)

Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(+.f64 (*.f64 x x) (*.f64 y y))
Compiler

Compiled 9 to 5 computations (44.4% saved)

localize53.0ms (5.6%)

Results
48.0ms256×0valid
Compiler

Compiled 18 to 6 computations (66.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 39.0ms
ival-mult: 38.0ms (97.4% of total)
ival-add: 1.0ms (2.6% of total)
const: 0.0ms (0% of total)
backward-pass: 0.0ms (0% of total)

eval0.0ms (0%)

Compiler

Compiled 2 to 2 computations (0% saved)

prune1.0ms (0.1%)

Pruning

1 alts after pruning (0 fresh and 1 done)

PrunedKeptTotal
New000
Fresh000
Picked011
Done000
Total011
Accuracy
100.0%
Counts
1 → 1
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(+.f64 (*.f64 x x) (*.f64 y y))
Compiler

Compiled 18 to 10 computations (44.4% saved)

simplify2.0ms (0.2%)

Algorithm
egg-herbie
Rules
+-commutative
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01031
11131
Stop Event
saturated
Calls
Call 1
Inputs
(+.f64 (*.f64 x x) (*.f64 y y))
Outputs
(+.f64 (*.f64 x x) (*.f64 y y))

soundness0.0ms (0%)

Stop Event
done
Compiler

Compiled 9 to 5 computations (44.4% saved)

preprocess27.0ms (2.9%)

Remove

(sort x y)

(abs y)

(abs x)

Compiler

Compiled 144 to 80 computations (44.4% saved)

end0.0ms (0%)

Profiling

Loading profile data...