math.arg on complex

Time bar (total: 844.0ms)

start0.0ms (0%)

Memory
0.1MiB live, 0.0MiB allocated

analyze1.0ms (0.2%)

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

sample650.0ms (77.1%)

Memory
12.8MiB live, 883.1MiB allocated
Samples
463.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 258.0ms
ival-atan2: 248.0ms (96.2% of total)
ival-true: 6.0ms (2.3% of total)
ival-assert: 4.0ms (1.6% of total)
Bogosity

explain39.0ms (4.6%)

Memory
-18.5MiB live, 57.4MiB 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
21.0ms512×0valid
Compiler

Compiled 22 to 16 computations (27.3% saved)

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

preprocess12.0ms (1.4%)

Memory
23.4MiB live, 23.4MiB allocated
Algorithm
egg-herbie
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)
Compiler

Compiled 3 to 3 computations (0% saved)

eval0.0ms (0%)

Memory
0.3MiB live, 0.3MiB allocated
Compiler

Compiled 0 to 2 computations (-∞% saved)

prune0.0ms (0.1%)

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

Compiled 3 to 3 computations (0% saved)

simplify2.0ms (0.3%)

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

Found 1 expressions of interest:

NewMetricScoreProgram
cost-diff0
(atan2.f64 im re)
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

localize43.0ms (5.2%)

Memory
-30.6MiB live, 20.0MiB allocated
Localize:

Found 1 expressions of interest:

NewMetricScoreProgram
accuracy0
(atan2.f64 im re)
Samples
9.0ms256×0valid
Compiler

Compiled 12 to 8 computations (33.3% saved)

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

series1.0ms (0.1%)

Memory
1.2MiB live, 1.2MiB allocated
Counts
1 → 24
Calls
Call 1
Inputs
#s(alt (atan2.f64 im re) (patch (atan2.f64 im re) #<representation binary64>) () ())
Outputs
#s(alt (atan2 im re) (taylor 0 re) (#s(alt (atan2.f64 im re) (patch (atan2.f64 im re) #<representation binary64>) () ())) ())
#s(alt (atan2 im re) (taylor 0 re) (#s(alt (atan2.f64 im re) (patch (atan2.f64 im re) #<representation binary64>) () ())) ())
#s(alt (atan2 im re) (taylor 0 re) (#s(alt (atan2.f64 im re) (patch (atan2.f64 im re) #<representation binary64>) () ())) ())
#s(alt (atan2 im re) (taylor 0 re) (#s(alt (atan2.f64 im re) (patch (atan2.f64 im re) #<representation binary64>) () ())) ())
#s(alt (atan2 im re) (taylor inf re) (#s(alt (atan2.f64 im re) (patch (atan2.f64 im re) #<representation binary64>) () ())) ())
#s(alt (atan2 im re) (taylor inf re) (#s(alt (atan2.f64 im re) (patch (atan2.f64 im re) #<representation binary64>) () ())) ())
#s(alt (atan2 im re) (taylor inf re) (#s(alt (atan2.f64 im re) (patch (atan2.f64 im re) #<representation binary64>) () ())) ())
#s(alt (atan2 im re) (taylor inf re) (#s(alt (atan2.f64 im re) (patch (atan2.f64 im re) #<representation binary64>) () ())) ())
#s(alt (atan2 im re) (taylor -inf re) (#s(alt (atan2.f64 im re) (patch (atan2.f64 im re) #<representation binary64>) () ())) ())
#s(alt (atan2 im re) (taylor -inf re) (#s(alt (atan2.f64 im re) (patch (atan2.f64 im re) #<representation binary64>) () ())) ())
#s(alt (atan2 im re) (taylor -inf re) (#s(alt (atan2.f64 im re) (patch (atan2.f64 im re) #<representation binary64>) () ())) ())
#s(alt (atan2 im re) (taylor -inf re) (#s(alt (atan2.f64 im re) (patch (atan2.f64 im re) #<representation binary64>) () ())) ())
#s(alt (atan2 im re) (taylor 0 im) (#s(alt (atan2.f64 im re) (patch (atan2.f64 im re) #<representation binary64>) () ())) ())
#s(alt (atan2 im re) (taylor 0 im) (#s(alt (atan2.f64 im re) (patch (atan2.f64 im re) #<representation binary64>) () ())) ())
#s(alt (atan2 im re) (taylor 0 im) (#s(alt (atan2.f64 im re) (patch (atan2.f64 im re) #<representation binary64>) () ())) ())
#s(alt (atan2 im re) (taylor 0 im) (#s(alt (atan2.f64 im re) (patch (atan2.f64 im re) #<representation binary64>) () ())) ())
#s(alt (atan2 im re) (taylor inf im) (#s(alt (atan2.f64 im re) (patch (atan2.f64 im re) #<representation binary64>) () ())) ())
#s(alt (atan2 im re) (taylor inf im) (#s(alt (atan2.f64 im re) (patch (atan2.f64 im re) #<representation binary64>) () ())) ())
#s(alt (atan2 im re) (taylor inf im) (#s(alt (atan2.f64 im re) (patch (atan2.f64 im re) #<representation binary64>) () ())) ())
#s(alt (atan2 im re) (taylor inf im) (#s(alt (atan2.f64 im re) (patch (atan2.f64 im re) #<representation binary64>) () ())) ())
#s(alt (atan2 im re) (taylor -inf im) (#s(alt (atan2.f64 im re) (patch (atan2.f64 im re) #<representation binary64>) () ())) ())
#s(alt (atan2 im re) (taylor -inf im) (#s(alt (atan2.f64 im re) (patch (atan2.f64 im re) #<representation binary64>) () ())) ())
#s(alt (atan2 im re) (taylor -inf im) (#s(alt (atan2.f64 im re) (patch (atan2.f64 im re) #<representation binary64>) () ())) ())
#s(alt (atan2 im re) (taylor -inf im) (#s(alt (atan2.f64 im re) (patch (atan2.f64 im re) #<representation binary64>) () ())) ())
Calls

6 calls:

TimeVariablePointExpression
0.0ms
re
@-inf
((atan2 im re))
0.0ms
re
@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))

simplify2.0ms (0.3%)

Memory
3.5MiB live, 3.5MiB allocated
Algorithm
egg-herbie
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)

rewrite12.0ms (1.4%)

Memory
21.1MiB live, 21.1MiB allocated
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
#<batchref>

eval28.0ms (3.3%)

Memory
-30.9MiB live, 7.7MiB allocated
Compiler

Compiled 99 to 4 computations (96% saved)

prune2.0ms (0.2%)

Memory
7.4MiB live, 7.4MiB 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 6 to 6 computations (0% saved)

simplify23.0ms (2.8%)

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

soundness2.0ms (0.3%)

Memory
-37.0MiB live, 1.3MiB allocated
Stop Event
done
Compiler

Compiled 3 to 3 computations (0% saved)

preprocess24.0ms (2.9%)

Memory
29.0MiB live, 70.6MiB allocated
Compiler

Compiled 12 to 12 computations (0% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...