expq2 (section 3.11)

Time bar (total: 3.5s)

start0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated; 0ms collecting garbage

analyze1.0ms (0%)

Memory
2.9MiB live, 2.9MiB allocated; 0ms collecting garbage
Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%75.2%24.8%0%0%0%0
0%0%75.2%24.8%0%0%0%1
50%37.6%37.6%24.8%0%0%0%2
75%56.4%18.8%24.8%0%0%0%3
87.5%65.8%9.4%24.8%0%0%0%4
93.8%70.5%4.7%24.8%0%0%0%5
96.9%72.8%2.3%24.8%0%0%0%6
98.4%74%1.2%24.8%0%0%0%7
99.2%74.6%0.6%24.8%0%0%0%8
99.6%74.9%0.3%24.8%0%0%0%9
99.8%75%0.1%24.8%0%0%0%10
99.9%75.1%0.1%24.8%0%0%0%11
100%75.1%0%24.8%0%0%0%12
Compiler

Compiled 11 to 7 computations (36.4% saved)

sample734.0ms (21.2%)

Memory
17.6MiB live, 964.3MiB allocated; 181ms collecting garbage
Samples
491.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 284.0ms
ival-exp: 126.0ms (44.4% of total)
ival-expm1: 60.0ms (21.1% of total)
ival-div: 57.0ms (20.1% of total)
ival->: 27.0ms (9.5% of total)
exact: 8.0ms (2.8% of total)
ival-assert: 5.0ms (1.8% of total)
adjust: 2.0ms (0.7% of total)
Bogosity

explain119.0ms (3.4%)

Memory
-39.5MiB live, 57.8MiB allocated; 15ms collecting garbage
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
1760-1(0.0283164373161182)(-.f64 (exp.f64 x) #s(literal 1 binary64))
00-0-(/.f64 (exp.f64 x) (-.f64 (exp.f64 x) #s(literal 1 binary64)))
00-0-#s(literal 1 binary64)
00-0-(exp.f64 x)
00-0-x
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
-.f64(-.f64 (exp.f64 x) #s(literal 1 binary64))cancellation1752
Confusion
Predicted +Predicted -
+1750
-081
Precision
1.0
Recall
1.0
Confusion?
Predicted +Predicted MaybePredicted -
+17500
-0279
Precision?
0.9887005649717514
Recall?
1.0
Freqs
test
numberfreq
081
1175
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Samples
23.0ms512×0valid
Compiler

Compiled 41 to 19 computations (53.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 12.0ms
ival-div: 4.0ms (33.3% of total)
ival-exp: 4.0ms (33.3% of total)
ival-expm1: 3.0ms (25% of total)
ival-true: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess260.0ms (7.5%)

Memory
41.6MiB live, 315.4MiB allocated; 59ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01026
12426
27526
324326
4128826
057
087
1137
2297
3677
42857
530497
083035
Stop Event
iter limit
node limit
iter limit
node limit
Calls
Call 1
Inputs
(/.f64 (exp.f64 x) (-.f64 (exp.f64 x) #s(literal 1 binary64)))
Outputs
(/.f64 (exp.f64 x) (-.f64 (exp.f64 x) #s(literal 1 binary64)))
(/.f64 (exp.f64 x) (expm1.f64 x))
Compiler

Compiled 7 to 5 computations (28.6% saved)

eval0.0ms (0%)

Memory
0.1MiB live, 0.1MiB allocated; 0ms collecting garbage
Compiler

Compiled 0 to 1 computations (-∞% saved)

prune0.0ms (0%)

Memory
1.3MiB live, 1.4MiB allocated; 0ms collecting garbage
Alt Table
Click to see full alt table
StatusAccuracyProgram
34.6%
(/.f64 (exp.f64 x) (-.f64 (exp.f64 x) #s(literal 1 binary64)))
Compiler

Compiled 7 to 5 computations (28.6% saved)

simplify230.0ms (6.7%)

Memory
23.4MiB live, 253.8MiB allocated; 51ms collecting garbage
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
cost-diff0
(exp.f64 x)
cost-diff0
(/.f64 (exp.f64 x) (-.f64 (exp.f64 x) #s(literal 1 binary64)))
cost-diff2
(-.f64 (exp.f64 x) #s(literal 1 binary64))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0515
0815
11315
22915
36715
428515
5304915
0830311
Stop Event
iter limit
node limit
iter limit
Calls
Call 1
Inputs
(/.f64 (exp.f64 x) (-.f64 (exp.f64 x) #s(literal 1 binary64)))
(exp.f64 x)
x
(-.f64 (exp.f64 x) #s(literal 1 binary64))
#s(literal 1 binary64)
Outputs
(/.f64 (exp.f64 x) (-.f64 (exp.f64 x) #s(literal 1 binary64)))
(/.f64 (exp.f64 x) (expm1.f64 x))
(exp.f64 x)
x
(-.f64 (exp.f64 x) #s(literal 1 binary64))
(expm1.f64 x)
#s(literal 1 binary64)

localize60.0ms (1.7%)

Memory
-37.5MiB live, 63.1MiB allocated; 16ms collecting garbage
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(exp.f64 x)
accuracy0.0078125
(/.f64 (exp.f64 x) (-.f64 (exp.f64 x) #s(literal 1 binary64)))
accuracy40.67899048609787
(-.f64 (exp.f64 x) #s(literal 1 binary64))
Samples
21.0ms256×0valid
Compiler

Compiled 17 to 7 computations (58.8% saved)

Precisions
Click to see histograms. Total time spent on operations: 11.0ms
ival-div: 7.0ms (63.8% of total)
ival-exp: 2.0ms (18.2% of total)
ival-expm1: 2.0ms (18.2% of total)
ival-true: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series2.0ms (0.1%)

Memory
3.3MiB live, 3.3MiB allocated; 0ms collecting garbage
Counts
3 → 15
Calls
Call 1
Inputs
(-.f64 (exp.f64 x) #s(literal 1 binary64))
(/.f64 (exp.f64 x) (-.f64 (exp.f64 x) #s(literal 1 binary64)))
(exp.f64 x)
Outputs
#s(approx (- (exp x) 1) #s(hole binary64 x))
#s(approx (- (exp x) 1) #s(hole binary64 (* x (+ 1 (* 1/2 x)))))
#s(approx (- (exp x) 1) #s(hole binary64 (* x (+ 1 (* x (+ 1/2 (* 1/6 x)))))))
#s(approx (- (exp x) 1) #s(hole binary64 (* x (+ 1 (* x (+ 1/2 (* x (+ 1/6 (* 1/24 x)))))))))
#s(approx (/ (exp x) (- (exp x) 1)) #s(hole binary64 (/ 1 x)))
#s(approx (/ (exp x) (- (exp x) 1)) #s(hole binary64 (/ (+ 1 (* 1/2 x)) x)))
#s(approx (/ (exp x) (- (exp x) 1)) #s(hole binary64 (/ (+ 1 (* x (+ 1/2 (* 1/12 x)))) x)))
#s(approx (/ (exp x) (- (exp x) 1)) #s(hole binary64 (/ (+ 1 (* x (+ 1/2 (* x (+ 1/12 (* -1/720 (pow x 2))))))) x)))
#s(approx (exp x) #s(hole binary64 1))
#s(approx (exp x) #s(hole binary64 (+ 1 x)))
#s(approx (exp x) #s(hole binary64 (+ 1 (* x (+ 1 (* 1/2 x))))))
#s(approx (exp x) #s(hole binary64 (+ 1 (* x (+ 1 (* x (+ 1/2 (* 1/6 x))))))))
#s(approx (- (exp x) 1) #s(hole binary64 (- (exp x) 1)))
#s(approx (/ (exp x) (- (exp x) 1)) #s(hole binary64 (/ (exp x) (- (exp x) 1))))
#s(approx (exp x) #s(hole binary64 (exp x)))
Calls

3 calls:

TimeVariablePointExpression
1.0ms
x
@inf
((- (exp x) 1) (/ (exp x) (- (exp x) 1)) (exp x))
1.0ms
x
@-inf
((- (exp x) 1) (/ (exp x) (- (exp x) 1)) (exp x))
1.0ms
x
@0
((- (exp x) 1) (/ (exp x) (- (exp x) 1)) (exp x))

simplify149.0ms (4.3%)

Memory
-4.7MiB live, 180.1MiB allocated; 24ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
059191
1181191
2559185
32075185
08733147
Stop Event
iter limit
node limit
Counts
15 → 15
Calls
Call 1
Inputs
#s(approx (- (exp x) 1) #s(hole binary64 x))
#s(approx (- (exp x) 1) #s(hole binary64 (* x (+ 1 (* 1/2 x)))))
#s(approx (- (exp x) 1) #s(hole binary64 (* x (+ 1 (* x (+ 1/2 (* 1/6 x)))))))
#s(approx (- (exp x) 1) #s(hole binary64 (* x (+ 1 (* x (+ 1/2 (* x (+ 1/6 (* 1/24 x)))))))))
#s(approx (/ (exp x) (- (exp x) 1)) #s(hole binary64 (/ 1 x)))
#s(approx (/ (exp x) (- (exp x) 1)) #s(hole binary64 (/ (+ 1 (* 1/2 x)) x)))
#s(approx (/ (exp x) (- (exp x) 1)) #s(hole binary64 (/ (+ 1 (* x (+ 1/2 (* 1/12 x)))) x)))
#s(approx (/ (exp x) (- (exp x) 1)) #s(hole binary64 (/ (+ 1 (* x (+ 1/2 (* x (+ 1/12 (* -1/720 (pow x 2))))))) x)))
#s(approx (exp x) #s(hole binary64 1))
#s(approx (exp x) #s(hole binary64 (+ 1 x)))
#s(approx (exp x) #s(hole binary64 (+ 1 (* x (+ 1 (* 1/2 x))))))
#s(approx (exp x) #s(hole binary64 (+ 1 (* x (+ 1 (* x (+ 1/2 (* 1/6 x))))))))
#s(approx (- (exp x) 1) #s(hole binary64 (- (exp x) 1)))
#s(approx (/ (exp x) (- (exp x) 1)) #s(hole binary64 (/ (exp x) (- (exp x) 1))))
#s(approx (exp x) #s(hole binary64 (exp x)))
Outputs
#s(approx (- (exp x) 1) #s(hole binary64 x))
#s(approx (- (exp x) 1) x)
#s(approx (- (exp x) 1) #s(hole binary64 (* x (+ 1 (* 1/2 x)))))
#s(approx (- (exp x) 1) (*.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x))
#s(approx (- (exp x) 1) #s(hole binary64 (* x (+ 1 (* x (+ 1/2 (* 1/6 x)))))))
#s(approx (- (exp x) 1) (*.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x))
#s(approx (- (exp x) 1) #s(hole binary64 (* x (+ 1 (* x (+ 1/2 (* x (+ 1/6 (* 1/24 x)))))))))
#s(approx (- (exp x) 1) (*.f64 (fma.f64 (fma.f64 (fma.f64 #s(literal 1/24 binary64) x #s(literal 1/6 binary64)) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x))
#s(approx (/ (exp x) (- (exp x) 1)) #s(hole binary64 (/ 1 x)))
#s(approx (/ (exp x) (- (exp x) 1)) (/.f64 #s(literal 1 binary64) x))
#s(approx (/ (exp x) (- (exp x) 1)) #s(hole binary64 (/ (+ 1 (* 1/2 x)) x)))
#s(approx (/ (exp x) (- (exp x) 1)) (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64)))
#s(approx (/ (exp x) (- (exp x) 1)) #s(hole binary64 (/ (+ 1 (* x (+ 1/2 (* 1/12 x)))) x)))
#s(approx (/ (exp x) (- (exp x) 1)) (fma.f64 #s(literal 1/12 binary64) x (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64))))
#s(approx (/ (exp x) (- (exp x) 1)) #s(hole binary64 (/ (+ 1 (* x (+ 1/2 (* x (+ 1/12 (* -1/720 (pow x 2))))))) x)))
#s(approx (/ (exp x) (- (exp x) 1)) (fma.f64 (fma.f64 (*.f64 x x) #s(literal -1/720 binary64) #s(literal 1/12 binary64)) x (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64))))
#s(approx (exp x) #s(hole binary64 1))
#s(approx (exp x) #s(literal 1 binary64))
#s(approx (exp x) #s(hole binary64 (+ 1 x)))
#s(approx (exp x) (-.f64 x #s(literal -1 binary64)))
#s(approx (exp x) #s(hole binary64 (+ 1 (* x (+ 1 (* 1/2 x))))))
#s(approx (exp x) (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x #s(literal 1 binary64)))
#s(approx (exp x) #s(hole binary64 (+ 1 (* x (+ 1 (* x (+ 1/2 (* 1/6 x))))))))
#s(approx (exp x) (fma.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x #s(literal 1 binary64)))
#s(approx (- (exp x) 1) #s(hole binary64 (- (exp x) 1)))
#s(approx (- (exp x) 1) (expm1.f64 x))
#s(approx (/ (exp x) (- (exp x) 1)) #s(hole binary64 (/ (exp x) (- (exp x) 1))))
#s(approx (/ (exp x) (- (exp x) 1)) (/.f64 (exp.f64 x) (expm1.f64 x)))
#s(approx (exp x) #s(hole binary64 (exp x)))
#s(approx (exp x) (exp.f64 x))

rewrite42.0ms (1.2%)

Memory
39.5MiB live, 39.5MiB allocated; 0ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0513
0813
13013
02129
Stop Event
iter limit
iter limit
iter limit
unsound
iter limit
Counts
3 → 29
Calls
Call 1
Inputs
(-.f64 (exp.f64 x) #s(literal 1 binary64))
(/.f64 (exp.f64 x) (-.f64 (exp.f64 x) #s(literal 1 binary64)))
(exp.f64 x)
Outputs
(/.f64 (neg.f64 (expm1.f64 (+.f64 x x))) (neg.f64 (-.f64 (exp.f64 x) #s(literal -1 binary64))))
(/.f64 (neg.f64 (expm1.f64 (*.f64 x #s(literal 3 binary64)))) (neg.f64 (fma.f64 (exp.f64 x) (exp.f64 x) (-.f64 (exp.f64 x) #s(literal -1 binary64)))))
(/.f64 (expm1.f64 (+.f64 x x)) (-.f64 (exp.f64 x) #s(literal -1 binary64)))
(/.f64 (expm1.f64 (*.f64 x #s(literal 3 binary64))) (fma.f64 (exp.f64 x) (exp.f64 x) (-.f64 (exp.f64 x) #s(literal -1 binary64))))
(fma.f64 #s(literal 1 binary64) (exp.f64 x) #s(literal -1 binary64))
(fma.f64 (exp.f64 x) #s(literal 1 binary64) #s(literal -1 binary64))
(expm1.f64 (+.f64 x #s(literal 0 binary64)))
(expm1.f64 x)
(-.f64 (/.f64 (pow.f64 (exp.f64 x) #s(literal 2 binary64)) (-.f64 (exp.f64 x) #s(literal -1 binary64))) (/.f64 #s(literal 1 binary64) (-.f64 (exp.f64 x) #s(literal -1 binary64))))
(-.f64 (/.f64 (pow.f64 (exp.f64 x) #s(literal 3 binary64)) (fma.f64 (exp.f64 x) (exp.f64 x) (-.f64 (exp.f64 x) #s(literal -1 binary64)))) (/.f64 #s(literal 1 binary64) (fma.f64 (exp.f64 x) (exp.f64 x) (-.f64 (exp.f64 x) #s(literal -1 binary64)))))
(-.f64 (exp.f64 x) #s(literal 1 binary64))
(+.f64 (cosh.f64 x) (-.f64 (sinh.f64 x) #s(literal 1 binary64)))
(+.f64 (exp.f64 x) #s(literal -1 binary64))
(*.f64 (/.f64 (exp.f64 x) (expm1.f64 (+.f64 x x))) (-.f64 (exp.f64 x) #s(literal -1 binary64)))
(*.f64 (/.f64 (exp.f64 x) (expm1.f64 (*.f64 x #s(literal 3 binary64)))) (fma.f64 (exp.f64 x) (exp.f64 x) (-.f64 (exp.f64 x) #s(literal -1 binary64))))
(/.f64 (neg.f64 (neg.f64 (exp.f64 x))) (neg.f64 (neg.f64 (expm1.f64 x))))
(/.f64 (neg.f64 (exp.f64 x)) (neg.f64 (expm1.f64 x)))
(/.f64 (exp.f64 x) (expm1.f64 x))
(neg.f64 (/.f64 (neg.f64 (exp.f64 x)) (expm1.f64 x)))
(neg.f64 (/.f64 (exp.f64 x) (neg.f64 (expm1.f64 x))))
(+.f64 (/.f64 (cosh.f64 x) (expm1.f64 x)) (/.f64 (sinh.f64 x) (expm1.f64 x)))
(*.f64 #s(literal 1 binary64) (exp.f64 x))
(*.f64 (exp.f64 x) #s(literal 1 binary64))
(/.f64 (-.f64 (*.f64 (cosh.f64 x) (cosh.f64 x)) (*.f64 (sinh.f64 x) (sinh.f64 x))) (-.f64 (cosh.f64 x) (sinh.f64 x)))
(/.f64 (+.f64 (pow.f64 (cosh.f64 x) #s(literal 3 binary64)) (pow.f64 (sinh.f64 x) #s(literal 3 binary64))) (fma.f64 (cosh.f64 x) (cosh.f64 x) (-.f64 (*.f64 (sinh.f64 x) (sinh.f64 x)) (*.f64 (cosh.f64 x) (sinh.f64 x)))))
(+.f64 (sinh.f64 x) (cosh.f64 x))
(+.f64 (cosh.f64 x) (sinh.f64 x))
(exp.f64 (+.f64 x #s(literal 0 binary64)))
(exp.f64 x)

eval11.0ms (0.3%)

Memory
-34.4MiB live, 10.7MiB allocated; 5ms collecting garbage
Compiler

Compiled 721 to 171 computations (76.3% saved)

prune4.0ms (0.1%)

Memory
6.8MiB live, 6.8MiB allocated; 0ms collecting garbage
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New51657
Fresh000
Picked101
Done000
Total52658
Accuracy
100.0%
Counts
58 → 6
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(/.f64 (exp.f64 x) (expm1.f64 x))
98.8%
(/.f64 (exp.f64 x) #s(approx (- (exp x) 1) x))
69.7%
#s(approx (/ (exp x) (- (exp x) 1)) (fma.f64 (fma.f64 (*.f64 x x) #s(literal -1/720 binary64) #s(literal 1/12 binary64)) x (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64))))
69.6%
#s(approx (/ (exp x) (- (exp x) 1)) (fma.f64 #s(literal 1/12 binary64) x (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64))))
69.4%
#s(approx (/ (exp x) (- (exp x) 1)) (/.f64 #s(literal 1 binary64) x))
69.5%
#s(approx (/ (exp x) (- (exp x) 1)) (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64)))
Compiler

Compiled 150 to 112 computations (25.3% saved)

simplify317.0ms (9.2%)

Memory
13.7MiB live, 205.1MiB allocated; 149ms collecting garbage
Localize:

Found 16 expressions of interest:

NewMetricScoreProgram
cost-diff0
(*.f64 x x)
cost-diff0
(fma.f64 (*.f64 x x) #s(literal -1/720 binary64) #s(literal 1/12 binary64))
cost-diff0
(fma.f64 (fma.f64 (*.f64 x x) #s(literal -1/720 binary64) #s(literal 1/12 binary64)) x (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64)))
cost-diff0
#s(approx (/ (exp x) (- (exp x) 1)) (fma.f64 (fma.f64 (*.f64 x x) #s(literal -1/720 binary64) #s(literal 1/12 binary64)) x (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64))))
cost-diff0
(/.f64 #s(literal 1 binary64) x)
cost-diff0
(-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64))
cost-diff0
(fma.f64 #s(literal 1/12 binary64) x (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64)))
cost-diff0
#s(approx (/ (exp x) (- (exp x) 1)) (fma.f64 #s(literal 1/12 binary64) x (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64))))
cost-diff0
(/.f64 #s(literal 1 binary64) x)
cost-diff0
(-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64))
cost-diff0
#s(approx (/ (exp x) (- (exp x) 1)) (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64)))
cost-diff0
(/.f64 #s(literal 1 binary64) x)
cost-diff0
#s(approx (/ (exp x) (- (exp x) 1)) (/.f64 #s(literal 1 binary64) x))
cost-diff0
(expm1.f64 x)
cost-diff0
(exp.f64 x)
cost-diff0
(/.f64 (exp.f64 x) (expm1.f64 x))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
021134
033134
154134
2125134
3333134
4975134
54337134
08157134
Stop Event
iter limit
node limit
iter limit
Calls
Call 1
Inputs
(/.f64 (exp.f64 x) (expm1.f64 x))
(exp.f64 x)
x
(expm1.f64 x)
#s(approx (/ (exp x) (- (exp x) 1)) (/.f64 #s(literal 1 binary64) x))
(/.f64 #s(literal 1 binary64) x)
#s(literal 1 binary64)
x
#s(approx (/ (exp x) (- (exp x) 1)) (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64)))
(-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64))
(/.f64 #s(literal 1 binary64) x)
#s(literal 1 binary64)
x
#s(literal -1/2 binary64)
#s(approx (/ (exp x) (- (exp x) 1)) (fma.f64 #s(literal 1/12 binary64) x (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64))))
(fma.f64 #s(literal 1/12 binary64) x (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64)))
#s(literal 1/12 binary64)
x
(-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64))
(/.f64 #s(literal 1 binary64) x)
#s(literal 1 binary64)
#s(literal -1/2 binary64)
#s(approx (/ (exp x) (- (exp x) 1)) (fma.f64 (fma.f64 (*.f64 x x) #s(literal -1/720 binary64) #s(literal 1/12 binary64)) x (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64))))
(fma.f64 (fma.f64 (*.f64 x x) #s(literal -1/720 binary64) #s(literal 1/12 binary64)) x (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64)))
(fma.f64 (*.f64 x x) #s(literal -1/720 binary64) #s(literal 1/12 binary64))
(*.f64 x x)
x
#s(literal -1/720 binary64)
#s(literal 1/12 binary64)
(-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64))
(/.f64 #s(literal 1 binary64) x)
#s(literal 1 binary64)
#s(literal -1/2 binary64)
Outputs
(/.f64 (exp.f64 x) (expm1.f64 x))
(exp.f64 x)
x
(expm1.f64 x)
#s(approx (/ (exp x) (- (exp x) 1)) (/.f64 #s(literal 1 binary64) x))
(/.f64 #s(literal 1 binary64) x)
#s(literal 1 binary64)
x
#s(approx (/ (exp x) (- (exp x) 1)) (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64)))
(-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64))
(/.f64 #s(literal 1 binary64) x)
#s(literal 1 binary64)
x
#s(literal -1/2 binary64)
#s(approx (/ (exp x) (- (exp x) 1)) (fma.f64 #s(literal 1/12 binary64) x (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64))))
(fma.f64 #s(literal 1/12 binary64) x (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64)))
#s(literal 1/12 binary64)
x
(-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64))
(/.f64 #s(literal 1 binary64) x)
#s(literal 1 binary64)
#s(literal -1/2 binary64)
#s(approx (/ (exp x) (- (exp x) 1)) (fma.f64 (fma.f64 (*.f64 x x) #s(literal -1/720 binary64) #s(literal 1/12 binary64)) x (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64))))
#s(approx (/ (exp x) (- (exp x) 1)) (fma.f64 (fma.f64 #s(literal -1/720 binary64) (*.f64 x x) #s(literal 1/12 binary64)) x (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64))))
(fma.f64 (fma.f64 (*.f64 x x) #s(literal -1/720 binary64) #s(literal 1/12 binary64)) x (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64)))
(fma.f64 (fma.f64 #s(literal -1/720 binary64) (*.f64 x x) #s(literal 1/12 binary64)) x (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64)))
(fma.f64 (*.f64 x x) #s(literal -1/720 binary64) #s(literal 1/12 binary64))
(fma.f64 #s(literal -1/720 binary64) (*.f64 x x) #s(literal 1/12 binary64))
(*.f64 x x)
x
#s(literal -1/720 binary64)
#s(literal 1/12 binary64)
(-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64))
(/.f64 #s(literal 1 binary64) x)
#s(literal 1 binary64)
#s(literal -1/2 binary64)

localize96.0ms (2.8%)

Memory
14.0MiB live, 60.0MiB allocated; 3ms collecting garbage
Localize:

Found 16 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(*.f64 x x)
accuracy0.03515625
(fma.f64 (fma.f64 (*.f64 x x) #s(literal -1/720 binary64) #s(literal 1/12 binary64)) x (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64)))
accuracy0.05859375
(fma.f64 (*.f64 x x) #s(literal -1/720 binary64) #s(literal 1/12 binary64))
accuracy19.422540854745176
#s(approx (/ (exp x) (- (exp x) 1)) (fma.f64 (fma.f64 (*.f64 x x) #s(literal -1/720 binary64) #s(literal 1/12 binary64)) x (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64))))
accuracy0.0
(/.f64 #s(literal 1 binary64) x)
accuracy0.0
(-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64))
accuracy0.08984375
(fma.f64 #s(literal 1/12 binary64) x (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64)))
accuracy19.449967132864405
#s(approx (/ (exp x) (- (exp x) 1)) (fma.f64 #s(literal 1/12 binary64) x (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64))))
accuracy0.0
(/.f64 #s(literal 1 binary64) x)
accuracy0.0
(-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64))
accuracy19.525620944253387
#s(approx (/ (exp x) (- (exp x) 1)) (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64)))
accuracy0.0
(/.f64 #s(literal 1 binary64) x)
accuracy19.600307603601937
#s(approx (/ (exp x) (- (exp x) 1)) (/.f64 #s(literal 1 binary64) x))
accuracy0.0
(expm1.f64 x)
accuracy0.0
(exp.f64 x)
accuracy0.0078125
(/.f64 (exp.f64 x) (expm1.f64 x))
Samples
83.0ms256×0valid
Compiler

Compiled 119 to 19 computations (84% saved)

Precisions
Click to see histograms. Total time spent on operations: 70.0ms
ival-sub: 44.0ms (63.2% of total)
ival-mult: 7.0ms (10% of total)
const: 7.0ms (10% of total)
ival-div: 4.0ms (5.7% of total)
ival-add: 3.0ms (4.3% of total)
ival-exp: 2.0ms (2.9% of total)
ival-expm1: 2.0ms (2.9% of total)
adjust: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)

series6.0ms (0.2%)

Memory
9.1MiB live, 9.1MiB allocated; 0ms collecting garbage
Counts
13 → 43
Calls
Call 1
Inputs
(/.f64 (exp.f64 x) (expm1.f64 x))
(exp.f64 x)
(expm1.f64 x)
#s(approx (/ (exp x) (- (exp x) 1)) (/.f64 #s(literal 1 binary64) x))
(/.f64 #s(literal 1 binary64) x)
#s(approx (/ (exp x) (- (exp x) 1)) (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64)))
(-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64))
#s(approx (/ (exp x) (- (exp x) 1)) (fma.f64 #s(literal 1/12 binary64) x (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64))))
(fma.f64 #s(literal 1/12 binary64) x (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64)))
#s(approx (/ (exp x) (- (exp x) 1)) (fma.f64 (fma.f64 (*.f64 x x) #s(literal -1/720 binary64) #s(literal 1/12 binary64)) x (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64))))
(fma.f64 (fma.f64 (*.f64 x x) #s(literal -1/720 binary64) #s(literal 1/12 binary64)) x (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64)))
(fma.f64 (*.f64 x x) #s(literal -1/720 binary64) #s(literal 1/12 binary64))
(*.f64 x x)
Outputs
#s(approx (/ (exp x) (- (exp x) 1)) #s(hole binary64 (/ 1 x)))
#s(approx (/ (exp x) (- (exp x) 1)) #s(hole binary64 (/ (+ 1 (* 1/2 x)) x)))
#s(approx (/ (exp x) (- (exp x) 1)) #s(hole binary64 (/ (+ 1 (* x (+ 1/2 (* 1/12 x)))) x)))
#s(approx (/ (exp x) (- (exp x) 1)) #s(hole binary64 (/ (+ 1 (* x (+ 1/2 (* x (+ 1/12 (* -1/720 (pow x 2))))))) x)))
#s(approx (exp x) #s(hole binary64 1))
#s(approx (exp x) #s(hole binary64 (+ 1 x)))
#s(approx (exp x) #s(hole binary64 (+ 1 (* x (+ 1 (* 1/2 x))))))
#s(approx (exp x) #s(hole binary64 (+ 1 (* x (+ 1 (* x (+ 1/2 (* 1/6 x))))))))
#s(approx (- (exp x) 1) #s(hole binary64 x))
#s(approx (- (exp x) 1) #s(hole binary64 (* x (+ 1 (* 1/2 x)))))
#s(approx (- (exp x) 1) #s(hole binary64 (* x (+ 1 (* x (+ 1/2 (* 1/6 x)))))))
#s(approx (- (exp x) 1) #s(hole binary64 (* x (+ 1 (* x (+ 1/2 (* x (+ 1/6 (* 1/24 x)))))))))
#s(approx (/ 1 x) #s(hole binary64 (/ 1 x)))
#s(approx (- (/ 1 x) -1/2) #s(hole binary64 (/ 1 x)))
#s(approx (- (/ 1 x) -1/2) #s(hole binary64 (/ (+ 1 (* 1/2 x)) x)))
#s(approx (+ (* 1/12 x) (- (/ 1 x) -1/2)) #s(hole binary64 (/ 1 x)))
#s(approx (+ (* 1/12 x) (- (/ 1 x) -1/2)) #s(hole binary64 (/ (+ 1 (* 1/2 x)) x)))
#s(approx (+ (* 1/12 x) (- (/ 1 x) -1/2)) #s(hole binary64 (/ (+ 1 (* x (+ 1/2 (* 1/12 x)))) x)))
#s(approx (+ (* (+ (* (* x x) -1/720) 1/12) x) (- (/ 1 x) -1/2)) #s(hole binary64 (/ 1 x)))
#s(approx (+ (* (+ (* (* x x) -1/720) 1/12) x) (- (/ 1 x) -1/2)) #s(hole binary64 (/ (+ 1 (* 1/2 x)) x)))
#s(approx (+ (* (+ (* (* x x) -1/720) 1/12) x) (- (/ 1 x) -1/2)) #s(hole binary64 (/ (+ 1 (* x (+ 1/2 (* 1/12 x)))) x)))
#s(approx (+ (* (+ (* (* x x) -1/720) 1/12) x) (- (/ 1 x) -1/2)) #s(hole binary64 (/ (+ 1 (* x (+ 1/2 (* x (+ 1/12 (* -1/720 (pow x 2))))))) x)))
#s(approx (+ (* (* x x) -1/720) 1/12) #s(hole binary64 1/12))
#s(approx (+ (* (* x x) -1/720) 1/12) #s(hole binary64 (+ 1/12 (* -1/720 (pow x 2)))))
#s(approx (* x x) #s(hole binary64 (pow x 2)))
#s(approx (/ (exp x) (- (exp x) 1)) #s(hole binary64 (/ (exp x) (- (exp x) 1))))
#s(approx (exp x) #s(hole binary64 (exp x)))
#s(approx (- (exp x) 1) #s(hole binary64 (- (exp x) 1)))
#s(approx (- (/ 1 x) -1/2) #s(hole binary64 1/2))
#s(approx (- (/ 1 x) -1/2) #s(hole binary64 (+ 1/2 (/ 1 x))))
#s(approx (+ (* 1/12 x) (- (/ 1 x) -1/2)) #s(hole binary64 (* 1/12 x)))
#s(approx (+ (* 1/12 x) (- (/ 1 x) -1/2)) #s(hole binary64 (* x (+ 1/12 (* 1/2 (/ 1 x))))))
#s(approx (+ (* 1/12 x) (- (/ 1 x) -1/2)) #s(hole binary64 (* x (+ 1/12 (+ (* 1/2 (/ 1 x)) (/ 1 (pow x 2)))))))
#s(approx (+ (* (+ (* (* x x) -1/720) 1/12) x) (- (/ 1 x) -1/2)) #s(hole binary64 (* -1/720 (pow x 3))))
#s(approx (+ (* (+ (* (* x x) -1/720) 1/12) x) (- (/ 1 x) -1/2)) #s(hole binary64 (* (pow x 3) (- (* 1/12 (/ 1 (pow x 2))) 1/720))))
#s(approx (+ (* (+ (* (* x x) -1/720) 1/12) x) (- (/ 1 x) -1/2)) #s(hole binary64 (* (pow x 3) (- (+ (/ 1/2 (pow x 3)) (* 1/12 (/ 1 (pow x 2)))) 1/720))))
#s(approx (+ (* (+ (* (* x x) -1/720) 1/12) x) (- (/ 1 x) -1/2)) #s(hole binary64 (* (pow x 3) (- (+ (/ 1/2 (pow x 3)) (+ (* 1/12 (/ 1 (pow x 2))) (/ 1 (pow x 4)))) 1/720))))
#s(approx (+ (* (* x x) -1/720) 1/12) #s(hole binary64 (* -1/720 (pow x 2))))
#s(approx (+ (* (* x x) -1/720) 1/12) #s(hole binary64 (* (pow x 2) (- (* 1/12 (/ 1 (pow x 2))) 1/720))))
#s(approx (+ (* 1/12 x) (- (/ 1 x) -1/2)) #s(hole binary64 (* -1 (* x (- (* -1 (/ (+ 1/2 (/ 1 x)) x)) 1/12)))))
#s(approx (+ (* (+ (* (* x x) -1/720) 1/12) x) (- (/ 1 x) -1/2)) #s(hole binary64 (* -1 (* (pow x 3) (- 1/720 (* 1/12 (/ 1 (pow x 2))))))))
#s(approx (+ (* (+ (* (* x x) -1/720) 1/12) x) (- (/ 1 x) -1/2)) #s(hole binary64 (* -1 (* (pow x 3) (+ 1/720 (* -1 (/ (+ 1/12 (* 1/2 (/ 1 x))) (pow x 2))))))))
#s(approx (+ (* (+ (* (* x x) -1/720) 1/12) x) (- (/ 1 x) -1/2)) #s(hole binary64 (* -1 (* (pow x 3) (- (+ 1/720 (* -1 (/ (+ 1/2 (/ 1 x)) (pow x 3)))) (* 1/12 (/ 1 (pow x 2))))))))
Calls

3 calls:

TimeVariablePointExpression
2.0ms
x
@-inf
((/ (exp x) (- (exp x) 1)) (exp x) (- (exp x) 1) (/ (exp x) (- (exp x) 1)) (/ 1 x) (/ (exp x) (- (exp x) 1)) (- (/ 1 x) -1/2) (/ (exp x) (- (exp x) 1)) (+ (* 1/12 x) (- (/ 1 x) -1/2)) (/ (exp x) (- (exp x) 1)) (+ (* (+ (* (* x x) -1/720) 1/12) x) (- (/ 1 x) -1/2)) (+ (* (* x x) -1/720) 1/12) (* x x))
1.0ms
x
@inf
((/ (exp x) (- (exp x) 1)) (exp x) (- (exp x) 1) (/ (exp x) (- (exp x) 1)) (/ 1 x) (/ (exp x) (- (exp x) 1)) (- (/ 1 x) -1/2) (/ (exp x) (- (exp x) 1)) (+ (* 1/12 x) (- (/ 1 x) -1/2)) (/ (exp x) (- (exp x) 1)) (+ (* (+ (* (* x x) -1/720) 1/12) x) (- (/ 1 x) -1/2)) (+ (* (* x x) -1/720) 1/12) (* x x))
1.0ms
x
@0
((/ (exp x) (- (exp x) 1)) (exp x) (- (exp x) 1) (/ (exp x) (- (exp x) 1)) (/ 1 x) (/ (exp x) (- (exp x) 1)) (- (/ 1 x) -1/2) (/ (exp x) (- (exp x) 1)) (+ (* 1/12 x) (- (/ 1 x) -1/2)) (/ (exp x) (- (exp x) 1)) (+ (* (+ (* (* x x) -1/720) 1/12) x) (- (/ 1 x) -1/2)) (+ (* (* x x) -1/720) 1/12) (* x x))

simplify198.0ms (5.7%)

Memory
-23.6MiB live, 119.5MiB allocated; 23ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0142748
1375742
21310712
36496708
08150627
Stop Event
iter limit
node limit
Counts
43 → 43
Calls
Call 1
Inputs
#s(approx (/ (exp x) (- (exp x) 1)) #s(hole binary64 (/ 1 x)))
#s(approx (/ (exp x) (- (exp x) 1)) #s(hole binary64 (/ (+ 1 (* 1/2 x)) x)))
#s(approx (/ (exp x) (- (exp x) 1)) #s(hole binary64 (/ (+ 1 (* x (+ 1/2 (* 1/12 x)))) x)))
#s(approx (/ (exp x) (- (exp x) 1)) #s(hole binary64 (/ (+ 1 (* x (+ 1/2 (* x (+ 1/12 (* -1/720 (pow x 2))))))) x)))
#s(approx (exp x) #s(hole binary64 1))
#s(approx (exp x) #s(hole binary64 (+ 1 x)))
#s(approx (exp x) #s(hole binary64 (+ 1 (* x (+ 1 (* 1/2 x))))))
#s(approx (exp x) #s(hole binary64 (+ 1 (* x (+ 1 (* x (+ 1/2 (* 1/6 x))))))))
#s(approx (- (exp x) 1) #s(hole binary64 x))
#s(approx (- (exp x) 1) #s(hole binary64 (* x (+ 1 (* 1/2 x)))))
#s(approx (- (exp x) 1) #s(hole binary64 (* x (+ 1 (* x (+ 1/2 (* 1/6 x)))))))
#s(approx (- (exp x) 1) #s(hole binary64 (* x (+ 1 (* x (+ 1/2 (* x (+ 1/6 (* 1/24 x)))))))))
#s(approx (/ 1 x) #s(hole binary64 (/ 1 x)))
#s(approx (- (/ 1 x) -1/2) #s(hole binary64 (/ 1 x)))
#s(approx (- (/ 1 x) -1/2) #s(hole binary64 (/ (+ 1 (* 1/2 x)) x)))
#s(approx (+ (* 1/12 x) (- (/ 1 x) -1/2)) #s(hole binary64 (/ 1 x)))
#s(approx (+ (* 1/12 x) (- (/ 1 x) -1/2)) #s(hole binary64 (/ (+ 1 (* 1/2 x)) x)))
#s(approx (+ (* 1/12 x) (- (/ 1 x) -1/2)) #s(hole binary64 (/ (+ 1 (* x (+ 1/2 (* 1/12 x)))) x)))
#s(approx (+ (* (+ (* (* x x) -1/720) 1/12) x) (- (/ 1 x) -1/2)) #s(hole binary64 (/ 1 x)))
#s(approx (+ (* (+ (* (* x x) -1/720) 1/12) x) (- (/ 1 x) -1/2)) #s(hole binary64 (/ (+ 1 (* 1/2 x)) x)))
#s(approx (+ (* (+ (* (* x x) -1/720) 1/12) x) (- (/ 1 x) -1/2)) #s(hole binary64 (/ (+ 1 (* x (+ 1/2 (* 1/12 x)))) x)))
#s(approx (+ (* (+ (* (* x x) -1/720) 1/12) x) (- (/ 1 x) -1/2)) #s(hole binary64 (/ (+ 1 (* x (+ 1/2 (* x (+ 1/12 (* -1/720 (pow x 2))))))) x)))
#s(approx (+ (* (* x x) -1/720) 1/12) #s(hole binary64 1/12))
#s(approx (+ (* (* x x) -1/720) 1/12) #s(hole binary64 (+ 1/12 (* -1/720 (pow x 2)))))
#s(approx (* x x) #s(hole binary64 (pow x 2)))
#s(approx (/ (exp x) (- (exp x) 1)) #s(hole binary64 (/ (exp x) (- (exp x) 1))))
#s(approx (exp x) #s(hole binary64 (exp x)))
#s(approx (- (exp x) 1) #s(hole binary64 (- (exp x) 1)))
#s(approx (- (/ 1 x) -1/2) #s(hole binary64 1/2))
#s(approx (- (/ 1 x) -1/2) #s(hole binary64 (+ 1/2 (/ 1 x))))
#s(approx (+ (* 1/12 x) (- (/ 1 x) -1/2)) #s(hole binary64 (* 1/12 x)))
#s(approx (+ (* 1/12 x) (- (/ 1 x) -1/2)) #s(hole binary64 (* x (+ 1/12 (* 1/2 (/ 1 x))))))
#s(approx (+ (* 1/12 x) (- (/ 1 x) -1/2)) #s(hole binary64 (* x (+ 1/12 (+ (* 1/2 (/ 1 x)) (/ 1 (pow x 2)))))))
#s(approx (+ (* (+ (* (* x x) -1/720) 1/12) x) (- (/ 1 x) -1/2)) #s(hole binary64 (* -1/720 (pow x 3))))
#s(approx (+ (* (+ (* (* x x) -1/720) 1/12) x) (- (/ 1 x) -1/2)) #s(hole binary64 (* (pow x 3) (- (* 1/12 (/ 1 (pow x 2))) 1/720))))
#s(approx (+ (* (+ (* (* x x) -1/720) 1/12) x) (- (/ 1 x) -1/2)) #s(hole binary64 (* (pow x 3) (- (+ (/ 1/2 (pow x 3)) (* 1/12 (/ 1 (pow x 2)))) 1/720))))
#s(approx (+ (* (+ (* (* x x) -1/720) 1/12) x) (- (/ 1 x) -1/2)) #s(hole binary64 (* (pow x 3) (- (+ (/ 1/2 (pow x 3)) (+ (* 1/12 (/ 1 (pow x 2))) (/ 1 (pow x 4)))) 1/720))))
#s(approx (+ (* (* x x) -1/720) 1/12) #s(hole binary64 (* -1/720 (pow x 2))))
#s(approx (+ (* (* x x) -1/720) 1/12) #s(hole binary64 (* (pow x 2) (- (* 1/12 (/ 1 (pow x 2))) 1/720))))
#s(approx (+ (* 1/12 x) (- (/ 1 x) -1/2)) #s(hole binary64 (* -1 (* x (- (* -1 (/ (+ 1/2 (/ 1 x)) x)) 1/12)))))
#s(approx (+ (* (+ (* (* x x) -1/720) 1/12) x) (- (/ 1 x) -1/2)) #s(hole binary64 (* -1 (* (pow x 3) (- 1/720 (* 1/12 (/ 1 (pow x 2))))))))
#s(approx (+ (* (+ (* (* x x) -1/720) 1/12) x) (- (/ 1 x) -1/2)) #s(hole binary64 (* -1 (* (pow x 3) (+ 1/720 (* -1 (/ (+ 1/12 (* 1/2 (/ 1 x))) (pow x 2))))))))
#s(approx (+ (* (+ (* (* x x) -1/720) 1/12) x) (- (/ 1 x) -1/2)) #s(hole binary64 (* -1 (* (pow x 3) (- (+ 1/720 (* -1 (/ (+ 1/2 (/ 1 x)) (pow x 3)))) (* 1/12 (/ 1 (pow x 2))))))))
Outputs
#s(approx (/ (exp x) (- (exp x) 1)) #s(hole binary64 (/ 1 x)))
#s(approx (/ (exp x) (- (exp x) 1)) (/.f64 #s(literal 1 binary64) x))
#s(approx (/ (exp x) (- (exp x) 1)) #s(hole binary64 (/ (+ 1 (* 1/2 x)) x)))
#s(approx (/ (exp x) (- (exp x) 1)) (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64)))
#s(approx (/ (exp x) (- (exp x) 1)) #s(hole binary64 (/ (+ 1 (* x (+ 1/2 (* 1/12 x)))) x)))
#s(approx (/ (exp x) (- (exp x) 1)) (fma.f64 #s(literal 1/12 binary64) x (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64))))
#s(approx (/ (exp x) (- (exp x) 1)) #s(hole binary64 (/ (+ 1 (* x (+ 1/2 (* x (+ 1/12 (* -1/720 (pow x 2))))))) x)))
#s(approx (/ (exp x) (- (exp x) 1)) (fma.f64 (fma.f64 (*.f64 x x) #s(literal -1/720 binary64) #s(literal 1/12 binary64)) x (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64))))
#s(approx (exp x) #s(hole binary64 1))
#s(approx (exp x) #s(literal 1 binary64))
#s(approx (exp x) #s(hole binary64 (+ 1 x)))
#s(approx (exp x) (-.f64 x #s(literal -1 binary64)))
#s(approx (exp x) #s(hole binary64 (+ 1 (* x (+ 1 (* 1/2 x))))))
#s(approx (exp x) (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x #s(literal 1 binary64)))
#s(approx (exp x) #s(hole binary64 (+ 1 (* x (+ 1 (* x (+ 1/2 (* 1/6 x))))))))
#s(approx (exp x) (fma.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x #s(literal 1 binary64)))
#s(approx (- (exp x) 1) #s(hole binary64 x))
#s(approx (- (exp x) 1) x)
#s(approx (- (exp x) 1) #s(hole binary64 (* x (+ 1 (* 1/2 x)))))
#s(approx (- (exp x) 1) (*.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x))
#s(approx (- (exp x) 1) #s(hole binary64 (* x (+ 1 (* x (+ 1/2 (* 1/6 x)))))))
#s(approx (- (exp x) 1) (*.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x))
#s(approx (- (exp x) 1) #s(hole binary64 (* x (+ 1 (* x (+ 1/2 (* x (+ 1/6 (* 1/24 x)))))))))
#s(approx (- (exp x) 1) (*.f64 (fma.f64 (fma.f64 (fma.f64 #s(literal 1/24 binary64) x #s(literal 1/6 binary64)) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x))
#s(approx (/ 1 x) #s(hole binary64 (/ 1 x)))
#s(approx (/ 1 x) (/.f64 #s(literal 1 binary64) x))
#s(approx (- (/ 1 x) -1/2) #s(hole binary64 (/ 1 x)))
#s(approx (- (/ 1 x) -1/2) (/.f64 #s(literal 1 binary64) x))
#s(approx (- (/ 1 x) -1/2) #s(hole binary64 (/ (+ 1 (* 1/2 x)) x)))
#s(approx (- (/ 1 x) -1/2) (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64)))
#s(approx (+ (* 1/12 x) (- (/ 1 x) -1/2)) #s(hole binary64 (/ 1 x)))
#s(approx (+ (* 1/12 x) (- (/ 1 x) -1/2)) (/.f64 #s(literal 1 binary64) x))
#s(approx (+ (* 1/12 x) (- (/ 1 x) -1/2)) #s(hole binary64 (/ (+ 1 (* 1/2 x)) x)))
#s(approx (+ (* 1/12 x) (- (/ 1 x) -1/2)) (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64)))
#s(approx (+ (* 1/12 x) (- (/ 1 x) -1/2)) #s(hole binary64 (/ (+ 1 (* x (+ 1/2 (* 1/12 x)))) x)))
#s(approx (+ (* 1/12 x) (- (/ 1 x) -1/2)) (fma.f64 #s(literal 1/12 binary64) x (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64))))
#s(approx (+ (* (+ (* (* x x) -1/720) 1/12) x) (- (/ 1 x) -1/2)) #s(hole binary64 (/ 1 x)))
#s(approx (+ (* (+ (* (* x x) -1/720) 1/12) x) (- (/ 1 x) -1/2)) (/.f64 #s(literal 1 binary64) x))
#s(approx (+ (* (+ (* (* x x) -1/720) 1/12) x) (- (/ 1 x) -1/2)) #s(hole binary64 (/ (+ 1 (* 1/2 x)) x)))
#s(approx (+ (* (+ (* (* x x) -1/720) 1/12) x) (- (/ 1 x) -1/2)) (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64)))
#s(approx (+ (* (+ (* (* x x) -1/720) 1/12) x) (- (/ 1 x) -1/2)) #s(hole binary64 (/ (+ 1 (* x (+ 1/2 (* 1/12 x)))) x)))
#s(approx (+ (* (+ (* (* x x) -1/720) 1/12) x) (- (/ 1 x) -1/2)) (fma.f64 #s(literal 1/12 binary64) x (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64))))
#s(approx (+ (* (+ (* (* x x) -1/720) 1/12) x) (- (/ 1 x) -1/2)) #s(hole binary64 (/ (+ 1 (* x (+ 1/2 (* x (+ 1/12 (* -1/720 (pow x 2))))))) x)))
#s(approx (+ (* (+ (* (* x x) -1/720) 1/12) x) (- (/ 1 x) -1/2)) (fma.f64 (fma.f64 (*.f64 x x) #s(literal -1/720 binary64) #s(literal 1/12 binary64)) x (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64))))
#s(approx (+ (* (* x x) -1/720) 1/12) #s(hole binary64 1/12))
#s(approx (+ (* (* x x) -1/720) 1/12) #s(literal 1/12 binary64))
#s(approx (+ (* (* x x) -1/720) 1/12) #s(hole binary64 (+ 1/12 (* -1/720 (pow x 2)))))
#s(approx (+ (* (* x x) -1/720) 1/12) (fma.f64 (*.f64 x x) #s(literal -1/720 binary64) #s(literal 1/12 binary64)))
#s(approx (* x x) #s(hole binary64 (pow x 2)))
#s(approx (* x x) (*.f64 x x))
#s(approx (/ (exp x) (- (exp x) 1)) #s(hole binary64 (/ (exp x) (- (exp x) 1))))
#s(approx (/ (exp x) (- (exp x) 1)) (/.f64 (exp.f64 x) (expm1.f64 x)))
#s(approx (exp x) #s(hole binary64 (exp x)))
#s(approx (exp x) (exp.f64 x))
#s(approx (- (exp x) 1) #s(hole binary64 (- (exp x) 1)))
#s(approx (- (exp x) 1) (expm1.f64 x))
#s(approx (- (/ 1 x) -1/2) #s(hole binary64 1/2))
#s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64))
#s(approx (- (/ 1 x) -1/2) #s(hole binary64 (+ 1/2 (/ 1 x))))
#s(approx (- (/ 1 x) -1/2) (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64)))
#s(approx (+ (* 1/12 x) (- (/ 1 x) -1/2)) #s(hole binary64 (* 1/12 x)))
#s(approx (+ (* 1/12 x) (- (/ 1 x) -1/2)) (*.f64 #s(literal 1/12 binary64) x))
#s(approx (+ (* 1/12 x) (- (/ 1 x) -1/2)) #s(hole binary64 (* x (+ 1/12 (* 1/2 (/ 1 x))))))
#s(approx (+ (* 1/12 x) (- (/ 1 x) -1/2)) (fma.f64 #s(literal 1/12 binary64) x #s(literal 1/2 binary64)))
#s(approx (+ (* 1/12 x) (- (/ 1 x) -1/2)) #s(hole binary64 (* x (+ 1/12 (+ (* 1/2 (/ 1 x)) (/ 1 (pow x 2)))))))
#s(approx (+ (* 1/12 x) (- (/ 1 x) -1/2)) (fma.f64 #s(literal 1/12 binary64) x (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64))))
#s(approx (+ (* (+ (* (* x x) -1/720) 1/12) x) (- (/ 1 x) -1/2)) #s(hole binary64 (* -1/720 (pow x 3))))
#s(approx (+ (* (+ (* (* x x) -1/720) 1/12) x) (- (/ 1 x) -1/2)) (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/720 binary64)))
#s(approx (+ (* (+ (* (* x x) -1/720) 1/12) x) (- (/ 1 x) -1/2)) #s(hole binary64 (* (pow x 3) (- (* 1/12 (/ 1 (pow x 2))) 1/720))))
#s(approx (+ (* (+ (* (* x x) -1/720) 1/12) x) (- (/ 1 x) -1/2)) (*.f64 (-.f64 (/.f64 #s(literal 1/12 binary64) (*.f64 x x)) #s(literal 1/720 binary64)) (pow.f64 x #s(literal 3 binary64))))
#s(approx (+ (* (+ (* (* x x) -1/720) 1/12) x) (- (/ 1 x) -1/2)) #s(hole binary64 (* (pow x 3) (- (+ (/ 1/2 (pow x 3)) (* 1/12 (/ 1 (pow x 2)))) 1/720))))
#s(approx (+ (* (+ (* (* x x) -1/720) 1/12) x) (- (/ 1 x) -1/2)) (fma.f64 (-.f64 (/.f64 #s(literal 1/12 binary64) (*.f64 x x)) #s(literal 1/720 binary64)) (pow.f64 x #s(literal 3 binary64)) #s(literal 1/2 binary64)))
#s(approx (+ (* (+ (* (* x x) -1/720) 1/12) x) (- (/ 1 x) -1/2)) #s(hole binary64 (* (pow x 3) (- (+ (/ 1/2 (pow x 3)) (+ (* 1/12 (/ 1 (pow x 2))) (/ 1 (pow x 4)))) 1/720))))
#s(approx (+ (* (+ (* (* x x) -1/720) 1/12) x) (- (/ 1 x) -1/2)) (fma.f64 (-.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 4 binary64))) (-.f64 #s(literal 1/720 binary64) (/.f64 #s(literal 1/12 binary64) (*.f64 x x)))) (pow.f64 x #s(literal 3 binary64)) #s(literal 1/2 binary64)))
#s(approx (+ (* (* x x) -1/720) 1/12) #s(hole binary64 (* -1/720 (pow x 2))))
#s(approx (+ (* (* x x) -1/720) 1/12) (*.f64 (*.f64 x x) #s(literal -1/720 binary64)))
#s(approx (+ (* (* x x) -1/720) 1/12) #s(hole binary64 (* (pow x 2) (- (* 1/12 (/ 1 (pow x 2))) 1/720))))
#s(approx (+ (* (* x x) -1/720) 1/12) (*.f64 (*.f64 (-.f64 (/.f64 #s(literal 1/12 binary64) (*.f64 x x)) #s(literal 1/720 binary64)) x) x))
#s(approx (+ (* 1/12 x) (- (/ 1 x) -1/2)) #s(hole binary64 (* -1 (* x (- (* -1 (/ (+ 1/2 (/ 1 x)) x)) 1/12)))))
#s(approx (+ (* 1/12 x) (- (/ 1 x) -1/2)) (fma.f64 #s(literal 1/12 binary64) x (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64))))
#s(approx (+ (* (+ (* (* x x) -1/720) 1/12) x) (- (/ 1 x) -1/2)) #s(hole binary64 (* -1 (* (pow x 3) (- 1/720 (* 1/12 (/ 1 (pow x 2))))))))
#s(approx (+ (* (+ (* (* x x) -1/720) 1/12) x) (- (/ 1 x) -1/2)) (*.f64 (+.f64 (/.f64 #s(literal 1/12 binary64) (*.f64 x x)) #s(literal -1/720 binary64)) (pow.f64 x #s(literal 3 binary64))))
#s(approx (+ (* (+ (* (* x x) -1/720) 1/12) x) (- (/ 1 x) -1/2)) #s(hole binary64 (* -1 (* (pow x 3) (+ 1/720 (* -1 (/ (+ 1/12 (* 1/2 (/ 1 x))) (pow x 2))))))))
#s(approx (+ (* (+ (* (* x x) -1/720) 1/12) x) (- (/ 1 x) -1/2)) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/720 binary64) (fma.f64 (/.f64 #s(literal 1/12 binary64) (*.f64 x x)) (pow.f64 x #s(literal 3 binary64)) #s(literal 1/2 binary64))))
#s(approx (+ (* (+ (* (* x x) -1/720) 1/12) x) (- (/ 1 x) -1/2)) #s(hole binary64 (* -1 (* (pow x 3) (- (+ 1/720 (* -1 (/ (+ 1/2 (/ 1 x)) (pow x 3)))) (* 1/12 (/ 1 (pow x 2))))))))
#s(approx (+ (* (+ (* (* x x) -1/720) 1/12) x) (- (/ 1 x) -1/2)) (*.f64 (pow.f64 (neg.f64 x) #s(literal 3 binary64)) (-.f64 #s(literal 1/720 binary64) (/.f64 (/.f64 (-.f64 (/.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64)) x) #s(literal -1/12 binary64)) x) x))))

rewrite81.0ms (2.3%)

Memory
8.9MiB live, 51.7MiB allocated; 8ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
021100
033100
1127100
0946100
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
13 → 121
Calls
Call 1
Inputs
(/.f64 (exp.f64 x) (expm1.f64 x))
(exp.f64 x)
(expm1.f64 x)
#s(approx (/ (exp x) (- (exp x) 1)) (/.f64 #s(literal 1 binary64) x))
(/.f64 #s(literal 1 binary64) x)
#s(approx (/ (exp x) (- (exp x) 1)) (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64)))
(-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64))
#s(approx (/ (exp x) (- (exp x) 1)) (fma.f64 #s(literal 1/12 binary64) x (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64))))
(fma.f64 #s(literal 1/12 binary64) x (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64)))
#s(approx (/ (exp x) (- (exp x) 1)) (fma.f64 (fma.f64 (*.f64 x x) #s(literal -1/720 binary64) #s(literal 1/12 binary64)) x (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64))))
(fma.f64 (fma.f64 (*.f64 x x) #s(literal -1/720 binary64) #s(literal 1/12 binary64)) x (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64)))
(fma.f64 (*.f64 x x) #s(literal -1/720 binary64) #s(literal 1/12 binary64))
(*.f64 x x)
Outputs
(*.f64 (/.f64 (exp.f64 x) (expm1.f64 (+.f64 x x))) (-.f64 (exp.f64 x) #s(literal -1 binary64)))
(*.f64 (/.f64 (exp.f64 x) (expm1.f64 (*.f64 x #s(literal 3 binary64)))) (fma.f64 (exp.f64 x) (exp.f64 x) (-.f64 (exp.f64 x) #s(literal -1 binary64))))
(/.f64 (neg.f64 (neg.f64 (exp.f64 x))) (neg.f64 (neg.f64 (expm1.f64 x))))
(/.f64 (neg.f64 (exp.f64 x)) (neg.f64 (expm1.f64 x)))
(/.f64 (exp.f64 x) (expm1.f64 x))
(neg.f64 (/.f64 (neg.f64 (exp.f64 x)) (expm1.f64 x)))
(neg.f64 (/.f64 (exp.f64 x) (neg.f64 (expm1.f64 x))))
(+.f64 (/.f64 (cosh.f64 x) (expm1.f64 x)) (/.f64 (sinh.f64 x) (expm1.f64 x)))
(*.f64 #s(literal 1 binary64) (exp.f64 x))
(*.f64 (exp.f64 x) #s(literal 1 binary64))
(/.f64 (-.f64 (*.f64 (cosh.f64 x) (cosh.f64 x)) (*.f64 (sinh.f64 x) (sinh.f64 x))) (-.f64 (cosh.f64 x) (sinh.f64 x)))
(/.f64 (+.f64 (pow.f64 (cosh.f64 x) #s(literal 3 binary64)) (pow.f64 (sinh.f64 x) #s(literal 3 binary64))) (fma.f64 (cosh.f64 x) (cosh.f64 x) (-.f64 (*.f64 (sinh.f64 x) (sinh.f64 x)) (*.f64 (cosh.f64 x) (sinh.f64 x)))))
(+.f64 (sinh.f64 x) (cosh.f64 x))
(+.f64 (cosh.f64 x) (sinh.f64 x))
(exp.f64 (+.f64 x #s(literal 0 binary64)))
(exp.f64 x)
(/.f64 (neg.f64 (expm1.f64 (+.f64 x x))) (neg.f64 (-.f64 (exp.f64 x) #s(literal -1 binary64))))
(/.f64 (neg.f64 (expm1.f64 (*.f64 x #s(literal 3 binary64)))) (neg.f64 (fma.f64 (exp.f64 x) (exp.f64 x) (-.f64 (exp.f64 x) #s(literal -1 binary64)))))
(/.f64 (expm1.f64 (+.f64 x x)) (-.f64 (exp.f64 x) #s(literal -1 binary64)))
(/.f64 (expm1.f64 (*.f64 x #s(literal 3 binary64))) (fma.f64 (exp.f64 x) (exp.f64 x) (-.f64 (exp.f64 x) #s(literal -1 binary64))))
(fma.f64 #s(literal 1 binary64) (exp.f64 x) #s(literal -1 binary64))
(fma.f64 (exp.f64 x) #s(literal 1 binary64) #s(literal -1 binary64))
(expm1.f64 (+.f64 x #s(literal 0 binary64)))
(expm1.f64 x)
(-.f64 (/.f64 (pow.f64 (exp.f64 x) #s(literal 2 binary64)) (-.f64 (exp.f64 x) #s(literal -1 binary64))) (/.f64 #s(literal 1 binary64) (-.f64 (exp.f64 x) #s(literal -1 binary64))))
(-.f64 (/.f64 (pow.f64 (exp.f64 x) #s(literal 3 binary64)) (fma.f64 (exp.f64 x) (exp.f64 x) (-.f64 (exp.f64 x) #s(literal -1 binary64)))) (/.f64 #s(literal 1 binary64) (fma.f64 (exp.f64 x) (exp.f64 x) (-.f64 (exp.f64 x) #s(literal -1 binary64)))))
(-.f64 (exp.f64 x) #s(literal 1 binary64))
(+.f64 (cosh.f64 x) (-.f64 (sinh.f64 x) #s(literal 1 binary64)))
(+.f64 (exp.f64 x) #s(literal -1 binary64))
#s(approx (/ (exp x) (- (exp x) 1)) (pow.f64 x #s(literal -1 binary64)))
(*.f64 (pow.f64 x #s(literal -1/2 binary64)) (pow.f64 x #s(literal -1/2 binary64)))
(*.f64 #s(literal 1 binary64) (pow.f64 x #s(literal -1 binary64)))
(pow.f64 x #s(literal -1 binary64))
(/.f64 #s(literal -1 binary64) (neg.f64 x))
(/.f64 #s(literal 1 binary64) (neg.f64 (neg.f64 x)))
(/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 1 binary64)))
(/.f64 #s(literal 1 binary64) x)
(neg.f64 (/.f64 #s(literal -1 binary64) x))
(neg.f64 (/.f64 #s(literal 1 binary64) (neg.f64 x)))
(exp.f64 (*.f64 (log.f64 x) #s(literal -1 binary64)))
#s(approx (/ (exp x) (- (exp x) 1)) (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1/2 binary64)))
(/.f64 (neg.f64 (-.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/4 binary64))) (neg.f64 (+.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal -1 binary64)))))
(/.f64 (neg.f64 (-.f64 (pow.f64 x #s(literal -3 binary64)) #s(literal -1/8 binary64))) (neg.f64 (+.f64 (+.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/4 binary64)) (/.f64 #s(literal -1/2 binary64) x))))
(/.f64 (-.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/4 binary64)) (+.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal -1 binary64))))
(/.f64 (-.f64 (pow.f64 x #s(literal -3 binary64)) #s(literal -1/8 binary64)) (+.f64 (+.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/4 binary64)) (/.f64 #s(literal -1/2 binary64) x)))
(-.f64 (/.f64 (pow.f64 x #s(literal -2 binary64)) (+.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal -1 binary64)))) (/.f64 #s(literal 1/4 binary64) (+.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal -1 binary64)))))
(-.f64 (/.f64 (pow.f64 x #s(literal -3 binary64)) (+.f64 (+.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/4 binary64)) (/.f64 #s(literal -1/2 binary64) x))) (/.f64 #s(literal -1/8 binary64) (+.f64 (+.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/4 binary64)) (/.f64 #s(literal -1/2 binary64) x))))
(-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1/2 binary64))
#s(approx (/ (exp x) (- (exp x) 1)) (fma.f64 #s(literal 1/12 binary64) x (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1/2 binary64))))
(/.f64 (-.f64 (*.f64 (fma.f64 #s(literal 1/12 binary64) x (pow.f64 x #s(literal -1 binary64))) (fma.f64 #s(literal 1/12 binary64) x (pow.f64 x #s(literal -1 binary64)))) #s(literal 1/4 binary64)) (+.f64 (fma.f64 #s(literal 1/12 binary64) x (pow.f64 x #s(literal -1 binary64))) #s(literal -1/2 binary64)))
(/.f64 (-.f64 (pow.f64 (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1/2 binary64)) #s(literal 2 binary64)) (*.f64 #s(literal 1/144 binary64) (*.f64 x x))) (-.f64 (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1/2 binary64)) (*.f64 #s(literal 1/12 binary64) x)))
(/.f64 (-.f64 (pow.f64 (fma.f64 #s(literal 1/12 binary64) x (pow.f64 x #s(literal -1 binary64))) #s(literal 3 binary64)) #s(literal -1/8 binary64)) (fma.f64 (fma.f64 #s(literal 1/12 binary64) x (pow.f64 x #s(literal -1 binary64))) (fma.f64 #s(literal 1/12 binary64) x (pow.f64 x #s(literal -1 binary64))) (+.f64 #s(literal 1/4 binary64) (*.f64 (fma.f64 #s(literal 1/12 binary64) x (pow.f64 x #s(literal -1 binary64))) #s(literal -1/2 binary64)))))
(/.f64 (neg.f64 (-.f64 (*.f64 #s(literal 1/144 binary64) (*.f64 x x)) (pow.f64 (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1/2 binary64)) #s(literal 2 binary64)))) (neg.f64 (-.f64 (*.f64 #s(literal 1/12 binary64) x) (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1/2 binary64)))))
(/.f64 (neg.f64 (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/1728 binary64) (pow.f64 (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1/2 binary64)) #s(literal 3 binary64)))) (neg.f64 (fma.f64 #s(literal 1/144 binary64) (*.f64 x x) (*.f64 (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1/2 binary64)) (-.f64 (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1/2 binary64)) (*.f64 #s(literal 1/12 binary64) x))))))
(/.f64 (-.f64 (*.f64 #s(literal 1/144 binary64) (*.f64 x x)) (pow.f64 (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1/2 binary64)) #s(literal 2 binary64))) (-.f64 (*.f64 #s(literal 1/12 binary64) x) (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1/2 binary64))))
(/.f64 (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/1728 binary64) (pow.f64 (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1/2 binary64)) #s(literal 3 binary64))) (+.f64 (pow.f64 (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1/2 binary64)) #s(literal 2 binary64)) (-.f64 (*.f64 #s(literal 1/144 binary64) (*.f64 x x)) (*.f64 (*.f64 #s(literal 1/12 binary64) x) (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1/2 binary64))))))
(/.f64 (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/1728 binary64) (pow.f64 (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1/2 binary64)) #s(literal 3 binary64))) (fma.f64 #s(literal 1/144 binary64) (*.f64 x x) (*.f64 (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1/2 binary64)) (-.f64 (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1/2 binary64)) (*.f64 #s(literal 1/12 binary64) x)))))
(fma.f64 #s(literal 1/12 binary64) x (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1/2 binary64)))
(fma.f64 x #s(literal 1/12 binary64) (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1/2 binary64)))
(-.f64 (/.f64 (*.f64 #s(literal 1/144 binary64) (*.f64 x x)) (-.f64 (*.f64 #s(literal 1/12 binary64) x) (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1/2 binary64)))) (/.f64 (pow.f64 (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1/2 binary64)) #s(literal 2 binary64)) (-.f64 (*.f64 #s(literal 1/12 binary64) x) (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1/2 binary64)))))
(-.f64 (fma.f64 #s(literal 1/12 binary64) x (pow.f64 x #s(literal -1 binary64))) #s(literal -1/2 binary64))
(-.f64 (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1/2 binary64)) (*.f64 #s(literal -1/12 binary64) x))
(-.f64 (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1/2 binary64)) (*.f64 (neg.f64 x) #s(literal 1/12 binary64)))
(-.f64 (pow.f64 x #s(literal -1 binary64)) (-.f64 #s(literal -1/2 binary64) (*.f64 #s(literal 1/12 binary64) x)))
(+.f64 (/.f64 (pow.f64 (*.f64 #s(literal 1/12 binary64) x) #s(literal 3 binary64)) (fma.f64 #s(literal 1/144 binary64) (*.f64 x x) (*.f64 (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1/2 binary64)) (-.f64 (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1/2 binary64)) (*.f64 #s(literal 1/12 binary64) x))))) (/.f64 (pow.f64 (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1/2 binary64)) #s(literal 3 binary64)) (fma.f64 #s(literal 1/144 binary64) (*.f64 x x) (*.f64 (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1/2 binary64)) (-.f64 (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1/2 binary64)) (*.f64 #s(literal 1/12 binary64) x))))))
(+.f64 (*.f64 #s(literal 1/12 binary64) x) (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1/2 binary64)))
(+.f64 (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1/2 binary64)) (*.f64 #s(literal 1/12 binary64) x))
#s(approx (/ (exp x) (- (exp x) 1)) (fma.f64 (fma.f64 #s(literal -1/720 binary64) (*.f64 x x) #s(literal 1/12 binary64)) x (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1/2 binary64))))
(/.f64 (-.f64 (*.f64 (fma.f64 (fma.f64 #s(literal -1/720 binary64) (*.f64 x x) #s(literal 1/12 binary64)) x (pow.f64 x #s(literal -1 binary64))) (fma.f64 (fma.f64 #s(literal -1/720 binary64) (*.f64 x x) #s(literal 1/12 binary64)) x (pow.f64 x #s(literal -1 binary64)))) #s(literal 1/4 binary64)) (+.f64 (fma.f64 (fma.f64 #s(literal -1/720 binary64) (*.f64 x x) #s(literal 1/12 binary64)) x (pow.f64 x #s(literal -1 binary64))) #s(literal -1/2 binary64)))
(/.f64 (-.f64 (pow.f64 (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1/2 binary64)) #s(literal 2 binary64)) (pow.f64 (*.f64 (fma.f64 #s(literal -1/720 binary64) (*.f64 x x) #s(literal 1/12 binary64)) x) #s(literal 2 binary64))) (-.f64 (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1/2 binary64)) (*.f64 (fma.f64 #s(literal -1/720 binary64) (*.f64 x x) #s(literal 1/12 binary64)) x)))
(/.f64 (-.f64 (pow.f64 (fma.f64 (fma.f64 #s(literal -1/720 binary64) (*.f64 x x) #s(literal 1/12 binary64)) x (pow.f64 x #s(literal -1 binary64))) #s(literal 3 binary64)) #s(literal -1/8 binary64)) (fma.f64 (fma.f64 (fma.f64 #s(literal -1/720 binary64) (*.f64 x x) #s(literal 1/12 binary64)) x (pow.f64 x #s(literal -1 binary64))) (fma.f64 (fma.f64 #s(literal -1/720 binary64) (*.f64 x x) #s(literal 1/12 binary64)) x (pow.f64 x #s(literal -1 binary64))) (+.f64 #s(literal 1/4 binary64) (*.f64 (fma.f64 (fma.f64 #s(literal -1/720 binary64) (*.f64 x x) #s(literal 1/12 binary64)) x (pow.f64 x #s(literal -1 binary64))) #s(literal -1/2 binary64)))))
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 (fma.f64 #s(literal -1/720 binary64) (*.f64 x x) #s(literal 1/12 binary64)) x) #s(literal 2 binary64)) (pow.f64 (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1/2 binary64)) #s(literal 2 binary64)))) (neg.f64 (-.f64 (*.f64 (fma.f64 #s(literal -1/720 binary64) (*.f64 x x) #s(literal 1/12 binary64)) x) (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1/2 binary64)))))
(/.f64 (neg.f64 (+.f64 (pow.f64 (*.f64 (fma.f64 #s(literal -1/720 binary64) (*.f64 x x) #s(literal 1/12 binary64)) x) #s(literal 3 binary64)) (pow.f64 (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1/2 binary64)) #s(literal 3 binary64)))) (neg.f64 (fma.f64 (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1/2 binary64)) (-.f64 (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1/2 binary64)) (*.f64 (fma.f64 #s(literal -1/720 binary64) (*.f64 x x) #s(literal 1/12 binary64)) x)) (pow.f64 (*.f64 (fma.f64 #s(literal -1/720 binary64) (*.f64 x x) #s(literal 1/12 binary64)) x) #s(literal 2 binary64)))))
(/.f64 (-.f64 (pow.f64 (*.f64 (fma.f64 #s(literal -1/720 binary64) (*.f64 x x) #s(literal 1/12 binary64)) x) #s(literal 2 binary64)) (pow.f64 (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1/2 binary64)) #s(literal 2 binary64))) (-.f64 (*.f64 (fma.f64 #s(literal -1/720 binary64) (*.f64 x x) #s(literal 1/12 binary64)) x) (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1/2 binary64))))
(/.f64 (+.f64 (pow.f64 (*.f64 (fma.f64 #s(literal -1/720 binary64) (*.f64 x x) #s(literal 1/12 binary64)) x) #s(literal 3 binary64)) (pow.f64 (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1/2 binary64)) #s(literal 3 binary64))) (+.f64 (pow.f64 (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1/2 binary64)) #s(literal 2 binary64)) (-.f64 (pow.f64 (*.f64 (fma.f64 #s(literal -1/720 binary64) (*.f64 x x) #s(literal 1/12 binary64)) x) #s(literal 2 binary64)) (*.f64 (*.f64 (fma.f64 #s(literal -1/720 binary64) (*.f64 x x) #s(literal 1/12 binary64)) x) (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1/2 binary64))))))
(/.f64 (+.f64 (pow.f64 (*.f64 (fma.f64 #s(literal -1/720 binary64) (*.f64 x x) #s(literal 1/12 binary64)) x) #s(literal 3 binary64)) (pow.f64 (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1/2 binary64)) #s(literal 3 binary64))) (fma.f64 (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1/2 binary64)) (-.f64 (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1/2 binary64)) (*.f64 (fma.f64 #s(literal -1/720 binary64) (*.f64 x x) #s(literal 1/12 binary64)) x)) (pow.f64 (*.f64 (fma.f64 #s(literal -1/720 binary64) (*.f64 x x) #s(literal 1/12 binary64)) x) #s(literal 2 binary64))))
(fma.f64 (fma.f64 #s(literal -1/720 binary64) (*.f64 x x) #s(literal 1/12 binary64)) x (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1/2 binary64)))
(fma.f64 x (fma.f64 #s(literal -1/720 binary64) (*.f64 x x) #s(literal 1/12 binary64)) (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1/2 binary64)))
(-.f64 (/.f64 (pow.f64 (*.f64 (fma.f64 #s(literal -1/720 binary64) (*.f64 x x) #s(literal 1/12 binary64)) x) #s(literal 2 binary64)) (-.f64 (*.f64 (fma.f64 #s(literal -1/720 binary64) (*.f64 x x) #s(literal 1/12 binary64)) x) (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1/2 binary64)))) (/.f64 (pow.f64 (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1/2 binary64)) #s(literal 2 binary64)) (-.f64 (*.f64 (fma.f64 #s(literal -1/720 binary64) (*.f64 x x) #s(literal 1/12 binary64)) x) (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1/2 binary64)))))
(-.f64 (fma.f64 (fma.f64 #s(literal -1/720 binary64) (*.f64 x x) #s(literal 1/12 binary64)) x (pow.f64 x #s(literal -1 binary64))) #s(literal -1/2 binary64))
(-.f64 (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1/2 binary64)) (*.f64 (neg.f64 (fma.f64 #s(literal -1/720 binary64) (*.f64 x x) #s(literal 1/12 binary64))) x))
(-.f64 (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1/2 binary64)) (*.f64 (neg.f64 x) (fma.f64 #s(literal -1/720 binary64) (*.f64 x x) #s(literal 1/12 binary64))))
(-.f64 (pow.f64 x #s(literal -1 binary64)) (-.f64 #s(literal -1/2 binary64) (*.f64 (fma.f64 #s(literal -1/720 binary64) (*.f64 x x) #s(literal 1/12 binary64)) x)))
(+.f64 (/.f64 (pow.f64 (*.f64 (fma.f64 #s(literal -1/720 binary64) (*.f64 x x) #s(literal 1/12 binary64)) x) #s(literal 3 binary64)) (fma.f64 (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1/2 binary64)) (-.f64 (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1/2 binary64)) (*.f64 (fma.f64 #s(literal -1/720 binary64) (*.f64 x x) #s(literal 1/12 binary64)) x)) (pow.f64 (*.f64 (fma.f64 #s(literal -1/720 binary64) (*.f64 x x) #s(literal 1/12 binary64)) x) #s(literal 2 binary64)))) (/.f64 (pow.f64 (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1/2 binary64)) #s(literal 3 binary64)) (fma.f64 (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1/2 binary64)) (-.f64 (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1/2 binary64)) (*.f64 (fma.f64 #s(literal -1/720 binary64) (*.f64 x x) #s(literal 1/12 binary64)) x)) (pow.f64 (*.f64 (fma.f64 #s(literal -1/720 binary64) (*.f64 x x) #s(literal 1/12 binary64)) x) #s(literal 2 binary64)))))
(+.f64 (*.f64 (fma.f64 #s(literal -1/720 binary64) (*.f64 x x) #s(literal 1/12 binary64)) x) (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1/2 binary64)))
(+.f64 (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1/2 binary64)) (*.f64 (fma.f64 #s(literal -1/720 binary64) (*.f64 x x) #s(literal 1/12 binary64)) x))
(/.f64 (-.f64 #s(literal 1/144 binary64) (pow.f64 (*.f64 #s(literal -1/720 binary64) (*.f64 x x)) #s(literal 2 binary64))) (-.f64 #s(literal 1/12 binary64) (*.f64 #s(literal -1/720 binary64) (*.f64 x x))))
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 #s(literal -1/720 binary64) (*.f64 x x)) #s(literal 2 binary64)) #s(literal 1/144 binary64))) (neg.f64 (-.f64 (*.f64 #s(literal -1/720 binary64) (*.f64 x x)) #s(literal 1/12 binary64))))
(/.f64 (neg.f64 (fma.f64 #s(literal -1/373248000 binary64) (pow.f64 (*.f64 x x) #s(literal 3 binary64)) #s(literal 1/1728 binary64))) (neg.f64 (-.f64 (+.f64 (pow.f64 (*.f64 #s(literal -1/720 binary64) (*.f64 x x)) #s(literal 2 binary64)) #s(literal 1/144 binary64)) (*.f64 (*.f64 x x) #s(literal -1/8640 binary64)))))
(/.f64 (-.f64 (pow.f64 (*.f64 #s(literal -1/720 binary64) (*.f64 x x)) #s(literal 2 binary64)) #s(literal 1/144 binary64)) (-.f64 (*.f64 #s(literal -1/720 binary64) (*.f64 x x)) #s(literal 1/12 binary64)))
(/.f64 (fma.f64 #s(literal -1/373248000 binary64) (pow.f64 (*.f64 x x) #s(literal 3 binary64)) #s(literal 1/1728 binary64)) (+.f64 #s(literal 1/144 binary64) (-.f64 (pow.f64 (*.f64 #s(literal -1/720 binary64) (*.f64 x x)) #s(literal 2 binary64)) (*.f64 (*.f64 x x) #s(literal -1/8640 binary64)))))
(/.f64 (fma.f64 #s(literal -1/373248000 binary64) (pow.f64 (*.f64 x x) #s(literal 3 binary64)) #s(literal 1/1728 binary64)) (-.f64 (+.f64 (pow.f64 (*.f64 #s(literal -1/720 binary64) (*.f64 x x)) #s(literal 2 binary64)) #s(literal 1/144 binary64)) (*.f64 (*.f64 x x) #s(literal -1/8640 binary64))))
(fma.f64 (*.f64 #s(literal -1/720 binary64) (neg.f64 x)) (neg.f64 x) #s(literal 1/12 binary64))
(fma.f64 (*.f64 #s(literal -1/720 binary64) (fabs.f64 x)) (fabs.f64 x) #s(literal 1/12 binary64))
(fma.f64 (*.f64 #s(literal -1/720 binary64) x) x #s(literal 1/12 binary64))
(fma.f64 (neg.f64 x) (*.f64 (neg.f64 x) #s(literal -1/720 binary64)) #s(literal 1/12 binary64))
(fma.f64 (fabs.f64 x) (*.f64 (fabs.f64 x) #s(literal -1/720 binary64)) #s(literal 1/12 binary64))
(fma.f64 #s(literal -1/720 binary64) (*.f64 x x) #s(literal 1/12 binary64))
(fma.f64 (*.f64 x x) #s(literal -1/720 binary64) #s(literal 1/12 binary64))
(fma.f64 x (*.f64 #s(literal -1/720 binary64) x) #s(literal 1/12 binary64))
(-.f64 (/.f64 (pow.f64 (*.f64 #s(literal -1/720 binary64) (*.f64 x x)) #s(literal 2 binary64)) (-.f64 (*.f64 #s(literal -1/720 binary64) (*.f64 x x)) #s(literal 1/12 binary64))) (/.f64 #s(literal 1/144 binary64) (-.f64 (*.f64 #s(literal -1/720 binary64) (*.f64 x x)) #s(literal 1/12 binary64))))
(-.f64 #s(literal 1/12 binary64) (*.f64 #s(literal 1/720 binary64) (*.f64 x x)))
(-.f64 #s(literal 1/12 binary64) (*.f64 (neg.f64 (*.f64 x x)) #s(literal -1/720 binary64)))
(-.f64 #s(literal 1/12 binary64) (*.f64 (neg.f64 x) (*.f64 #s(literal -1/720 binary64) x)))
(+.f64 (/.f64 (pow.f64 (*.f64 #s(literal -1/720 binary64) (*.f64 x x)) #s(literal 3 binary64)) (-.f64 (+.f64 (pow.f64 (*.f64 #s(literal -1/720 binary64) (*.f64 x x)) #s(literal 2 binary64)) #s(literal 1/144 binary64)) (*.f64 (*.f64 x x) #s(literal -1/8640 binary64)))) (/.f64 #s(literal 1/1728 binary64) (-.f64 (+.f64 (pow.f64 (*.f64 #s(literal -1/720 binary64) (*.f64 x x)) #s(literal 2 binary64)) #s(literal 1/144 binary64)) (*.f64 (*.f64 x x) #s(literal -1/8640 binary64)))))
(+.f64 (*.f64 #s(literal -1/720 binary64) (*.f64 x x)) #s(literal 1/12 binary64))
(+.f64 #s(literal 1/12 binary64) (*.f64 #s(literal -1/720 binary64) (*.f64 x x)))
(*.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)))
(*.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)))
(*.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)))
(*.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)))
(*.f64 (neg.f64 x) (neg.f64 x))
(*.f64 (fabs.f64 x) (fabs.f64 x))
(*.f64 x x)
(pow.f64 (neg.f64 x) #s(literal 2 binary64))
(pow.f64 (fabs.f64 x) #s(literal 2 binary64))
(pow.f64 x #s(literal 2 binary64))
(neg.f64 (*.f64 (neg.f64 x) x))
(neg.f64 (*.f64 x (neg.f64 x)))
(fabs.f64 (*.f64 x x))
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))

eval33.0ms (1%)

Memory
-10.3MiB live, 48.2MiB allocated; 9ms collecting garbage
Compiler

Compiled 4 903 to 689 computations (85.9% saved)

prune8.0ms (0.2%)

Memory
16.5MiB live, 16.5MiB allocated; 0ms collecting garbage
Pruning

9 alts after pruning (4 fresh and 5 done)

PrunedKeptTotal
New2113214
Fresh011
Picked055
Done000
Total2119220
Accuracy
100.0%
Counts
220 → 9
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(/.f64 (exp.f64 x) (expm1.f64 x))
98.8%
(/.f64 (exp.f64 x) #s(approx (- (exp x) 1) x))
69.7%
#s(approx (/ (exp x) (- (exp x) 1)) (fma.f64 (fma.f64 (*.f64 x x) #s(literal -1/720 binary64) #s(literal 1/12 binary64)) x (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64))))
69.6%
#s(approx (/ (exp x) (- (exp x) 1)) (fma.f64 #s(literal 1/12 binary64) x (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64))))
3.0%
#s(approx (/ (exp x) (- (exp x) 1)) (fma.f64 #s(literal 1/12 binary64) x #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64))))
69.4%
#s(approx (/ (exp x) (- (exp x) 1)) (/.f64 #s(literal 1 binary64) x))
69.5%
#s(approx (/ (exp x) (- (exp x) 1)) (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64)))
3.3%
#s(approx (/ (exp x) (- (exp x) 1)) #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64)))
3.2%
#s(approx (/ (exp x) (- (exp x) 1)) #s(approx (+ (* 1/12 x) (- (/ 1 x) -1/2)) (*.f64 #s(literal 1/12 binary64) x)))
Compiler

Compiled 129 to 95 computations (26.4% saved)

simplify243.0ms (7%)

Memory
1.4MiB live, 189.6MiB allocated; 28ms collecting garbage
Localize:

Found 11 expressions of interest:

NewMetricScoreProgram
cost-diff0
#s(approx (- (exp x) 1) x)
cost-diff0
(exp.f64 x)
cost-diff0
(/.f64 (exp.f64 x) #s(approx (- (exp x) 1) x))
cost-diff0
#s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64))
cost-diff0
(fma.f64 #s(literal 1/12 binary64) x #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64)))
cost-diff0
#s(approx (/ (exp x) (- (exp x) 1)) (fma.f64 #s(literal 1/12 binary64) x #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64))))
cost-diff0
#s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64))
cost-diff0
#s(approx (/ (exp x) (- (exp x) 1)) #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64)))
cost-diff0
(*.f64 #s(literal 1/12 binary64) x)
cost-diff0
#s(approx (+ (* 1/12 x) (- (/ 1 x) -1/2)) (*.f64 #s(literal 1/12 binary64) x))
cost-diff0
#s(approx (/ (exp x) (- (exp x) 1)) #s(approx (+ (* 1/12 x) (- (/ 1 x) -1/2)) (*.f64 #s(literal 1/12 binary64) x)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
022118
027118
137118
267118
3125118
4425118
53417118
08308106
Stop Event
iter limit
node limit
iter limit
Calls
Call 1
Inputs
#s(approx (/ (exp x) (- (exp x) 1)) #s(approx (+ (* 1/12 x) (- (/ 1 x) -1/2)) (*.f64 #s(literal 1/12 binary64) x)))
#s(approx (+ (* 1/12 x) (- (/ 1 x) -1/2)) (*.f64 #s(literal 1/12 binary64) x))
(*.f64 #s(literal 1/12 binary64) x)
#s(literal 1/12 binary64)
x
#s(approx (/ (exp x) (- (exp x) 1)) #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64)))
#s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64))
#s(literal 1/2 binary64)
#s(approx (/ (exp x) (- (exp x) 1)) (fma.f64 #s(literal 1/12 binary64) x #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64))))
(fma.f64 #s(literal 1/12 binary64) x #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64)))
#s(literal 1/12 binary64)
x
#s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64))
#s(literal 1/2 binary64)
(/.f64 (exp.f64 x) #s(approx (- (exp x) 1) x))
(exp.f64 x)
x
#s(approx (- (exp x) 1) x)
Outputs
#s(approx (/ (exp x) (- (exp x) 1)) #s(approx (+ (* 1/12 x) (- (/ 1 x) -1/2)) (*.f64 #s(literal 1/12 binary64) x)))
#s(approx (+ (* 1/12 x) (- (/ 1 x) -1/2)) (*.f64 #s(literal 1/12 binary64) x))
(*.f64 #s(literal 1/12 binary64) x)
#s(literal 1/12 binary64)
x
#s(approx (/ (exp x) (- (exp x) 1)) #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64)))
#s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64))
#s(literal 1/2 binary64)
#s(approx (/ (exp x) (- (exp x) 1)) (fma.f64 #s(literal 1/12 binary64) x #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64))))
(fma.f64 #s(literal 1/12 binary64) x #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64)))
#s(literal 1/12 binary64)
x
#s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64))
#s(literal 1/2 binary64)
(/.f64 (exp.f64 x) #s(approx (- (exp x) 1) x))
(exp.f64 x)
x
#s(approx (- (exp x) 1) x)

localize69.0ms (2%)

Memory
-19.0MiB live, 27.5MiB allocated; 2ms collecting garbage
Localize:

Found 11 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(exp.f64 x)
accuracy0.0078125
(/.f64 (exp.f64 x) #s(approx (- (exp x) 1) x))
accuracy19.378551017548386
#s(approx (- (exp x) 1) x)
accuracy0.08984375
(fma.f64 #s(literal 1/12 binary64) x #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64)))
accuracy19.449967132864405
#s(approx (/ (exp x) (- (exp x) 1)) (fma.f64 #s(literal 1/12 binary64) x #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64))))
accuracy43.099360443758385
#s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64))
accuracy19.525620944253387
#s(approx (/ (exp x) (- (exp x) 1)) #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64)))
accuracy43.099360443758385
#s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64))
accuracy0.34375
(*.f64 #s(literal 1/12 binary64) x)
accuracy19.449967132864405
#s(approx (/ (exp x) (- (exp x) 1)) #s(approx (+ (* 1/12 x) (- (/ 1 x) -1/2)) (*.f64 #s(literal 1/12 binary64) x)))
accuracy42.9843911970774
#s(approx (+ (* 1/12 x) (- (/ 1 x) -1/2)) (*.f64 #s(literal 1/12 binary64) x))
Samples
61.0ms256×0valid
Compiler

Compiled 74 to 14 computations (81.1% saved)

Precisions
Click to see histograms. Total time spent on operations: 51.0ms
ival-mult: 37.0ms (72% of total)
ival-div: 4.0ms (7.8% of total)
const: 3.0ms (5.8% of total)
ival-exp: 2.0ms (3.9% of total)
ival-expm1: 2.0ms (3.9% of total)
ival-add: 1.0ms (1.9% of total)
ival-sub: 1.0ms (1.9% of total)
adjust: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)

series3.0ms (0.1%)

Memory
2.5MiB live, 2.5MiB allocated; 0ms collecting garbage
Counts
10 → 27
Calls
Call 1
Inputs
#s(approx (/ (exp x) (- (exp x) 1)) #s(approx (+ (* 1/12 x) (- (/ 1 x) -1/2)) (*.f64 #s(literal 1/12 binary64) x)))
#s(approx (+ (* 1/12 x) (- (/ 1 x) -1/2)) (*.f64 #s(literal 1/12 binary64) x))
(*.f64 #s(literal 1/12 binary64) x)
#s(approx (/ (exp x) (- (exp x) 1)) #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64)))
#s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64))
#s(approx (/ (exp x) (- (exp x) 1)) (fma.f64 #s(literal 1/12 binary64) x #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64))))
(fma.f64 #s(literal 1/12 binary64) x #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64)))
(/.f64 (exp.f64 x) #s(approx (- (exp x) 1) x))
(exp.f64 x)
#s(approx (- (exp x) 1) x)
Outputs
#s(approx (/ (exp x) (- (exp x) 1)) #s(hole binary64 (/ 1 x)))
#s(approx (/ (exp x) (- (exp x) 1)) #s(hole binary64 (/ (+ 1 (* 1/2 x)) x)))
#s(approx (/ (exp x) (- (exp x) 1)) #s(hole binary64 (/ (+ 1 (* x (+ 1/2 (* 1/12 x)))) x)))
#s(approx (/ (exp x) (- (exp x) 1)) #s(hole binary64 (/ (+ 1 (* x (+ 1/2 (* x (+ 1/12 (* -1/720 (pow x 2))))))) x)))
#s(approx (+ (* 1/12 x) (- (/ 1 x) -1/2)) #s(hole binary64 (/ 1 x)))
#s(approx (+ (* 1/12 x) (- (/ 1 x) -1/2)) #s(hole binary64 (/ (+ 1 (* 1/2 x)) x)))
#s(approx (+ (* 1/12 x) (- (/ 1 x) -1/2)) #s(hole binary64 (/ (+ 1 (* x (+ 1/2 (* 1/12 x)))) x)))
#s(approx (* 1/12 x) #s(hole binary64 (* 1/12 x)))
#s(approx (- (/ 1 x) -1/2) #s(hole binary64 (/ 1 x)))
#s(approx (- (/ 1 x) -1/2) #s(hole binary64 (/ (+ 1 (* 1/2 x)) x)))
#s(approx (exp x) #s(hole binary64 1))
#s(approx (exp x) #s(hole binary64 (+ 1 x)))
#s(approx (exp x) #s(hole binary64 (+ 1 (* x (+ 1 (* 1/2 x))))))
#s(approx (exp x) #s(hole binary64 (+ 1 (* x (+ 1 (* x (+ 1/2 (* 1/6 x))))))))
#s(approx (- (exp x) 1) #s(hole binary64 x))
#s(approx (- (exp x) 1) #s(hole binary64 (* x (+ 1 (* 1/2 x)))))
#s(approx (- (exp x) 1) #s(hole binary64 (* x (+ 1 (* x (+ 1/2 (* 1/6 x)))))))
#s(approx (- (exp x) 1) #s(hole binary64 (* x (+ 1 (* x (+ 1/2 (* x (+ 1/6 (* 1/24 x)))))))))
#s(approx (/ (exp x) (- (exp x) 1)) #s(hole binary64 (/ (exp x) (- (exp x) 1))))
#s(approx (+ (* 1/12 x) (- (/ 1 x) -1/2)) #s(hole binary64 (* 1/12 x)))
#s(approx (+ (* 1/12 x) (- (/ 1 x) -1/2)) #s(hole binary64 (* x (+ 1/12 (* 1/2 (/ 1 x))))))
#s(approx (+ (* 1/12 x) (- (/ 1 x) -1/2)) #s(hole binary64 (* x (+ 1/12 (+ (* 1/2 (/ 1 x)) (/ 1 (pow x 2)))))))
#s(approx (- (/ 1 x) -1/2) #s(hole binary64 1/2))
#s(approx (- (/ 1 x) -1/2) #s(hole binary64 (+ 1/2 (/ 1 x))))
#s(approx (exp x) #s(hole binary64 (exp x)))
#s(approx (- (exp x) 1) #s(hole binary64 (- (exp x) 1)))
#s(approx (+ (* 1/12 x) (- (/ 1 x) -1/2)) #s(hole binary64 (* -1 (* x (- (* -1 (/ (+ 1/2 (/ 1 x)) x)) 1/12)))))
Calls

3 calls:

TimeVariablePointExpression
1.0ms
x
@-inf
((/ (exp x) (- (exp x) 1)) (+ (* 1/12 x) (- (/ 1 x) -1/2)) (* 1/12 x) (/ (exp x) (- (exp x) 1)) (- (/ 1 x) -1/2) (/ (exp x) (- (exp x) 1)) (+ (* 1/12 x) (- (/ 1 x) -1/2)) (/ (exp x) (- (exp x) 1)) (exp x) (- (exp x) 1))
1.0ms
x
@inf
((/ (exp x) (- (exp x) 1)) (+ (* 1/12 x) (- (/ 1 x) -1/2)) (* 1/12 x) (/ (exp x) (- (exp x) 1)) (- (/ 1 x) -1/2) (/ (exp x) (- (exp x) 1)) (+ (* 1/12 x) (- (/ 1 x) -1/2)) (/ (exp x) (- (exp x) 1)) (exp x) (- (exp x) 1))
1.0ms
x
@0
((/ (exp x) (- (exp x) 1)) (+ (* 1/12 x) (- (/ 1 x) -1/2)) (* 1/12 x) (/ (exp x) (- (exp x) 1)) (- (/ 1 x) -1/2) (/ (exp x) (- (exp x) 1)) (+ (* 1/12 x) (- (/ 1 x) -1/2)) (/ (exp x) (- (exp x) 1)) (exp x) (- (exp x) 1))

simplify272.0ms (7.9%)

Memory
24.7MiB live, 169.1MiB allocated; 34ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
088365
1246365
2734346
32510346
47234346
08188298
Stop Event
iter limit
node limit
Counts
27 → 27
Calls
Call 1
Inputs
#s(approx (/ (exp x) (- (exp x) 1)) #s(hole binary64 (/ 1 x)))
#s(approx (/ (exp x) (- (exp x) 1)) #s(hole binary64 (/ (+ 1 (* 1/2 x)) x)))
#s(approx (/ (exp x) (- (exp x) 1)) #s(hole binary64 (/ (+ 1 (* x (+ 1/2 (* 1/12 x)))) x)))
#s(approx (/ (exp x) (- (exp x) 1)) #s(hole binary64 (/ (+ 1 (* x (+ 1/2 (* x (+ 1/12 (* -1/720 (pow x 2))))))) x)))
#s(approx (+ (* 1/12 x) (- (/ 1 x) -1/2)) #s(hole binary64 (/ 1 x)))
#s(approx (+ (* 1/12 x) (- (/ 1 x) -1/2)) #s(hole binary64 (/ (+ 1 (* 1/2 x)) x)))
#s(approx (+ (* 1/12 x) (- (/ 1 x) -1/2)) #s(hole binary64 (/ (+ 1 (* x (+ 1/2 (* 1/12 x)))) x)))
#s(approx (* 1/12 x) #s(hole binary64 (* 1/12 x)))
#s(approx (- (/ 1 x) -1/2) #s(hole binary64 (/ 1 x)))
#s(approx (- (/ 1 x) -1/2) #s(hole binary64 (/ (+ 1 (* 1/2 x)) x)))
#s(approx (exp x) #s(hole binary64 1))
#s(approx (exp x) #s(hole binary64 (+ 1 x)))
#s(approx (exp x) #s(hole binary64 (+ 1 (* x (+ 1 (* 1/2 x))))))
#s(approx (exp x) #s(hole binary64 (+ 1 (* x (+ 1 (* x (+ 1/2 (* 1/6 x))))))))
#s(approx (- (exp x) 1) #s(hole binary64 x))
#s(approx (- (exp x) 1) #s(hole binary64 (* x (+ 1 (* 1/2 x)))))
#s(approx (- (exp x) 1) #s(hole binary64 (* x (+ 1 (* x (+ 1/2 (* 1/6 x)))))))
#s(approx (- (exp x) 1) #s(hole binary64 (* x (+ 1 (* x (+ 1/2 (* x (+ 1/6 (* 1/24 x)))))))))
#s(approx (/ (exp x) (- (exp x) 1)) #s(hole binary64 (/ (exp x) (- (exp x) 1))))
#s(approx (+ (* 1/12 x) (- (/ 1 x) -1/2)) #s(hole binary64 (* 1/12 x)))
#s(approx (+ (* 1/12 x) (- (/ 1 x) -1/2)) #s(hole binary64 (* x (+ 1/12 (* 1/2 (/ 1 x))))))
#s(approx (+ (* 1/12 x) (- (/ 1 x) -1/2)) #s(hole binary64 (* x (+ 1/12 (+ (* 1/2 (/ 1 x)) (/ 1 (pow x 2)))))))
#s(approx (- (/ 1 x) -1/2) #s(hole binary64 1/2))
#s(approx (- (/ 1 x) -1/2) #s(hole binary64 (+ 1/2 (/ 1 x))))
#s(approx (exp x) #s(hole binary64 (exp x)))
#s(approx (- (exp x) 1) #s(hole binary64 (- (exp x) 1)))
#s(approx (+ (* 1/12 x) (- (/ 1 x) -1/2)) #s(hole binary64 (* -1 (* x (- (* -1 (/ (+ 1/2 (/ 1 x)) x)) 1/12)))))
Outputs
#s(approx (/ (exp x) (- (exp x) 1)) #s(hole binary64 (/ 1 x)))
#s(approx (/ (exp x) (- (exp x) 1)) (/.f64 #s(literal 1 binary64) x))
#s(approx (/ (exp x) (- (exp x) 1)) #s(hole binary64 (/ (+ 1 (* 1/2 x)) x)))
#s(approx (/ (exp x) (- (exp x) 1)) (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64)))
#s(approx (/ (exp x) (- (exp x) 1)) #s(hole binary64 (/ (+ 1 (* x (+ 1/2 (* 1/12 x)))) x)))
#s(approx (/ (exp x) (- (exp x) 1)) (fma.f64 #s(literal 1/12 binary64) x (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64))))
#s(approx (/ (exp x) (- (exp x) 1)) #s(hole binary64 (/ (+ 1 (* x (+ 1/2 (* x (+ 1/12 (* -1/720 (pow x 2))))))) x)))
#s(approx (/ (exp x) (- (exp x) 1)) (fma.f64 (fma.f64 (*.f64 x x) #s(literal -1/720 binary64) #s(literal 1/12 binary64)) x (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64))))
#s(approx (+ (* 1/12 x) (- (/ 1 x) -1/2)) #s(hole binary64 (/ 1 x)))
#s(approx (+ (* 1/12 x) (- (/ 1 x) -1/2)) (/.f64 #s(literal 1 binary64) x))
#s(approx (+ (* 1/12 x) (- (/ 1 x) -1/2)) #s(hole binary64 (/ (+ 1 (* 1/2 x)) x)))
#s(approx (+ (* 1/12 x) (- (/ 1 x) -1/2)) (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64)))
#s(approx (+ (* 1/12 x) (- (/ 1 x) -1/2)) #s(hole binary64 (/ (+ 1 (* x (+ 1/2 (* 1/12 x)))) x)))
#s(approx (+ (* 1/12 x) (- (/ 1 x) -1/2)) (fma.f64 #s(literal 1/12 binary64) x (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64))))
#s(approx (* 1/12 x) #s(hole binary64 (* 1/12 x)))
#s(approx (* 1/12 x) (*.f64 #s(literal 1/12 binary64) x))
#s(approx (- (/ 1 x) -1/2) #s(hole binary64 (/ 1 x)))
#s(approx (- (/ 1 x) -1/2) (/.f64 #s(literal 1 binary64) x))
#s(approx (- (/ 1 x) -1/2) #s(hole binary64 (/ (+ 1 (* 1/2 x)) x)))
#s(approx (- (/ 1 x) -1/2) (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64)))
#s(approx (exp x) #s(hole binary64 1))
#s(approx (exp x) #s(literal 1 binary64))
#s(approx (exp x) #s(hole binary64 (+ 1 x)))
#s(approx (exp x) (-.f64 x #s(literal -1 binary64)))
#s(approx (exp x) #s(hole binary64 (+ 1 (* x (+ 1 (* 1/2 x))))))
#s(approx (exp x) (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x #s(literal 1 binary64)))
#s(approx (exp x) #s(hole binary64 (+ 1 (* x (+ 1 (* x (+ 1/2 (* 1/6 x))))))))
#s(approx (exp x) (fma.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x #s(literal 1 binary64)))
#s(approx (- (exp x) 1) #s(hole binary64 x))
#s(approx (- (exp x) 1) x)
#s(approx (- (exp x) 1) #s(hole binary64 (* x (+ 1 (* 1/2 x)))))
#s(approx (- (exp x) 1) (*.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x))
#s(approx (- (exp x) 1) #s(hole binary64 (* x (+ 1 (* x (+ 1/2 (* 1/6 x)))))))
#s(approx (- (exp x) 1) (*.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x))
#s(approx (- (exp x) 1) #s(hole binary64 (* x (+ 1 (* x (+ 1/2 (* x (+ 1/6 (* 1/24 x)))))))))
#s(approx (- (exp x) 1) (*.f64 (fma.f64 (fma.f64 (fma.f64 #s(literal 1/24 binary64) x #s(literal 1/6 binary64)) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x))
#s(approx (/ (exp x) (- (exp x) 1)) #s(hole binary64 (/ (exp x) (- (exp x) 1))))
#s(approx (/ (exp x) (- (exp x) 1)) (/.f64 (exp.f64 x) (expm1.f64 x)))
#s(approx (+ (* 1/12 x) (- (/ 1 x) -1/2)) #s(hole binary64 (* 1/12 x)))
#s(approx (+ (* 1/12 x) (- (/ 1 x) -1/2)) (*.f64 #s(literal 1/12 binary64) x))
#s(approx (+ (* 1/12 x) (- (/ 1 x) -1/2)) #s(hole binary64 (* x (+ 1/12 (* 1/2 (/ 1 x))))))
#s(approx (+ (* 1/12 x) (- (/ 1 x) -1/2)) (fma.f64 #s(literal 1/12 binary64) x #s(literal 1/2 binary64)))
#s(approx (+ (* 1/12 x) (- (/ 1 x) -1/2)) #s(hole binary64 (* x (+ 1/12 (+ (* 1/2 (/ 1 x)) (/ 1 (pow x 2)))))))
#s(approx (+ (* 1/12 x) (- (/ 1 x) -1/2)) (fma.f64 #s(literal 1/12 binary64) x (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64))))
#s(approx (- (/ 1 x) -1/2) #s(hole binary64 1/2))
#s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64))
#s(approx (- (/ 1 x) -1/2) #s(hole binary64 (+ 1/2 (/ 1 x))))
#s(approx (- (/ 1 x) -1/2) (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64)))
#s(approx (exp x) #s(hole binary64 (exp x)))
#s(approx (exp x) (exp.f64 x))
#s(approx (- (exp x) 1) #s(hole binary64 (- (exp x) 1)))
#s(approx (- (exp x) 1) (expm1.f64 x))
#s(approx (+ (* 1/12 x) (- (/ 1 x) -1/2)) #s(hole binary64 (* -1 (* x (- (* -1 (/ (+ 1/2 (/ 1 x)) x)) 1/12)))))
#s(approx (+ (* 1/12 x) (- (/ 1 x) -1/2)) (*.f64 (-.f64 (/.f64 (-.f64 (/.f64 #s(literal -1 binary64) x) #s(literal 1/2 binary64)) x) #s(literal 1/12 binary64)) (neg.f64 x)))

rewrite58.0ms (1.7%)

Memory
-2.6MiB live, 42.9MiB allocated; 4ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
022104
027104
197104
070692
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
10 → 36
Calls
Call 1
Inputs
#s(approx (/ (exp x) (- (exp x) 1)) #s(approx (+ (* 1/12 x) (- (/ 1 x) -1/2)) (*.f64 #s(literal 1/12 binary64) x)))
#s(approx (+ (* 1/12 x) (- (/ 1 x) -1/2)) (*.f64 #s(literal 1/12 binary64) x))
(*.f64 #s(literal 1/12 binary64) x)
#s(approx (/ (exp x) (- (exp x) 1)) #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64)))
#s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64))
#s(approx (/ (exp x) (- (exp x) 1)) (fma.f64 #s(literal 1/12 binary64) x #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64))))
(fma.f64 #s(literal 1/12 binary64) x #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64)))
(/.f64 (exp.f64 x) #s(approx (- (exp x) 1) x))
(exp.f64 x)
#s(approx (- (exp x) 1) x)
Outputs
#s(approx (/ (exp x) (- (exp x) 1)) #s(approx (+ (* 1/12 x) (- (/ 1 x) -1/2)) (*.f64 #s(literal 1/12 binary64) x)))
#s(approx (+ (* 1/12 x) (- (/ 1 x) -1/2)) (*.f64 #s(literal 1/12 binary64) x))
(*.f64 #s(literal 1/12 binary64) x)
(*.f64 x #s(literal 1/12 binary64))
#s(approx (/ (exp x) (- (exp x) 1)) #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64)))
#s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64))
#s(approx (/ (exp x) (- (exp x) 1)) (fma.f64 #s(literal 1/12 binary64) x #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64))))
(/.f64 (-.f64 (pow.f64 #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64)) #s(literal 2 binary64)) (pow.f64 (*.f64 #s(literal 1/12 binary64) x) #s(literal 2 binary64))) (-.f64 #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64)) (*.f64 #s(literal 1/12 binary64) x)))
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 #s(literal 1/12 binary64) x) #s(literal 2 binary64)) (pow.f64 #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64)) #s(literal 2 binary64)))) (neg.f64 (-.f64 (*.f64 #s(literal 1/12 binary64) x) #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64)))))
(/.f64 (neg.f64 (fma.f64 #s(literal 1/1728 binary64) (pow.f64 x #s(literal 3 binary64)) (pow.f64 #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64)) #s(literal 3 binary64)))) (neg.f64 (fma.f64 #s(literal 1/144 binary64) (*.f64 x x) (*.f64 #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64)) (-.f64 #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64)) (*.f64 #s(literal 1/12 binary64) x))))))
(/.f64 (-.f64 (pow.f64 (*.f64 #s(literal 1/12 binary64) x) #s(literal 2 binary64)) (pow.f64 #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64)) #s(literal 2 binary64))) (-.f64 (*.f64 #s(literal 1/12 binary64) x) #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64))))
(/.f64 (fma.f64 #s(literal 1/1728 binary64) (pow.f64 x #s(literal 3 binary64)) (pow.f64 #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64)) #s(literal 3 binary64))) (fma.f64 #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64)) #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64)) (-.f64 (pow.f64 (*.f64 #s(literal 1/12 binary64) x) #s(literal 2 binary64)) (*.f64 #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64)) (*.f64 #s(literal 1/12 binary64) x)))))
(/.f64 (fma.f64 #s(literal 1/1728 binary64) (pow.f64 x #s(literal 3 binary64)) (pow.f64 #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64)) #s(literal 3 binary64))) (fma.f64 #s(literal 1/144 binary64) (*.f64 x x) (*.f64 #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64)) (-.f64 #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64)) (*.f64 #s(literal 1/12 binary64) x)))))
(fma.f64 #s(literal 1/12 binary64) x #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64)))
(fma.f64 x #s(literal 1/12 binary64) #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64)))
(-.f64 (/.f64 (pow.f64 (*.f64 #s(literal 1/12 binary64) x) #s(literal 2 binary64)) (-.f64 (*.f64 #s(literal 1/12 binary64) x) #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64)))) (/.f64 (pow.f64 #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64)) #s(literal 2 binary64)) (-.f64 (*.f64 #s(literal 1/12 binary64) x) #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64)))))
(-.f64 #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64)) (*.f64 #s(literal -1/12 binary64) x))
(-.f64 #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64)) (*.f64 (neg.f64 x) #s(literal 1/12 binary64)))
(+.f64 (/.f64 (pow.f64 (*.f64 #s(literal 1/12 binary64) x) #s(literal 3 binary64)) (fma.f64 #s(literal 1/144 binary64) (*.f64 x x) (*.f64 #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64)) (-.f64 #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64)) (*.f64 #s(literal 1/12 binary64) x))))) (/.f64 (pow.f64 #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64)) #s(literal 3 binary64)) (fma.f64 #s(literal 1/144 binary64) (*.f64 x x) (*.f64 #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64)) (-.f64 #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64)) (*.f64 #s(literal 1/12 binary64) x))))))
(+.f64 #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64)) (*.f64 #s(literal 1/12 binary64) x))
(+.f64 (*.f64 #s(literal 1/12 binary64) x) #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64)))
(/.f64 (neg.f64 (neg.f64 (exp.f64 x))) (neg.f64 (neg.f64 #s(approx (- (exp x) 1) x))))
(/.f64 (neg.f64 (exp.f64 x)) (neg.f64 #s(approx (- (exp x) 1) x)))
(/.f64 (exp.f64 x) #s(approx (- (exp x) 1) x))
(neg.f64 (/.f64 (neg.f64 (exp.f64 x)) #s(approx (- (exp x) 1) x)))
(neg.f64 (/.f64 (exp.f64 x) (neg.f64 #s(approx (- (exp x) 1) x))))
(+.f64 (/.f64 (cosh.f64 x) #s(approx (- (exp x) 1) x)) (/.f64 (sinh.f64 x) #s(approx (- (exp x) 1) x)))
(*.f64 (exp.f64 x) #s(literal 1 binary64))
(*.f64 #s(literal 1 binary64) (exp.f64 x))
(/.f64 (-.f64 (*.f64 (cosh.f64 x) (cosh.f64 x)) (*.f64 (sinh.f64 x) (sinh.f64 x))) (-.f64 (cosh.f64 x) (sinh.f64 x)))
(/.f64 (+.f64 (pow.f64 (cosh.f64 x) #s(literal 3 binary64)) (pow.f64 (sinh.f64 x) #s(literal 3 binary64))) (fma.f64 (cosh.f64 x) (cosh.f64 x) (-.f64 (*.f64 (sinh.f64 x) (sinh.f64 x)) (*.f64 (cosh.f64 x) (sinh.f64 x)))))
(+.f64 (sinh.f64 x) (cosh.f64 x))
(+.f64 (cosh.f64 x) (sinh.f64 x))
(exp.f64 (+.f64 x #s(literal 0 binary64)))
(exp.f64 x)
#s(approx (- (exp x) 1) x)

eval16.0ms (0.5%)

Memory
-29.4MiB live, 13.7MiB allocated; 8ms collecting garbage
Compiler

Compiled 1 280 to 200 computations (84.4% saved)

prune6.0ms (0.2%)

Memory
10.1MiB live, 10.1MiB allocated; 0ms collecting garbage
Pruning

9 alts after pruning (0 fresh and 9 done)

PrunedKeptTotal
New61061
Fresh000
Picked044
Done055
Total61970
Accuracy
100.0%
Counts
70 → 9
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(/.f64 (exp.f64 x) (expm1.f64 x))
98.8%
(/.f64 (exp.f64 x) #s(approx (- (exp x) 1) x))
69.7%
#s(approx (/ (exp x) (- (exp x) 1)) (fma.f64 (fma.f64 (*.f64 x x) #s(literal -1/720 binary64) #s(literal 1/12 binary64)) x (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64))))
69.6%
#s(approx (/ (exp x) (- (exp x) 1)) (fma.f64 #s(literal 1/12 binary64) x (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64))))
3.0%
#s(approx (/ (exp x) (- (exp x) 1)) (fma.f64 #s(literal 1/12 binary64) x #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64))))
69.4%
#s(approx (/ (exp x) (- (exp x) 1)) (/.f64 #s(literal 1 binary64) x))
69.5%
#s(approx (/ (exp x) (- (exp x) 1)) (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64)))
3.3%
#s(approx (/ (exp x) (- (exp x) 1)) #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64)))
3.2%
#s(approx (/ (exp x) (- (exp x) 1)) #s(approx (+ (* 1/12 x) (- (/ 1 x) -1/2)) (*.f64 #s(literal 1/12 binary64) x)))
Compiler

Compiled 265 to 135 computations (49.1% saved)

regimes9.0ms (0.2%)

Memory
14.7MiB live, 14.7MiB allocated; 0ms collecting garbage
Counts
10 → 1
Calls
Call 1
Inputs
#s(approx (/ (exp x) (- (exp x) 1)) #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64)))
#s(approx (/ (exp x) (- (exp x) 1)) #s(approx (+ (* 1/12 x) (- (/ 1 x) -1/2)) (*.f64 #s(literal 1/12 binary64) x)))
#s(approx (/ (exp x) (- (exp x) 1)) (fma.f64 #s(literal 1/12 binary64) x #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64))))
#s(approx (/ (exp x) (- (exp x) 1)) (/.f64 #s(literal 1 binary64) x))
#s(approx (/ (exp x) (- (exp x) 1)) (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64)))
#s(approx (/ (exp x) (- (exp x) 1)) (fma.f64 #s(literal 1/12 binary64) x (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64))))
#s(approx (/ (exp x) (- (exp x) 1)) (fma.f64 (fma.f64 (*.f64 x x) #s(literal -1/720 binary64) #s(literal 1/12 binary64)) x (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64))))
(/.f64 (exp.f64 x) #s(approx (- (exp x) 1) x))
(/.f64 (exp.f64 x) (expm1.f64 x))
(/.f64 (exp.f64 x) (-.f64 (exp.f64 x) #s(literal 1 binary64)))
Outputs
(/.f64 (exp.f64 x) (expm1.f64 x))
Calls

3 calls:

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

Compiled 10 to 8 computations (20% saved)

regimes10.0ms (0.3%)

Memory
-28.5MiB live, 16.1MiB allocated; 3ms collecting garbage
Counts
8 → 1
Calls
Call 1
Inputs
#s(approx (/ (exp x) (- (exp x) 1)) #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64)))
#s(approx (/ (exp x) (- (exp x) 1)) #s(approx (+ (* 1/12 x) (- (/ 1 x) -1/2)) (*.f64 #s(literal 1/12 binary64) x)))
#s(approx (/ (exp x) (- (exp x) 1)) (fma.f64 #s(literal 1/12 binary64) x #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64))))
#s(approx (/ (exp x) (- (exp x) 1)) (/.f64 #s(literal 1 binary64) x))
#s(approx (/ (exp x) (- (exp x) 1)) (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64)))
#s(approx (/ (exp x) (- (exp x) 1)) (fma.f64 #s(literal 1/12 binary64) x (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64))))
#s(approx (/ (exp x) (- (exp x) 1)) (fma.f64 (fma.f64 (*.f64 x x) #s(literal -1/720 binary64) #s(literal 1/12 binary64)) x (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64))))
(/.f64 (exp.f64 x) #s(approx (- (exp x) 1) x))
Outputs
(/.f64 (exp.f64 x) #s(approx (- (exp x) 1) x))
Calls

3 calls:

3.0ms
x
2.0ms
(/.f64 (exp.f64 x) (-.f64 (exp.f64 x) #s(literal 1 binary64)))
2.0ms
(exp.f64 x)
Results
AccuracySegmentsBranch
98.8%1(exp.f64 x)
98.8%1(/.f64 (exp.f64 x) (-.f64 (exp.f64 x) #s(literal 1 binary64)))
98.8%1x
Compiler

Compiled 10 to 8 computations (20% saved)

regimes7.0ms (0.2%)

Memory
10.9MiB live, 10.9MiB allocated; 0ms collecting garbage
Counts
7 → 1
Calls
Call 1
Inputs
#s(approx (/ (exp x) (- (exp x) 1)) #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64)))
#s(approx (/ (exp x) (- (exp x) 1)) #s(approx (+ (* 1/12 x) (- (/ 1 x) -1/2)) (*.f64 #s(literal 1/12 binary64) x)))
#s(approx (/ (exp x) (- (exp x) 1)) (fma.f64 #s(literal 1/12 binary64) x #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64))))
#s(approx (/ (exp x) (- (exp x) 1)) (/.f64 #s(literal 1 binary64) x))
#s(approx (/ (exp x) (- (exp x) 1)) (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64)))
#s(approx (/ (exp x) (- (exp x) 1)) (fma.f64 #s(literal 1/12 binary64) x (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64))))
#s(approx (/ (exp x) (- (exp x) 1)) (fma.f64 (fma.f64 (*.f64 x x) #s(literal -1/720 binary64) #s(literal 1/12 binary64)) x (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64))))
Outputs
#s(approx (/ (exp x) (- (exp x) 1)) (fma.f64 (fma.f64 (*.f64 x x) #s(literal -1/720 binary64) #s(literal 1/12 binary64)) x (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64))))
Calls

3 calls:

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

Compiled 10 to 8 computations (20% saved)

regimes6.0ms (0.2%)

Memory
7.3MiB live, 7.3MiB allocated; 0ms collecting garbage
Counts
6 → 1
Calls
Call 1
Inputs
#s(approx (/ (exp x) (- (exp x) 1)) #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64)))
#s(approx (/ (exp x) (- (exp x) 1)) #s(approx (+ (* 1/12 x) (- (/ 1 x) -1/2)) (*.f64 #s(literal 1/12 binary64) x)))
#s(approx (/ (exp x) (- (exp x) 1)) (fma.f64 #s(literal 1/12 binary64) x #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64))))
#s(approx (/ (exp x) (- (exp x) 1)) (/.f64 #s(literal 1 binary64) x))
#s(approx (/ (exp x) (- (exp x) 1)) (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64)))
#s(approx (/ (exp x) (- (exp x) 1)) (fma.f64 #s(literal 1/12 binary64) x (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64))))
Outputs
#s(approx (/ (exp x) (- (exp x) 1)) (fma.f64 #s(literal 1/12 binary64) x (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64))))
Calls

3 calls:

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

Compiled 10 to 8 computations (20% saved)

regimes5.0ms (0.2%)

Memory
6.9MiB live, 6.9MiB allocated; 0ms collecting garbage
Counts
5 → 1
Calls
Call 1
Inputs
#s(approx (/ (exp x) (- (exp x) 1)) #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64)))
#s(approx (/ (exp x) (- (exp x) 1)) #s(approx (+ (* 1/12 x) (- (/ 1 x) -1/2)) (*.f64 #s(literal 1/12 binary64) x)))
#s(approx (/ (exp x) (- (exp x) 1)) (fma.f64 #s(literal 1/12 binary64) x #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64))))
#s(approx (/ (exp x) (- (exp x) 1)) (/.f64 #s(literal 1 binary64) x))
#s(approx (/ (exp x) (- (exp x) 1)) (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64)))
Outputs
#s(approx (/ (exp x) (- (exp x) 1)) (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64)))
Calls

3 calls:

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

Compiled 10 to 8 computations (20% saved)

regimes5.0ms (0.1%)

Memory
6.1MiB live, 6.1MiB allocated; 0ms collecting garbage
Counts
4 → 1
Calls
Call 1
Inputs
#s(approx (/ (exp x) (- (exp x) 1)) #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64)))
#s(approx (/ (exp x) (- (exp x) 1)) #s(approx (+ (* 1/12 x) (- (/ 1 x) -1/2)) (*.f64 #s(literal 1/12 binary64) x)))
#s(approx (/ (exp x) (- (exp x) 1)) (fma.f64 #s(literal 1/12 binary64) x #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64))))
#s(approx (/ (exp x) (- (exp x) 1)) (/.f64 #s(literal 1 binary64) x))
Outputs
#s(approx (/ (exp x) (- (exp x) 1)) (/.f64 #s(literal 1 binary64) x))
Calls

3 calls:

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

Compiled 10 to 8 computations (20% saved)

regimes4.0ms (0.1%)

Memory
5.7MiB live, 5.7MiB allocated; 0ms collecting garbage
Accuracy

Total -0.5b remaining (-0.8%)

Threshold costs -0.5b (-0.8%)

Counts
3 → 1
Calls
Call 1
Inputs
#s(approx (/ (exp x) (- (exp x) 1)) #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64)))
#s(approx (/ (exp x) (- (exp x) 1)) #s(approx (+ (* 1/12 x) (- (/ 1 x) -1/2)) (*.f64 #s(literal 1/12 binary64) x)))
#s(approx (/ (exp x) (- (exp x) 1)) (fma.f64 #s(literal 1/12 binary64) x #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64))))
Outputs
#s(approx (/ (exp x) (- (exp x) 1)) #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64)))
Calls

3 calls:

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

Compiled 10 to 8 computations (20% saved)

simplify58.0ms (1.7%)

Memory
-35.2MiB live, 20.4MiB allocated; 7ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02890
13590
25590
310090
433090
5298490
6729890
Stop Event
node limit
Calls
Call 1
Inputs
(/.f64 (exp.f64 x) (expm1.f64 x))
(/.f64 (exp.f64 x) #s(approx (- (exp x) 1) x))
#s(approx (/ (exp x) (- (exp x) 1)) (fma.f64 (fma.f64 (*.f64 x x) #s(literal -1/720 binary64) #s(literal 1/12 binary64)) x (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64))))
#s(approx (/ (exp x) (- (exp x) 1)) (fma.f64 #s(literal 1/12 binary64) x (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64))))
#s(approx (/ (exp x) (- (exp x) 1)) (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64)))
#s(approx (/ (exp x) (- (exp x) 1)) (/.f64 #s(literal 1 binary64) x))
#s(approx (/ (exp x) (- (exp x) 1)) #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64)))
Outputs
(/.f64 (exp.f64 x) (expm1.f64 x))
(/.f64 (exp.f64 x) #s(approx (- (exp x) 1) x))
#s(approx (/ (exp x) (- (exp x) 1)) (fma.f64 (fma.f64 (*.f64 x x) #s(literal -1/720 binary64) #s(literal 1/12 binary64)) x (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64))))
#s(approx (/ (exp x) (- (exp x) 1)) (fma.f64 #s(literal 1/12 binary64) x (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64))))
#s(approx (/ (exp x) (- (exp x) 1)) (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64)))
#s(approx (/ (exp x) (- (exp x) 1)) (/.f64 #s(literal 1 binary64) x))
#s(approx (/ (exp x) (- (exp x) 1)) #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64)))

derivations302.0ms (8.7%)

Memory
-1.2MiB live, 184.7MiB allocated; 22ms collecting garbage
Stop Event
done
Compiler

Compiled 90 to 30 computations (66.7% saved)

preprocess32.0ms (0.9%)

Memory
37.1MiB live, 37.1MiB allocated; 0ms collecting garbage
Compiler

Compiled 206 to 82 computations (60.2% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated; 0ms collecting garbage

Profiling

Loading profile data...