Kahan's exp quotient

Time bar (total: 2.0s)

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

sample1.6s (78.2%)

Results
246.0ms3076×256valid
611.0ms2082×1024valid
204.0ms2002×256infinite
227.0ms984×512valid
30.0ms112×2048valid
Precisions
Click to see histograms. Total time spent on operations: 696.0ms
Operation ival-exp, time spent: 322.0ms, 46.0% of total-time
Operation ival-div, time spent: 209.0ms, 30.0% of total-time
Operation ival-sub, time spent: 142.0ms, 20.0% of total-time
Operation const, time spent: 22.0ms, 3.0% of total-time
Bogosity

preprocess251.0ms (12.6%)

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
1390-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)
Results
22.0ms190×256valid
48.0ms138×1024valid
11.0ms102×256infinite
13.0ms70×512valid
4.0ms12×2048valid
Compiler

Compiled 39 to 23 computations (41% saved)

Precisions
Click to see histograms. Total time spent on operations: 48.0ms
Operation ival-exp, time spent: 25.0ms, 52.0% of total-time
Operation ival-sub, time spent: 12.0ms, 25.0% of total-time
Operation ival-div, time spent: 8.0ms, 17.0% of total-time
Operation const, time spent: 2.0ms, 4.0% of total-time

eval0.0ms (0%)

Compiler

Compiled 5 to 3 computations (40% saved)

prune3.0ms (0.1%)

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 (2.2%)

Results
8.0ms99×256valid
16.0ms69×1024valid
5.0ms51×256infinite
6.0ms35×512valid
0.0ms2048valid
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, 14.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.1%)

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 -32.5b remaining (-∞%)

Threshold costs -32.5b (-∞%)

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)

soundness90.0ms (4.5%)

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%)

preprocess39.0ms (2%)

Compiler

Compiled 70 to 46 computations (34.3% saved)

Profiling

Loading profile data...