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.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 11 to 9 computations (18.2% saved)

sample572.0ms (40.6%)

Memory
-22.8MiB live, 756.2MiB allocated; 179ms collecting garbage
Samples
382.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 237.0ms
ival-mult!: 186.0ms (78.4% of total)
ival-add!: 50.0ms (21.1% of total)
adjust: 1.0ms (0.4% of total)
Bogosity

preprocess120.0ms (8.6%)

Memory
-29.7MiB live, 64.3MiB allocated; 23ms 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)

series138.0ms (9.8%)

Memory
21.7MiB live, 50.6MiB allocated; 36ms 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
-inf
1.0ms
x
0
1.0ms
y
-inf

rewrite155.0ms (11%)

Memory
51.8MiB live, 80.2MiB allocated; 34ms 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

eval6.0ms (0.4%)

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

Compiled 488 to 119 computations (75.6% saved)

prune53.0ms (3.8%)

Memory
-67.5MiB live, 19.7MiB allocated; 58ms 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)

series134.0ms (9.5%)

Memory
5.1MiB live, 94.2MiB allocated; 25ms 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
2.0ms
x
-inf
2.0ms
y
-inf
1.0ms
x
inf
1.0ms
y
inf
1.0ms
x
0

rewrite184.0ms (13.1%)

Memory
8.7MiB live, 95.0MiB allocated; 62ms 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))

eval7.0ms (0.5%)

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

Compiled 636 to 158 computations (75.2% saved)

prune4.0ms (0.3%)

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

regimes19.0ms (1.4%)

Memory
-28.9MiB live, 24.1MiB 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
x
3.0ms
y
3.0ms
(*.f64 #s(literal 2 binary64) (+.f64 (*.f64 x x) (*.f64 x y)))
2.0ms
x
2.0ms
(+.f64 (*.f64 x x) (*.f64 x 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%)

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

Compiled 20 to 12 computations (40% saved)

preprocess13.0ms (1%)

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