math.arg on complex

Time bar (total: 601.0ms)

analyze1.0ms (0.2%)

Memory
2.2MiB live, 2.2MiB allocated
Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%99.9%0.1%0%0%0%0
0%0%99.9%0.1%0%0%0%1
50%50%50%0.1%0%0%0%2
75%74.9%25%0.1%0%0%0%3
87.5%87.4%12.5%0.1%0%0%0%4
93.8%93.7%6.2%0.1%0%0%0%5
96.9%96.8%3.1%0.1%0%0%0%6
98.4%98.3%1.6%0.1%0%0%0%7
99.2%99.1%0.8%0.1%0%0%0%8
99.6%99.5%0.4%0.1%0%0%0%9
99.8%99.7%0.2%0.1%0%0%0%10
99.9%99.8%0.1%0.1%0%0%0%11
100%99.9%0%0.1%0%0%0%12
Compiler

Compiled 5 to 5 computations (0% saved)

sample473.0ms (78.7%)

Memory
30.2MiB live, 947.4MiB allocated
Samples
282.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 115.0ms
ival-atan2: 105.0ms (91.2% of total)
ival-true: 6.0ms (5.2% of total)
ival-assert: 4.0ms (3.5% of total)
Bogosity

preprocess16.0ms (2.6%)

Memory
-2.1MiB live, 36.4MiB allocated
Algorithm
egg-herbie
Rules
24×sub-neg
16×+-commutative
*-commutative
associate--r+
--rgt-identity
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0921
11921
22721
33221
44021
55321
66421
033
043
043
Stop Event
iter limit
saturated
iter limit
saturated
Calls
Call 1
Inputs
(atan2.f64 im re)
Outputs
(atan2.f64 im re)

explain36.0ms (5.9%)

Memory
-8.3MiB live, 73.8MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
00-0-re
00-0-(atan2.f64 im re)
00-0-im
Confusion
Predicted +Predicted -
+00
-0256
Precision
0/0
Recall
0/0
Confusion?
Predicted +Predicted MaybePredicted -
+000
-00256
Precision?
0/0
Recall?
0/0
Freqs
test
numberfreq
0256
Total Confusion?
Predicted +Predicted MaybePredicted -
+000
-001
Precision?
0/0
Recall?
0/0
Samples
17.0ms512×0valid
Compiler

Compiled 24 to 16 computations (33.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 6.0ms
ival-atan2: 6.0ms (97.3% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

eval0.0ms (0%)

Memory
0.4MiB live, 0.4MiB allocated
Compiler

Compiled 2 to 2 computations (0% saved)

prune1.0ms (0.1%)

Memory
1.5MiB live, 1.5MiB allocated
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(atan2.f64 im re)
Compiler

Compiled 5 to 3 computations (40% saved)

simplify4.0ms (0.6%)

Memory
7.7MiB live, 7.7MiB allocated
Algorithm
egg-herbie
Localize:

Found 1 expressions of interest:

NewMetricScoreProgram
cost-diff0
(atan2.f64 im re)
Rules
lower-atan2.f32
lift-atan2.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
035
045
045
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
(atan2.f64 im re)
im
re
Outputs
(atan2.f64 im re)
im
re

localize16.0ms (2.7%)

Memory
-9.0MiB live, 26.0MiB allocated
Localize:

Found 1 expressions of interest:

NewMetricScoreProgram
accuracy100.0%
(atan2.f64 im re)
Samples
8.0ms256×0valid
Compiler

Compiled 7 to 5 computations (28.6% saved)

Precisions
Click to see histograms. Total time spent on operations: 3.0ms
ival-atan2: 2.0ms (73.2% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series0.0ms (0.1%)

Memory
1.1MiB live, 1.1MiB allocated
Counts
1 → 24
Calls
Call 1
Inputs
#<alt (atan2.f64 im re)>
Outputs
#<alt (atan2 im re)>
#<alt (atan2 im re)>
#<alt (atan2 im re)>
#<alt (atan2 im re)>
#<alt (atan2 im re)>
#<alt (atan2 im re)>
#<alt (atan2 im re)>
#<alt (atan2 im re)>
#<alt (atan2 im re)>
#<alt (atan2 im re)>
#<alt (atan2 im re)>
#<alt (atan2 im re)>
#<alt (atan2 im re)>
#<alt (atan2 im re)>
#<alt (atan2 im re)>
#<alt (atan2 im re)>
#<alt (atan2 im re)>
#<alt (atan2 im re)>
#<alt (atan2 im re)>
#<alt (atan2 im re)>
#<alt (atan2 im re)>
#<alt (atan2 im re)>
#<alt (atan2 im re)>
#<alt (atan2 im re)>
Calls

6 calls:

TimeVariablePointExpression
0.0ms
im
@0
(atan2 im re)
0.0ms
im
@-inf
(atan2 im re)
0.0ms
re
@-inf
(atan2 im re)
0.0ms
im
@inf
(atan2 im re)
0.0ms
re
@inf
(atan2 im re)

rewrite19.0ms (3.1%)

Memory
4.0MiB live, 42.1MiB allocated
Algorithm
batch-egg-rewrite
Rules
lift-atan2.f64
lower-atan2.f32
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
033
043
043
Stop Event
iter limit
saturated
iter limit
Counts
1 → 1
Calls
Call 1
Inputs
(atan2.f64 im re)
Outputs
(atan2.f64 im re)

simplify3.0ms (0.5%)

Memory
8.1MiB live, 8.0MiB allocated
Algorithm
egg-herbie
Rules
lower-atan2.f64
lower-atan2.f32
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0372
0372
Stop Event
iter limit
saturated
Counts
24 → 24
Calls
Call 1
Inputs
(atan2 im re)
(atan2 im re)
(atan2 im re)
(atan2 im re)
(atan2 im re)
(atan2 im re)
(atan2 im re)
(atan2 im re)
(atan2 im re)
(atan2 im re)
(atan2 im re)
(atan2 im re)
(atan2 im re)
(atan2 im re)
(atan2 im re)
(atan2 im re)
(atan2 im re)
(atan2 im re)
(atan2 im re)
(atan2 im re)
(atan2 im re)
(atan2 im re)
(atan2 im re)
(atan2 im re)
Outputs
(atan2 im re)
(atan2.f64 im re)
(atan2 im re)
(atan2.f64 im re)
(atan2 im re)
(atan2.f64 im re)
(atan2 im re)
(atan2.f64 im re)
(atan2 im re)
(atan2.f64 im re)
(atan2 im re)
(atan2.f64 im re)
(atan2 im re)
(atan2.f64 im re)
(atan2 im re)
(atan2.f64 im re)
(atan2 im re)
(atan2.f64 im re)
(atan2 im re)
(atan2.f64 im re)
(atan2 im re)
(atan2.f64 im re)
(atan2 im re)
(atan2.f64 im re)
(atan2 im re)
(atan2.f64 im re)
(atan2 im re)
(atan2.f64 im re)
(atan2 im re)
(atan2.f64 im re)
(atan2 im re)
(atan2.f64 im re)
(atan2 im re)
(atan2.f64 im re)
(atan2 im re)
(atan2.f64 im re)
(atan2 im re)
(atan2.f64 im re)
(atan2 im re)
(atan2.f64 im re)
(atan2 im re)
(atan2.f64 im re)
(atan2 im re)
(atan2.f64 im re)
(atan2 im re)
(atan2.f64 im re)
(atan2 im re)
(atan2.f64 im re)

eval5.0ms (0.8%)

Memory
-29.7MiB live, 9.0MiB allocated
Compiler

Compiled 77 to 3 computations (96.1% saved)

prune1.0ms (0.1%)

Memory
2.7MiB live, 2.7MiB allocated
Pruning

1 alts after pruning (0 fresh and 1 done)

PrunedKeptTotal
New25025
Fresh000
Picked011
Done000
Total25126
Accuracy
100.0%
Counts
26 → 1
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(atan2.f64 im re)
Compiler

Compiled 10 to 6 computations (40% saved)

simplify5.0ms (0.8%)

Memory
15.3MiB live, 15.3MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
033
Stop Event
saturated
Calls
Call 1
Inputs
(atan2.f64 im re)
Outputs
(atan2.f64 im re)

soundness0.0ms (0%)

Memory
0.9MiB live, 0.9MiB allocated
Stop Event
done
Compiler

Compiled 5 to 3 computations (40% saved)

preprocess21.0ms (3.6%)

Memory
-27.3MiB live, 55.9MiB allocated
Compiler

Compiled 20 to 12 computations (40% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...