Data.Approximate.Numerics:blog from approximate-0.2.2.1

Time bar (total: 1.1s)

start0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

analyze2.0ms (0.2%)

Memory
0.6MiB live, 0.6MiB allocated
Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%100%0%0%0%0%0
0%0%100%0%0%0%0%1
50%50%50%0%0%0%0%2
66.7%50%25%0%0%25%0%3
80%50%12.5%0%0%37.5%0%4
88.9%50%6.2%0%0%43.7%0%5
94.1%50%3.1%0%0%46.9%0%6
97%50%1.6%0%0%48.4%0%7
98.5%50%0.8%0%0%49.2%0%8
99.2%50%0.4%0%0%49.6%0%9
99.6%50%0.2%0%0%49.8%0%10
99.8%50%0.1%0%0%49.9%0%11
99.9%50%0%0%0%49.9%0%12
Compiler

Compiled 16 to 13 computations (18.8% saved)

sample97.0ms (9.1%)

Memory
0.8MiB live, 8.4MiB allocated
Samples
14.0ms260×0valid
Precisions
Click to see histograms. Total time spent on operations: 10.0ms
ival-mult: 3.0ms (30.4% of total)
ival-add: 2.0ms (20.3% of total)
ival-sqrt: 2.0ms (20.3% of total)
ival-sub: 1.0ms (10.1% of total)
ival-div: 1.0ms (10.1% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)
Bogosity

explain867.0ms (81.9%)

Memory
10.9MiB live, 750.5MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
20-0-(/.f64 (*.f64 #s(literal 6 binary64) (-.f64 x #s(literal 1 binary64))) (+.f64 (+.f64 x #s(literal 1 binary64)) (*.f64 #s(literal 4 binary64) (sqrt.f64 x))))
00-0-(+.f64 x #s(literal 1 binary64))
00-0-(sqrt.f64 x)
00-0-(*.f64 #s(literal 6 binary64) (-.f64 x #s(literal 1 binary64)))
00-0-#s(literal 1 binary64)
00-0-#s(literal 4 binary64)
00-0-#s(literal 6 binary64)
00-0-(-.f64 x #s(literal 1 binary64))
00-0-(+.f64 (+.f64 x #s(literal 1 binary64)) (*.f64 #s(literal 4 binary64) (sqrt.f64 x)))
00-0-x
00-0-(*.f64 #s(literal 4 binary64) (sqrt.f64 x))
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
/.f64(/.f64 (*.f64 #s(literal 6 binary64) (-.f64 x #s(literal 1 binary64))) (+.f64 (+.f64 x #s(literal 1 binary64)) (*.f64 #s(literal 4 binary64) (sqrt.f64 x))))o/n20
(*.f64 #s(literal 6 binary64) (-.f64 x #s(literal 1 binary64)))overflow2
Confusion
Predicted +Predicted -
+20
-0254
Precision
1.0
Recall
1.0
Confusion?
Predicted +Predicted MaybePredicted -
+200
-00254
Precision?
1.0
Recall?
1.0
2:
4:
8:
16:
32:
64:
128:
256:
512:
1024:
2048:
Freqs
test
numberfreq
0254
12
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Total Time
7.783935546875
Average Time
0.03040599822998047
Samples
187.0ms2 928×0valid
17.0ms96×2valid
6.0ms48×1valid
Compiler

Compiled 1 740 to 552 computations (68.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 129.0ms
ival-mult: 36.0ms (27.8% of total)
ival-add: 25.0ms (19.3% of total)
ival-sqrt: 20.0ms (15.5% of total)
ival-sub: 19.0ms (14.7% of total)
ival-div: 18.0ms (13.9% of total)
adjust: 5.0ms (3.9% of total)
exact: 4.0ms (3.1% of total)
ival-true: 2.0ms (1.5% of total)
ival-assert: 1.0ms (0.8% of total)

preprocess63.0ms (6%)

Memory
0.5MiB live, 7.9MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01335
13432
29430
329030
469130
5134530
6161630
7164330
8164530
01114
01814
13114
25214
35914
47914
511514
618414
729414
852714
980114
10134514
11159914
12162614
0162612
Stop Event
iter limit
saturated
iter limit
saturated
Calls
Call 1
Inputs
(/.f64 (*.f64 #s(literal 6 binary64) (-.f64 x #s(literal 1 binary64))) (+.f64 (+.f64 x #s(literal 1 binary64)) (*.f64 #s(literal 4 binary64) (sqrt.f64 x))))
Outputs
(/.f64 (*.f64 #s(literal 6 binary64) (-.f64 x #s(literal 1 binary64))) (+.f64 (+.f64 x #s(literal 1 binary64)) (*.f64 #s(literal 4 binary64) (sqrt.f64 x))))
(/.f64 (fma.f64 #s(literal -6 binary64) x #s(literal 6 binary64)) (-.f64 #s(literal -1 binary64) (fma.f64 (sqrt.f64 x) #s(literal 4 binary64) x)))
Compiler

Compiled 14 to 11 computations (21.4% saved)

eval0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated
Compiler

Compiled 0 to 1 computations (-∞% saved)

prune1.0ms (0.1%)

Memory
0.5MiB live, 0.5MiB allocated
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.1%
(/.f64 (*.f64 #s(literal 6 binary64) (-.f64 x #s(literal 1 binary64))) (+.f64 (+.f64 x #s(literal 1 binary64)) (*.f64 #s(literal 4 binary64) (sqrt.f64 x))))
Compiler

Compiled 28 to 22 computations (21.4% saved)

simplify27.0ms (2.6%)

Memory
-9.2MiB live, 18.5MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01114
12014
22414
32714
43014
53314
Stop Event
saturated
Calls
Call 1
Inputs
(/.f64 (*.f64 #s(literal 6 binary64) (-.f64 x #s(literal 1 binary64))) (+.f64 (+.f64 x #s(literal 1 binary64)) (*.f64 #s(literal 4 binary64) (sqrt.f64 x))))
Outputs
(/.f64 (*.f64 #s(literal 6 binary64) (-.f64 x #s(literal 1 binary64))) (+.f64 (+.f64 x #s(literal 1 binary64)) (*.f64 #s(literal 4 binary64) (sqrt.f64 x))))
(/.f64 (*.f64 (-.f64 x #s(literal 1 binary64)) #s(literal 6 binary64)) (+.f64 (*.f64 (sqrt.f64 x) #s(literal 4 binary64)) (+.f64 #s(literal 1 binary64) x)))

soundness0.0ms (0%)

Memory
0.2MiB live, 0.2MiB allocated
Stop Event
fuel
Compiler

Compiled 14 to 11 computations (21.4% saved)

preprocess2.0ms (0.2%)

Memory
1.2MiB live, 1.2MiB allocated
Compiler

Compiled 84 to 66 computations (21.4% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...