Kahan's exp quotient

Time bar (total: 2.4s)

analyze2.0ms (0.1%)

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
75%75%25%0%0%0%0%3
87.5%87.5%12.5%0%0%0%0%4
93.8%93.7%6.2%0%0%0%0%5
96.9%96.8%3.1%0%0%0%0%6
98.4%98.4%1.6%0%0%0%0%7
99.2%99.2%0.8%0%0%0%0%8
99.6%99.6%0.4%0%0%0%0%9
99.8%99.8%0.2%0%0%0%0%10
99.9%99.9%0.1%0%0%0%0%11
100%99.9%0%0%0%0%0%12
Compiler

Compiled 8 to 6 computations (25% saved)

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

sample2.0s (84.1%)

Results
351.0ms2993×256valid
987.0ms2086×1024valid
285.0ms2049×256infinite
248.0ms987×512valid
43.0ms140×2048valid
0.0ms256valid
Precisions
Click to see histograms. Total time spent on operations: 929.0ms
Operation ival-exp, time spent: 642.0ms, 69.0% of total-time
Operation ival-div, time spent: 172.0ms, 19.0% of total-time
Operation ival-sub, time spent: 92.0ms, 10.0% of total-time
Operation const, time spent: 23.0ms, 2.0% of total-time
Bogosity

preprocess201.0ms (8.4%)

Algorithm
egg-herbie
Rules
318×fma-define
191×fma-neg
111×times-frac
97×div-sub
64×distribute-rgt-in
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
1220-0-(-.f64 (exp.f64 x) #s(literal 1 binary64))
00-0-x
00-0-(exp.f64 x)
00-0-(/.f64 (-.f64 (exp.f64 x) #s(literal 1 binary64)) x)
00-0-#s(literal 1 binary64)
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01588
14380
28880
324080
463080
597180
6134180
7158580
8165680
Stop Event
saturated
Calls
Call 1
Inputs
(/.f64 (-.f64 (exp.f64 x) #s(literal 1 binary64)) x)
(/.f64 (-.f64 (exp.f64 x) #s(literal 1 binary64)) x)
(/.f64 (-.f64 (exp.f64 (neg.f64 x)) #s(literal 1 binary64)) (neg.f64 x))
(neg.f64 (/.f64 (-.f64 (exp.f64 (neg.f64 x)) #s(literal 1 binary64)) (neg.f64 x)))
Outputs
(/.f64 (-.f64 (exp.f64 x) #s(literal 1 binary64)) x)
(/.f64 (expm1.f64 x) x)
(/.f64 (-.f64 (exp.f64 x) #s(literal 1 binary64)) x)
(/.f64 (expm1.f64 x) x)
(/.f64 (-.f64 (exp.f64 (neg.f64 x)) #s(literal 1 binary64)) (neg.f64 x))
(/.f64 (expm1.f64 (neg.f64 x)) (neg.f64 x))
(neg.f64 (/.f64 (-.f64 (exp.f64 (neg.f64 x)) #s(literal 1 binary64)) (neg.f64 x)))
(/.f64 (expm1.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)))
(/.f64 (expm1.f64 (neg.f64 x)) x)
Compiler

Compiled 39 to 23 computations (41% saved)

Precisions
Click to see histograms. Total time spent on operations: 48.0ms
Operation ival-div, time spent: 18.0ms, 38.0% of total-time
Operation ival-exp, time spent: 17.0ms, 36.0% of total-time
Operation ival-sub, time spent: 10.0ms, 21.0% of total-time
Operation const, time spent: 3.0ms, 6.0% of total-time

eval0.0ms (0%)

Compiler

Compiled 5 to 3 computations (40% saved)

prune1.0ms (0%)

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

Compiled 5 to 3 computations (40% saved)

localize45.0ms (1.9%)

Compiler

Compiled 9 to 4 computations (55.6% saved)

Precisions
Click to see histograms. Total time spent on operations: 30.0ms
Operation composed, time spent: 14.0ms, 47.0% of total-time
Operation ival-exp, time spent: 9.0ms, 30.0% of total-time
Operation ival-div, time spent: 4.0ms, 13.0% of total-time
Operation ival-sub, time spent: 3.0ms, 10.0% of total-time
Operation const, time spent: 1.0ms, 3.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%
(/.f64 (expm1.f64 x) x)
Compiler

Compiled 16 to 10 computations (37.5% saved)

regimes2.0ms (0.1%)

Accuracy

Total -28.8b remaining (-∞%)

Threshold costs -28.8b (-∞%)

Counts
2 → 1
Calls
Call 1
Inputs
(/.f64 (expm1.f64 x) x)
(/.f64 (-.f64 (exp.f64 x) #s(literal 1 binary64)) x)
Outputs
(/.f64 (expm1.f64 x) x)
Calls

2 calls:

1.0ms
x
1.0ms
(/.f64 (-.f64 (exp.f64 x) #s(literal 1 binary64)) x)
Results
AccuracySegmentsBranch
100.0%1x
100.0%1(/.f64 (-.f64 (exp.f64 x) #s(literal 1 binary64)) x)
Compiler

Compiled 9 to 6 computations (33.3% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

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

Compiled 5 to 3 computations (40% saved)

soundness89.0ms (3.7%)

Rules
318×fma-define
191×fma-neg
111×times-frac
97×div-sub
64×distribute-rgt-in
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01588
14380
28880
324080
463080
597180
6134180
7158580
8165680
Stop Event
saturated
Compiler

Compiled 11 to 7 computations (36.4% saved)

end0.0ms (0%)

preprocess35.0ms (1.5%)

Compiler

Compiled 70 to 46 computations (34.3% saved)

Profiling

Loading profile data...