expm1 (example 3.7)

Time bar (total: 2.5s)

analyze0.0ms (0%)

Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%50%50%0%0%0%0
100%50%0%50%0%0%0%1
Compiler

Compiled 9 to 7 computations (22.2% saved)

Precisions
Click to see histograms. Total time spent on operations: 0.0ms
Operation ival-sub, time spent: 0.0ms, 0.0% of total-time
Operation ival-exp, time spent: 0.0ms, 0.0% of total-time
Operation ival-fabs, time spent: 0.0ms, 0.0% of total-time
Operation const, time spent: 0.0ms, 0.0% of total-time
Operation ival-<=, time spent: 0.0ms, 0.0% of total-time

sample2.1s (83.4%)

Results
1.3s4107×1024valid
347.0ms2135×512valid
205.0ms1750×256valid
84.0ms263×2048valid
0.0ms1024valid
Precisions
Click to see histograms. Total time spent on operations: 1.0s
Operation ival-exp, time spent: 586.0ms, 56.0% of total-time
Operation ival-sub, time spent: 184.0ms, 18.0% of total-time
Operation ival-fabs, time spent: 142.0ms, 14.0% of total-time
Operation ival-<=, time spent: 102.0ms, 10.0% of total-time
Operation const, time spent: 26.0ms, 3.0% of total-time
Bogosity

preprocess219.0ms (8.8%)

Algorithm
egg-herbie
Rules
1000×fma-define
820×associate--r+
652×distribute-lft-in
630×distribute-lft-out
588×distribute-neg-in
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
2521(-0.004617785274785227)0-(-.f64 (exp.f64 x) 1)
00-0-x
00-0-(exp.f64 x)
00-0-1
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
-.f64(-.f64 (exp.f64 x) 1)cancellation253
Confusion
Predicted +Predicted -
+2520
-13
Precision
0.9960474308300395
Recall
1.0
FPDebug
Click to see full error table
ptexpls
(-0.004617785274785227)(cancellation)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01344
12944
24844
37444
411944
523644
653944
7162144
8463944
Stop Event
node limit
Calls
Call 1
Inputs
(-.f64 (exp.f64 x) 1)
(-.f64 (exp.f64 x) 1)
(-.f64 (exp.f64 (neg.f64 x)) 1)
(neg.f64 (-.f64 (exp.f64 (neg.f64 x)) 1))
Outputs
(-.f64 (exp.f64 x) 1)
(expm1.f64 x)
(-.f64 (exp.f64 x) 1)
(expm1.f64 x)
(-.f64 (exp.f64 (neg.f64 x)) 1)
(expm1.f64 (neg.f64 x))
(neg.f64 (-.f64 (exp.f64 (neg.f64 x)) 1))
(neg.f64 (expm1.f64 (neg.f64 x)))
Compiler

Compiled 30 to 20 computations (33.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 41.0ms
Operation ival-exp, time spent: 31.0ms, 76.0% of total-time
Operation ival-sub, time spent: 8.0ms, 20.0% of total-time
Operation const, time spent: 3.0ms, 7.0% of total-time

eval0.0ms (0%)

Compiler

Compiled 3 to 2 computations (33.3% saved)

prune1.0ms (0%)

Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(expm1.f64 x)
Compiler

Compiled 3 to 2 computations (33.3% saved)

localize50.0ms (2%)

Compiler

Compiled 5 to 3 computations (40% saved)

Precisions
Click to see histograms. Total time spent on operations: 54.0ms
Operation composed, time spent: 28.0ms, 52.0% of total-time
Operation ival-exp, time spent: 22.0ms, 41.0% of total-time
Operation ival-sub, time spent: 4.0ms, 7.0% of total-time
Operation const, time spent: 1.0ms, 2.0% of total-time

eval0.0ms (0%)

Compiler

Compiled 1 to 1 computations (0% saved)

prune1.0ms (0%)

Pruning

1 alts after pruning (0 fresh and 1 done)

PrunedKeptTotal
New000
Fresh000
Picked011
Done000
Total011
Accuracy
100.0%
Counts
1 → 1
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(expm1.f64 x)
Compiler

Compiled 10 to 7 computations (30% saved)

regimes6.0ms (0.3%)

Accuracy

Total -57.8b remaining (-∞%)

Threshold costs -57.8b (-∞%)

Counts
2 → 1
Calls
Call 1
Inputs
(expm1.f64 x)
(-.f64 (exp.f64 x) 1)
Outputs
(expm1.f64 x)
Calls

3 calls:

3.0ms
x
2.0ms
(-.f64 (exp.f64 x) 1)
2.0ms
(exp.f64 x)
Results
AccuracySegmentsBranch
100.0%1x
100.0%1(-.f64 (exp.f64 x) 1)
100.0%1(exp.f64 x)
Compiler

Compiled 10 to 7 computations (30% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
068
Stop Event
done
saturated
Calls
Call 1
Inputs
(expm1.f64 x)
Outputs
(expm1.f64 x)
Compiler

Compiled 3 to 2 computations (33.3% saved)

soundness103.0ms (4.2%)

Rules
1000×fma-define
820×associate--r+
652×distribute-lft-in
630×distribute-lft-out
588×distribute-neg-in
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01344
12944
24844
37444
411944
523644
653944
7162144
8463944
Stop Event
node limit
Compiler

Compiled 7 to 5 computations (28.6% saved)

end0.0ms (0%)

preprocess27.0ms (1.1%)

Compiler

Compiled 22 to 16 computations (27.3% saved)

Profiling

Loading profile data...