Linear.Matrix:fromQuaternion from linear-1.19.1.3, B

Time bar (total: 1.4s)

start0.0ms (0%)

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

analyze0.0ms (0%)

Memory
0.4MiB live, 0.4MiB 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 11 to 9 computations (18.2% saved)

sample729.0ms (50.6%)

Memory
-60.9MiB live, 1 092.0MiB allocated; 292ms collecting garbage
Samples
493.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 205.0ms
ival-mult!: 186.0ms (90.7% of total)
ival-add!: 17.0ms (8.3% of total)
adjust: 1.0ms (0.5% of total)
Bogosity

preprocess115.0ms (8%)

Memory
-15.7MiB live, 75.3MiB allocated; 27ms collecting garbage
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
02246
110642
245542
3169042
4618042
Stop Event
node-limit
Alt Table
Click to see full alt table
StatusAccuracyProgram
95.7%
(*.f64 #s(literal 2 binary64) (+.f64 (*.f64 x x) (*.f64 x y)))
Compiler

Compiled 18 to 14 computations (22.2% saved)

series115.0ms (8%)

Memory
-2.6MiB live, 102.4MiB allocated; 40ms collecting garbage
Counts
7 → 16
Calls
Call 1
Inputs
(*.f64 #s(literal 2 binary64) (+.f64 (*.f64 x x) (*.f64 x y)))
#s(literal 2 binary64)
(+.f64 (*.f64 x x) (*.f64 x y))
(*.f64 x x)
x
(*.f64 x y)
y
Outputs
#s(approx (* 2 (+ (* x x) (* x y))) (*.f64 #s(literal 2 binary64) (*.f64 x y)))
#s(approx (* 2 (+ (* x x) (* x y))) (*.f64 x (fma.f64 #s(literal 2 binary64) x (*.f64 #s(literal 2 binary64) y))))
#s(approx (+ (* x x) (* x y)) (*.f64 x y))
#s(approx (+ (* x x) (* x y)) (*.f64 x (+.f64 x y)))
#s(approx (* x x) (pow.f64 x #s(literal 2 binary64)))
#s(approx x x)
#s(approx (* 2 (+ (* x x) (* x y))) (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 2 binary64))))
#s(approx (* 2 (+ (* x x) (* x y))) (*.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 2 binary64) (*.f64 #s(literal 2 binary64) (/.f64 y x)))))
#s(approx (+ (* x x) (* x y)) (*.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 1 binary64) (/.f64 y x))))
#s(approx (* 2 (+ (* x x) (* x y))) (fma.f64 #s(literal 2 binary64) (*.f64 x y) (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 2 binary64)))))
#s(approx (+ (* x x) (* x y)) (fma.f64 x y (pow.f64 x #s(literal 2 binary64))))
#s(approx y y)
#s(approx (* 2 (+ (* x x) (* x y))) (*.f64 y (fma.f64 #s(literal 2 binary64) x (*.f64 #s(literal 2 binary64) (/.f64 (pow.f64 x #s(literal 2 binary64)) y)))))
#s(approx (+ (* x x) (* x y)) (*.f64 y (+.f64 x (/.f64 (pow.f64 x #s(literal 2 binary64)) y))))
#s(approx (* 2 (+ (* x x) (* x y))) (*.f64 #s(literal -1 binary64) (*.f64 y (fma.f64 #s(literal -2 binary64) x (*.f64 #s(literal -2 binary64) (/.f64 (pow.f64 x #s(literal 2 binary64)) y))))))
#s(approx (+ (* x x) (* x y)) (*.f64 #s(literal -1 binary64) (*.f64 y (fma.f64 #s(literal -1 binary64) x (*.f64 #s(literal -1 binary64) (/.f64 (pow.f64 x #s(literal 2 binary64)) y))))))
Calls

6 calls:

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

rewrite157.0ms (10.9%)

Memory
20.1MiB live, 159.6MiB allocated; 39ms collecting garbage
Counts
7 → 28
Calls
Call 1
Inputs
(*.f64 #s(literal 2 binary64) (+.f64 (*.f64 x x) (*.f64 x y)))
#s(literal 2 binary64)
(+.f64 (*.f64 x x) (*.f64 x y))
(*.f64 x x)
x
(*.f64 x y)
y
Outputs
(*.f64 (*.f64 x (+.f64 x y)) #s(literal 2 binary64))
(*.f64 #s(literal 2 binary64) (*.f64 x (+.f64 x y)))
(+.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) (*.f64 (*.f64 x y) #s(literal 2 binary64)))
(+.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x)) (*.f64 #s(literal 2 binary64) (*.f64 x y)))
(+.f64 (*.f64 x (+.f64 x y)) (*.f64 x (+.f64 x y)))
(fma.f64 (*.f64 x x) #s(literal 2 binary64) (*.f64 (*.f64 x y) #s(literal 2 binary64)))
(fma.f64 #s(literal 2 binary64) (*.f64 x x) (*.f64 #s(literal 2 binary64) (*.f64 x y)))
(fma.f64 x (+.f64 x y) (*.f64 x (+.f64 x y)))
#s(literal 2 binary64)
(+.f64 #s(literal 1 binary64) #s(literal 1 binary64))
(*.f64 x (+.f64 x y))
(+.f64 (*.f64 x x) (*.f64 x y))
(+.f64 (*.f64 x y) (*.f64 x x))
(-.f64 (*.f64 x x) (neg.f64 (*.f64 x y)))
(-.f64 (*.f64 x x) (*.f64 (neg.f64 x) y))
(fma.f64 (fabs.f64 x) (fabs.f64 x) (*.f64 x y))
(fma.f64 (neg.f64 x) (neg.f64 x) (*.f64 x y))
(fma.f64 x y (*.f64 x x))
(fma.f64 y x (*.f64 x x))
(fma.f64 x x (*.f64 x y))
(*.f64 x x)
(*.f64 (fabs.f64 x) (fabs.f64 x))
(*.f64 (neg.f64 x) (neg.f64 x))
(pow.f64 x #s(literal 2 binary64))
x
(*.f64 x y)
(*.f64 y x)
y

eval4.0ms (0.2%)

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

Compiled 488 to 119 computations (75.6% saved)

prune2.0ms (0.1%)

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

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New35338
Fresh000
Picked101
Done000
Total36339
Accuracy
100.0%
Counts
39 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 (*.f64 x (+.f64 x y)) #s(literal 2 binary64))
96.1%
(*.f64 #s(literal 2 binary64) (fma.f64 x x (*.f64 x y)))
55.4%
(*.f64 #s(literal 2 binary64) #s(approx (+ (* x x) (* x y)) (*.f64 x y)))
Compiler

Compiled 28 to 21 computations (25% saved)

series115.0ms (7.9%)

Memory
-24.1MiB live, 113.6MiB allocated; 26ms collecting garbage
Counts
11 → 21
Calls
Call 1
Inputs
(*.f64 #s(literal 2 binary64) #s(approx (+ (* x x) (* x y)) (*.f64 x y)))
#s(literal 2 binary64)
#s(approx (+ (* x x) (* x y)) (*.f64 x y))
(*.f64 x y)
x
y
(*.f64 #s(literal 2 binary64) (fma.f64 x x (*.f64 x y)))
(fma.f64 x x (*.f64 x y))
(*.f64 (*.f64 x (+.f64 x y)) #s(literal 2 binary64))
(*.f64 x (+.f64 x y))
(+.f64 x y)
Outputs
#s(approx (* 2 (+ (* x x) (* x y))) (*.f64 #s(literal 2 binary64) (*.f64 x y)))
#s(approx (* 2 (+ (* x x) (* x y))) (*.f64 x (fma.f64 #s(literal 2 binary64) x (*.f64 #s(literal 2 binary64) y))))
#s(approx (+ (* x x) (* x y)) (*.f64 x y))
#s(approx (+ (* x x) (* x y)) (*.f64 x (+.f64 x y)))
#s(approx x x)
#s(approx (+ x y) y)
#s(approx (+ x y) (+.f64 x y))
#s(approx (* 2 (+ (* x x) (* x y))) (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 2 binary64))))
#s(approx (* 2 (+ (* x x) (* x y))) (*.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 2 binary64) (*.f64 #s(literal 2 binary64) (/.f64 y x)))))
#s(approx (+ (* x x) (* x y)) (pow.f64 x #s(literal 2 binary64)))
#s(approx (+ (* x x) (* x y)) (*.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 1 binary64) (/.f64 y x))))
#s(approx (+ x y) (*.f64 x (+.f64 #s(literal 1 binary64) (/.f64 y x))))
#s(approx (+ x y) (*.f64 #s(literal -1 binary64) (*.f64 x (-.f64 (*.f64 #s(literal -1 binary64) (/.f64 y x)) #s(literal 1 binary64)))))
#s(approx (* 2 (+ (* x x) (* x y))) (fma.f64 #s(literal 2 binary64) (*.f64 x y) (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 2 binary64)))))
#s(approx (+ (* x x) (* x y)) (fma.f64 x y (pow.f64 x #s(literal 2 binary64))))
#s(approx (* 2 (+ (* x x) (* x y))) (*.f64 y (fma.f64 #s(literal 2 binary64) x (*.f64 #s(literal 2 binary64) (/.f64 (pow.f64 x #s(literal 2 binary64)) y)))))
#s(approx (+ (* x x) (* x y)) (*.f64 y (+.f64 x (/.f64 (pow.f64 x #s(literal 2 binary64)) y))))
#s(approx (+ x y) (*.f64 y (+.f64 #s(literal 1 binary64) (/.f64 x y))))
#s(approx (* 2 (+ (* x x) (* x y))) (*.f64 #s(literal -1 binary64) (*.f64 y (fma.f64 #s(literal -2 binary64) x (*.f64 #s(literal -2 binary64) (/.f64 (pow.f64 x #s(literal 2 binary64)) y))))))
#s(approx (+ (* x x) (* x y)) (*.f64 #s(literal -1 binary64) (*.f64 y (fma.f64 #s(literal -1 binary64) x (*.f64 #s(literal -1 binary64) (/.f64 (pow.f64 x #s(literal 2 binary64)) y))))))
#s(approx (+ x y) (*.f64 #s(literal -1 binary64) (*.f64 y (-.f64 (*.f64 #s(literal -1 binary64) (/.f64 x y)) #s(literal 1 binary64)))))
Calls

6 calls:

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

rewrite157.0ms (10.9%)

Memory
-3.7MiB live, 188.5MiB allocated; 21ms collecting garbage
Counts
11 → 53
Calls
Call 1
Inputs
(*.f64 #s(literal 2 binary64) #s(approx (+ (* x x) (* x y)) (*.f64 x y)))
#s(literal 2 binary64)
#s(approx (+ (* x x) (* x y)) (*.f64 x y))
(*.f64 x y)
x
y
(*.f64 #s(literal 2 binary64) (fma.f64 x x (*.f64 x y)))
(fma.f64 x x (*.f64 x y))
(*.f64 (*.f64 x (+.f64 x y)) #s(literal 2 binary64))
(*.f64 x (+.f64 x y))
(+.f64 x y)
Outputs
(*.f64 #s(literal 2 binary64) #s(approx (* x (+ x y)) (*.f64 x y)))
#s(literal 2 binary64)
(+.f64 #s(literal 1 binary64) #s(literal 1 binary64))
#s(approx (* x (+ x y)) (*.f64 x y))
(*.f64 x y)
(*.f64 y x)
x
y
(*.f64 (*.f64 x (+.f64 x y)) #s(literal 2 binary64))
(*.f64 x (*.f64 (+.f64 x y) #s(literal 2 binary64)))
(*.f64 #s(literal 2 binary64) (*.f64 x (+.f64 x y)))
(+.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) (*.f64 (*.f64 x y) #s(literal 2 binary64)))
(+.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x)) (*.f64 #s(literal 2 binary64) (*.f64 x y)))
(+.f64 (*.f64 x (+.f64 x y)) (*.f64 x (+.f64 x y)))
(fma.f64 (*.f64 x x) #s(literal 2 binary64) (*.f64 (*.f64 x y) #s(literal 2 binary64)))
(fma.f64 x (+.f64 x y) (*.f64 x (+.f64 x y)))
(fma.f64 (+.f64 x y) x (*.f64 x (+.f64 x y)))
(fma.f64 #s(literal 2 binary64) (*.f64 x x) (*.f64 #s(literal 2 binary64) (*.f64 x y)))
(*.f64 x (+.f64 x y))
(*.f64 (+.f64 x y) x)
(+.f64 (*.f64 x x) (*.f64 x y))
(+.f64 (*.f64 x y) (*.f64 x x))
(-.f64 (*.f64 x x) (neg.f64 (*.f64 x y)))
(-.f64 (*.f64 x x) (*.f64 (neg.f64 x) y))
(fma.f64 x x (*.f64 x y))
(fma.f64 (fabs.f64 x) (fabs.f64 x) (*.f64 x y))
(fma.f64 (neg.f64 x) (neg.f64 x) (*.f64 x y))
(fma.f64 x y (*.f64 x x))
(fma.f64 y x (*.f64 x x))
(*.f64 (*.f64 x (+.f64 x y)) #s(literal 2 binary64))
(*.f64 x (*.f64 (+.f64 x y) #s(literal 2 binary64)))
(*.f64 #s(literal 2 binary64) (*.f64 x (+.f64 x y)))
(+.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) (*.f64 (*.f64 x y) #s(literal 2 binary64)))
(+.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x)) (*.f64 #s(literal 2 binary64) (*.f64 x y)))
(+.f64 (*.f64 x (+.f64 x y)) (*.f64 x (+.f64 x y)))
(fma.f64 (*.f64 x x) #s(literal 2 binary64) (*.f64 (*.f64 x y) #s(literal 2 binary64)))
(fma.f64 x (+.f64 x y) (*.f64 x (+.f64 x y)))
(fma.f64 (+.f64 x y) x (*.f64 x (+.f64 x y)))
(fma.f64 #s(literal 2 binary64) (*.f64 x x) (*.f64 #s(literal 2 binary64) (*.f64 x y)))
(*.f64 x (+.f64 x y))
(*.f64 (+.f64 x y) x)
(+.f64 (*.f64 x x) (*.f64 x y))
(+.f64 (*.f64 x y) (*.f64 x x))
(-.f64 (*.f64 x x) (neg.f64 (*.f64 x y)))
(-.f64 (*.f64 x x) (*.f64 (neg.f64 x) y))
(fma.f64 x x (*.f64 x y))
(fma.f64 (fabs.f64 x) (fabs.f64 x) (*.f64 x y))
(fma.f64 (neg.f64 x) (neg.f64 x) (*.f64 x y))
(fma.f64 x y (*.f64 x x))
(fma.f64 y x (*.f64 x x))
(+.f64 x y)
(+.f64 y x)
(-.f64 x (neg.f64 y))

eval5.0ms (0.3%)

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

Compiled 636 to 158 computations (75.2% saved)

prune3.0ms (0.2%)

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

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New50050
Fresh000
Picked033
Done000
Total50353
Accuracy
100.0%
Counts
53 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 (*.f64 x (+.f64 x y)) #s(literal 2 binary64))
96.1%
(*.f64 #s(literal 2 binary64) (fma.f64 x x (*.f64 x y)))
55.4%
(*.f64 #s(literal 2 binary64) #s(approx (+ (* x x) (* x y)) (*.f64 x y)))
Compiler

Compiled 28 to 21 computations (25% saved)

regimes17.0ms (1.2%)

Memory
-11.2MiB live, 40.0MiB allocated; 3ms collecting garbage
Accuracy

Total -0.0b remaining (-0%)

Threshold costs -0b (-0%)

Counts
1 → 1
4 → 1
Calls
Call 1
Inputs
(*.f64 #s(literal 2 binary64) #s(approx (+ (* x x) (* x y)) (*.f64 x y)))
Outputs
(*.f64 #s(literal 2 binary64) #s(approx (+ (* x x) (* x y)) (*.f64 x y)))
Call 2
Inputs
(*.f64 #s(literal 2 binary64) #s(approx (+ (* x x) (* x y)) (*.f64 x y)))
(*.f64 (*.f64 x (+.f64 x y)) #s(literal 2 binary64))
(*.f64 #s(literal 2 binary64) (fma.f64 x x (*.f64 x y)))
(*.f64 #s(literal 2 binary64) (+.f64 (*.f64 x x) (*.f64 x y)))
Outputs
(*.f64 (*.f64 x (+.f64 x y)) #s(literal 2 binary64))
Calls

8 calls:

3.0ms
y
2.0ms
x
2.0ms
(+.f64 (*.f64 x x) (*.f64 x y))
2.0ms
x
2.0ms
y
Results
AccuracySegmentsBranch
55.4%1(+.f64 (*.f64 x x) (*.f64 x y))
55.4%1(*.f64 #s(literal 2 binary64) (+.f64 (*.f64 x x) (*.f64 x y)))
55.4%1x
55.4%1y
100.0%1(+.f64 (*.f64 x x) (*.f64 x y))
100.0%1(*.f64 #s(literal 2 binary64) (+.f64 (*.f64 x x) (*.f64 x y)))
100.0%1x
100.0%1y
Compiler

Compiled 73 to 49 computations (32.9% saved)

derivations1.0ms (0.1%)

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

Compiled 20 to 12 computations (40% saved)

preprocess24.0ms (1.7%)

Memory
7.9MiB live, 54.2MiB allocated; 3ms collecting garbage
Compiler

Compiled 29 to 19 computations (34.5% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...