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

Time bar (total: 1.2s)

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)

sample935.0ms (80.7%)

Results
540.0ms4685×body256valid
359.0ms3571×body256infinite
Bogosity

preprocess69.0ms (5.9%)

Algorithm
egg-herbie
Rules
182×fma-def
30×distribute-lft-neg-in
28×unsub-neg
26×neg-sub0
20×associate-*r*
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01575
13475
27575
315875
425175
528775
629575
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)))
(+.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))
(+.f64 (*.f64 y y) (*.f64 x x))
(fma.f64 x x (*.f64 y y))
Symmetry

(abs x)

(abs y)

(sort x y)

Compiler

Compiled 9 to 5 computations (44.4% saved)

eval1.0ms (0.1%)

Compiler

Compiled 8 to 4 computations (50% saved)

prune3.0ms (0.3%)

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

Compiled 18 to 10 computations (44.4% saved)

localize64.0ms (5.6%)

Compiler

Compiled 18 to 6 computations (66.7% saved)

eval0.0ms (0%)

Compiler

Compiled 2 to 2 computations (0% saved)

prune3.0ms (0.3%)

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)

simplify12.0ms (1%)

Algorithm
egg-herbie
Rules
+-commutative
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0719
1819
Stop Event
done
saturated
Calls
Call 1
Inputs
(+.f64 (*.f64 x x) (*.f64 y y))
Outputs
(+.f64 (*.f64 x x) (*.f64 y y))
Compiler

Compiled 9 to 5 computations (44.4% saved)

soundness0.0ms (0%)

end0.0ms (0%)

preprocess71.0ms (6.1%)

Remove

(sort x y)

(abs y)

(abs x)

Compiler

Compiled 90 to 50 computations (44.4% saved)

Profiling

Loading profile data...