Kahan's exp quotient

Time bar (total: 1.9s)

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.5s (79.4%)

Results
344.0ms2991×256valid
580.0ms2036×1024valid
203.0ms2021×256infinite
223.0ms1063×512valid
47.0ms144×2048valid
0.0ms256infinite
Precisions
Click to see histograms. Total time spent on operations: 675.0ms
Operation ival-exp, time spent: 312.0ms, 46.0% of total-time
Operation ival-div, time spent: 237.0ms, 35.0% of total-time
Operation ival-sub, time spent: 103.0ms, 15.0% of total-time
Operation const, time spent: 23.0ms, 3.0% of total-time
Bogosity

preprocess204.0ms (10.9%)

Algorithm
egg-herbie
Rules
318×fma-define
191×fmm-def
111×times-frac
97×div-sub
64×distribute-rgt-in
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
1290-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-exp, time spent: 24.0ms, 50.0% of total-time
Operation ival-div, time spent: 11.0ms, 23.0% of total-time
Operation ival-sub, time spent: 11.0ms, 23.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 (2.4%)

Compiler

Compiled 9 to 4 computations (55.6% saved)

Precisions
Click to see histograms. Total time spent on operations: 37.0ms
Operation composed, time spent: 16.0ms, 44.0% of total-time
Operation ival-exp, time spent: 11.0ms, 30.0% of total-time
Operation ival-div, time spent: 5.0ms, 14.0% of total-time
Operation ival-sub, time spent: 3.0ms, 8.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)

regimes3.0ms (0.2%)

Accuracy

Total -30.5b remaining (-∞%)

Threshold costs -30.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:

2.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)

soundness88.0ms (4.7%)

Rules
318×fma-define
191×fmm-def
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.1%)

Compiler

Compiled 70 to 46 computations (34.3% saved)

Profiling

Loading profile data...