expq2 (section 3.11)

Time bar (total: 4.4s)

start0.0ms (0%)

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

analyze1.0ms (0%)

Memory
5.0MiB live, 5.0MiB 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)

sample736.0ms (16.8%)

Memory
51.2MiB live, 994.8MiB allocated; 169ms collecting garbage
Samples
518.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 291.0ms
ival-div: 101.0ms (34.7% of total)
ival-exp: 81.0ms (27.8% of total)
ival-expm1: 56.0ms (19.2% of total)
ival->: 39.0ms (13.4% of total)
exact: 8.0ms (2.7% of total)
ival-assert: 4.0ms (1.4% of total)
adjust: 3.0ms (1% of total)
Bogosity

explain73.0ms (1.7%)

Memory
-2.2MiB live, 86.8MiB allocated; 17ms collecting garbage
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
1810-0-(-.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))cancellation1810
Confusion
Predicted +Predicted -
+1810
-075
Precision
1.0
Recall
1.0
Confusion?
Predicted +Predicted MaybePredicted -
+18100
-0075
Precision?
1.0
Recall?
1.0
Freqs
test
numberfreq
075
1181
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Samples
27.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.6% of total)
ival-exp: 4.0ms (33.6% of total)
ival-expm1: 3.0ms (25.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)

preprocess334.0ms (7.6%)

Memory
-2.2MiB live, 254.5MiB allocated; 169ms 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.0MiB live, 0.0MiB allocated; 0ms collecting garbage
Compiler

Compiled 0 to 1 computations (-∞% saved)

prune0.0ms (0%)

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

Compiled 7 to 5 computations (28.6% saved)

simplify247.0ms (5.6%)

Memory
-17.2MiB live, 368.8MiB allocated; 43ms 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)

localize20.0ms (0.4%)

Memory
-19.3MiB live, 27.3MiB allocated; 3ms 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)))
accuracy42.06718496656453
(-.f64 (exp.f64 x) #s(literal 1 binary64))
Samples
15.0ms256×0valid
Compiler

Compiled 17 to 7 computations (58.8% saved)

Precisions
Click to see histograms. Total time spent on operations: 9.0ms
ival-expm1: 5.0ms (54.7% of total)
ival-div: 2.0ms (21.9% of total)
ival-exp: 2.0ms (21.9% 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%)

Memory
3.8MiB live, 3.8MiB 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))

simplify177.0ms (4%)

Memory
13.6MiB live, 199.6MiB allocated; 23ms 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))

rewrite48.0ms (1.1%)

Memory
-3.7MiB live, 39.8MiB allocated; 10ms 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)

eval6.0ms (0.1%)

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

Compiled 721 to 171 computations (76.3% saved)

prune5.0ms (0.1%)

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

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New50757
Fresh000
Picked101
Done000
Total51758
Accuracy
100.0%
Counts
58 → 7
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(/.f64 (exp.f64 x) (expm1.f64 x))
99.7%
(/.f64 (exp.f64 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)))
98.9%
(/.f64 (exp.f64 x) #s(approx (- (exp x) 1) x))
71.5%
#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))))
71.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))))
71.5%
#s(approx (/ (exp x) (- (exp x) 1)) (/.f64 #s(literal 1 binary64) x))
71.5%
#s(approx (/ (exp x) (- (exp x) 1)) (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64)))
Compiler

Compiled 184 to 138 computations (25% saved)

simplify385.0ms (8.8%)

Memory
-24.4MiB live, 263.1MiB allocated; 73ms 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)

localize58.0ms (1.3%)

Memory
22.9MiB live, 115.7MiB allocated; 7ms collecting garbage
Localize:

Found 16 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(*.f64 x x)
accuracy0.03125
(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.04296875
(fma.f64 (*.f64 x x) #s(literal -1/720 binary64) #s(literal 1/12 binary64))
accuracy18.207550074592397
#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.09375
(fma.f64 #s(literal 1/12 binary64) x (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64)))
accuracy18.180511150685774
#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))
accuracy18.270137430563192
#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)
accuracy18.24650936784413
#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
45.0ms256×0valid
Compiler

Compiled 119 to 19 computations (84% saved)

Precisions
Click to see histograms. Total time spent on operations: 31.0ms
ival-mult: 9.0ms (29% of total)
const: 7.0ms (22.5% of total)
ival-div: 4.0ms (12.9% of total)
ival-add: 3.0ms (9.7% of total)
ival-sub: 3.0ms (9.7% of total)
ival-exp: 2.0ms (6.4% of total)
ival-expm1: 2.0ms (6.4% 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.1%)

Memory
10.7MiB live, 10.7MiB 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
@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))
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))

simplify188.0ms (4.3%)

Memory
-11.9MiB live, 219.4MiB 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))))

rewrite77.0ms (1.7%)

Memory
12.4MiB live, 70.5MiB allocated; 6ms 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)))

eval50.0ms (1.1%)

Memory
-34.9MiB live, 56.4MiB allocated; 9ms collecting garbage
Compiler

Compiled 4 903 to 689 computations (85.9% saved)

prune8.0ms (0.2%)

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

10 alts after pruning (5 fresh and 5 done)

PrunedKeptTotal
New2113214
Fresh022
Picked055
Done000
Total21110221
Accuracy
100.0%
Counts
221 → 10
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(/.f64 (exp.f64 x) (expm1.f64 x))
99.7%
(/.f64 (exp.f64 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)))
98.9%
(/.f64 (exp.f64 x) #s(approx (- (exp x) 1) x))
71.5%
#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))))
71.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))))
2.6%
#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))))
71.5%
#s(approx (/ (exp x) (- (exp x) 1)) (/.f64 #s(literal 1 binary64) x))
71.5%
#s(approx (/ (exp x) (- (exp x) 1)) (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64)))
2.9%
#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 226 to 167 computations (26.1% saved)

simplify221.0ms (5%)

Memory
-4.2MiB live, 191.9MiB allocated; 22ms collecting garbage
Localize:

Found 15 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
(*.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)))
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 (fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x)
cost-diff0
#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))
cost-diff0
(exp.f64 x)
cost-diff0
(/.f64 (exp.f64 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)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
028175
039175
154175
2114175
3284175
41167175
57071175
08515159
Stop Event
iter limit
node limit
iter limit
Calls
Call 1
Inputs
(/.f64 (exp.f64 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)))
(exp.f64 x)
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))
(*.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x)
(fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64))
(fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64))
#s(literal 1/6 binary64)
#s(literal 1/2 binary64)
#s(literal 1 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(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 (+ (* 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)) (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
(/.f64 (exp.f64 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)))
(exp.f64 x)
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))
(*.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x)
(fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64))
(fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64))
#s(literal 1/6 binary64)
#s(literal 1/2 binary64)
#s(literal 1 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(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 (+ (* 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)) (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)

localize70.0ms (1.6%)

Memory
13.1MiB live, 57.7MiB allocated; 7ms collecting garbage
Localize:

Found 15 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(exp.f64 x)
accuracy0.0078125
(/.f64 (exp.f64 x) #s(approx (- (exp x) 1) x))
accuracy18.161768874727294
#s(approx (- (exp x) 1) x)
accuracy0.09375
(fma.f64 #s(literal 1/12 binary64) x #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64)))
accuracy18.180511150685774
#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))))
accuracy44.459572179242535
#s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64))
accuracy0.3046875
(*.f64 #s(literal 1/12 binary64) x)
accuracy18.180511150685774
#s(approx (/ (exp x) (- (exp x) 1)) #s(approx (+ (* 1/12 x) (- (/ 1 x) -1/2)) (*.f64 #s(literal 1/12 binary64) x)))
accuracy44.11107800363749
#s(approx (+ (* 1/12 x) (- (/ 1 x) -1/2)) (*.f64 #s(literal 1/12 binary64) x))
accuracy18.270137430563192
#s(approx (/ (exp x) (- (exp x) 1)) #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64)))
accuracy44.459572179242535
#s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64))
accuracy0.03125
(*.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x)
accuracy0.0390625
(fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64))
accuracy0.08203125
(fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64))
accuracy17.98267570273125
#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))
Samples
58.0ms256×0valid
Compiler

Compiled 116 to 20 computations (82.8% saved)

Precisions
Click to see histograms. Total time spent on operations: 45.0ms
ival-add: 22.0ms (48.4% of total)
const: 7.0ms (15.4% of total)
ival-mult: 6.0ms (13.2% of total)
ival-div: 4.0ms (8.8% of total)
ival-exp: 2.0ms (4.4% of total)
ival-expm1: 2.0ms (4.4% of total)
ival-sub: 1.0ms (2.2% 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)

series5.0ms (0.1%)

Memory
6.4MiB live, 6.4MiB allocated; 0ms collecting garbage
Counts
15 → 44
Calls
Call 1
Inputs
(/.f64 (exp.f64 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)))
(exp.f64 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))
(*.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) (- (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)) #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)) (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))
#s(approx (- (exp x) 1) x)
(fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64))
(fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64))
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/6 x) 1/2) x) 1) x) #s(hole binary64 x))
#s(approx (* (+ (* (+ (* 1/6 x) 1/2) x) 1) x) #s(hole binary64 (* x (+ 1 (* 1/2 x)))))
#s(approx (* (+ (* (+ (* 1/6 x) 1/2) x) 1) x) #s(hole binary64 (* x (+ 1 (* x (+ 1/2 (* 1/6 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 (* 1/12 x) #s(hole binary64 (* 1/12 x)))
#s(approx (+ (* 1/6 x) 1/2) #s(hole binary64 1/2))
#s(approx (+ (* 1/6 x) 1/2) #s(hole binary64 (+ 1/2 (* 1/6 x))))
#s(approx (+ (* (+ (* 1/6 x) 1/2) x) 1) #s(hole binary64 1))
#s(approx (+ (* (+ (* 1/6 x) 1/2) x) 1) #s(hole binary64 (+ 1 (* 1/2 x))))
#s(approx (+ (* (+ (* 1/6 x) 1/2) x) 1) #s(hole binary64 (+ 1 (* x (+ 1/2 (* 1/6 x))))))
#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/6 x) 1/2) x) 1) x) #s(hole binary64 (* 1/6 (pow x 3))))
#s(approx (* (+ (* (+ (* 1/6 x) 1/2) x) 1) x) #s(hole binary64 (* (pow x 3) (+ 1/6 (* 1/2 (/ 1 x))))))
#s(approx (* (+ (* (+ (* 1/6 x) 1/2) x) 1) x) #s(hole binary64 (* (pow x 3) (+ 1/6 (+ (* 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 (+ (* 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/6 x) 1/2) #s(hole binary64 (* 1/6 x)))
#s(approx (+ (* 1/6 x) 1/2) #s(hole binary64 (* x (+ 1/6 (* 1/2 (/ 1 x))))))
#s(approx (+ (* (+ (* 1/6 x) 1/2) x) 1) #s(hole binary64 (* 1/6 (pow x 2))))
#s(approx (+ (* (+ (* 1/6 x) 1/2) x) 1) #s(hole binary64 (* (pow x 2) (+ 1/6 (* 1/2 (/ 1 x))))))
#s(approx (+ (* (+ (* 1/6 x) 1/2) x) 1) #s(hole binary64 (* (pow x 2) (+ 1/6 (+ (* 1/2 (/ 1 x)) (/ 1 (pow x 2)))))))
#s(approx (* (+ (* (+ (* 1/6 x) 1/2) x) 1) x) #s(hole binary64 (* -1 (* (pow x 3) (- (* -1 (/ (+ 1/2 (/ 1 x)) x)) 1/6)))))
#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
2.0ms
x
@-inf
((/ (exp x) (- (exp x) 1)) (exp x) (- (exp x) 1) (* (+ (* (+ (* 1/6 x) 1/2) x) 1) x) (/ (exp x) (- (exp x) 1)) (- (/ 1 x) -1/2) (/ (exp x) (- (exp x) 1)) (+ (* 1/12 x) (- (/ 1 x) -1/2)) (* 1/12 x) (/ (exp x) (- (exp x) 1)) (+ (* 1/12 x) (- (/ 1 x) -1/2)) (/ (exp x) (- (exp x) 1)) (- (exp x) 1) (+ (* 1/6 x) 1/2) (+ (* (+ (* 1/6 x) 1/2) x) 1))
1.0ms
x
@inf
((/ (exp x) (- (exp x) 1)) (exp x) (- (exp x) 1) (* (+ (* (+ (* 1/6 x) 1/2) x) 1) x) (/ (exp x) (- (exp x) 1)) (- (/ 1 x) -1/2) (/ (exp x) (- (exp x) 1)) (+ (* 1/12 x) (- (/ 1 x) -1/2)) (* 1/12 x) (/ (exp x) (- (exp x) 1)) (+ (* 1/12 x) (- (/ 1 x) -1/2)) (/ (exp x) (- (exp x) 1)) (- (exp x) 1) (+ (* 1/6 x) 1/2) (+ (* (+ (* 1/6 x) 1/2) x) 1))
1.0ms
x
@0
((/ (exp x) (- (exp x) 1)) (exp x) (- (exp x) 1) (* (+ (* (+ (* 1/6 x) 1/2) x) 1) x) (/ (exp x) (- (exp x) 1)) (- (/ 1 x) -1/2) (/ (exp x) (- (exp x) 1)) (+ (* 1/12 x) (- (/ 1 x) -1/2)) (* 1/12 x) (/ (exp x) (- (exp x) 1)) (+ (* 1/12 x) (- (/ 1 x) -1/2)) (/ (exp x) (- (exp x) 1)) (- (exp x) 1) (+ (* 1/6 x) 1/2) (+ (* (+ (* 1/6 x) 1/2) x) 1))

simplify188.0ms (4.3%)

Memory
-2.6MiB live, 228.2MiB allocated; 60ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0123644
1331644
2953622
33395622
08080530
Stop Event
iter limit
node limit
Counts
44 → 44
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/6 x) 1/2) x) 1) x) #s(hole binary64 x))
#s(approx (* (+ (* (+ (* 1/6 x) 1/2) x) 1) x) #s(hole binary64 (* x (+ 1 (* 1/2 x)))))
#s(approx (* (+ (* (+ (* 1/6 x) 1/2) x) 1) x) #s(hole binary64 (* x (+ 1 (* x (+ 1/2 (* 1/6 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 (* 1/12 x) #s(hole binary64 (* 1/12 x)))
#s(approx (+ (* 1/6 x) 1/2) #s(hole binary64 1/2))
#s(approx (+ (* 1/6 x) 1/2) #s(hole binary64 (+ 1/2 (* 1/6 x))))
#s(approx (+ (* (+ (* 1/6 x) 1/2) x) 1) #s(hole binary64 1))
#s(approx (+ (* (+ (* 1/6 x) 1/2) x) 1) #s(hole binary64 (+ 1 (* 1/2 x))))
#s(approx (+ (* (+ (* 1/6 x) 1/2) x) 1) #s(hole binary64 (+ 1 (* x (+ 1/2 (* 1/6 x))))))
#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/6 x) 1/2) x) 1) x) #s(hole binary64 (* 1/6 (pow x 3))))
#s(approx (* (+ (* (+ (* 1/6 x) 1/2) x) 1) x) #s(hole binary64 (* (pow x 3) (+ 1/6 (* 1/2 (/ 1 x))))))
#s(approx (* (+ (* (+ (* 1/6 x) 1/2) x) 1) x) #s(hole binary64 (* (pow x 3) (+ 1/6 (+ (* 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 (+ (* 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/6 x) 1/2) #s(hole binary64 (* 1/6 x)))
#s(approx (+ (* 1/6 x) 1/2) #s(hole binary64 (* x (+ 1/6 (* 1/2 (/ 1 x))))))
#s(approx (+ (* (+ (* 1/6 x) 1/2) x) 1) #s(hole binary64 (* 1/6 (pow x 2))))
#s(approx (+ (* (+ (* 1/6 x) 1/2) x) 1) #s(hole binary64 (* (pow x 2) (+ 1/6 (* 1/2 (/ 1 x))))))
#s(approx (+ (* (+ (* 1/6 x) 1/2) x) 1) #s(hole binary64 (* (pow x 2) (+ 1/6 (+ (* 1/2 (/ 1 x)) (/ 1 (pow x 2)))))))
#s(approx (* (+ (* (+ (* 1/6 x) 1/2) x) 1) x) #s(hole binary64 (* -1 (* (pow x 3) (- (* -1 (/ (+ 1/2 (/ 1 x)) x)) 1/6)))))
#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 (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/6 x) 1/2) x) 1) x) #s(hole binary64 x))
#s(approx (* (+ (* (+ (* 1/6 x) 1/2) x) 1) x) x)
#s(approx (* (+ (* (+ (* 1/6 x) 1/2) x) 1) x) #s(hole binary64 (* x (+ 1 (* 1/2 x)))))
#s(approx (* (+ (* (+ (* 1/6 x) 1/2) x) 1) x) (*.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x))
#s(approx (* (+ (* (+ (* 1/6 x) 1/2) x) 1) x) #s(hole binary64 (* x (+ 1 (* x (+ 1/2 (* 1/6 x)))))))
#s(approx (* (+ (* (+ (* 1/6 x) 1/2) x) 1) x) (*.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #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 (* 1/12 x) #s(hole binary64 (* 1/12 x)))
#s(approx (* 1/12 x) (*.f64 #s(literal 1/12 binary64) x))
#s(approx (+ (* 1/6 x) 1/2) #s(hole binary64 1/2))
#s(approx (+ (* 1/6 x) 1/2) #s(literal 1/2 binary64))
#s(approx (+ (* 1/6 x) 1/2) #s(hole binary64 (+ 1/2 (* 1/6 x))))
#s(approx (+ (* 1/6 x) 1/2) (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)))
#s(approx (+ (* (+ (* 1/6 x) 1/2) x) 1) #s(hole binary64 1))
#s(approx (+ (* (+ (* 1/6 x) 1/2) x) 1) #s(literal 1 binary64))
#s(approx (+ (* (+ (* 1/6 x) 1/2) x) 1) #s(hole binary64 (+ 1 (* 1/2 x))))
#s(approx (+ (* (+ (* 1/6 x) 1/2) x) 1) (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)))
#s(approx (+ (* (+ (* 1/6 x) 1/2) x) 1) #s(hole binary64 (+ 1 (* x (+ 1/2 (* 1/6 x))))))
#s(approx (+ (* (+ (* 1/6 x) 1/2) x) 1) (fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)))
#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/6 x) 1/2) x) 1) x) #s(hole binary64 (* 1/6 (pow x 3))))
#s(approx (* (+ (* (+ (* 1/6 x) 1/2) x) 1) x) (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/6 binary64)))
#s(approx (* (+ (* (+ (* 1/6 x) 1/2) x) 1) x) #s(hole binary64 (* (pow x 3) (+ 1/6 (* 1/2 (/ 1 x))))))
#s(approx (* (+ (* (+ (* 1/6 x) 1/2) x) 1) x) (*.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) (*.f64 x x)))
#s(approx (* (+ (* (+ (* 1/6 x) 1/2) x) 1) x) #s(hole binary64 (* (pow x 3) (+ 1/6 (+ (* 1/2 (/ 1 x)) (/ 1 (pow x 2)))))))
#s(approx (* (+ (* (+ (* 1/6 x) 1/2) x) 1) x) (*.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) 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 (+ (* 1/6 x) 1/2) #s(hole binary64 (* 1/6 x)))
#s(approx (+ (* 1/6 x) 1/2) (*.f64 #s(literal 1/6 binary64) x))
#s(approx (+ (* 1/6 x) 1/2) #s(hole binary64 (* x (+ 1/6 (* 1/2 (/ 1 x))))))
#s(approx (+ (* 1/6 x) 1/2) (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)))
#s(approx (+ (* (+ (* 1/6 x) 1/2) x) 1) #s(hole binary64 (* 1/6 (pow x 2))))
#s(approx (+ (* (+ (* 1/6 x) 1/2) x) 1) (*.f64 (*.f64 #s(literal 1/6 binary64) x) x))
#s(approx (+ (* (+ (* 1/6 x) 1/2) x) 1) #s(hole binary64 (* (pow x 2) (+ 1/6 (* 1/2 (/ 1 x))))))
#s(approx (+ (* (+ (* 1/6 x) 1/2) x) 1) (*.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x))
#s(approx (+ (* (+ (* 1/6 x) 1/2) x) 1) #s(hole binary64 (* (pow x 2) (+ 1/6 (+ (* 1/2 (/ 1 x)) (/ 1 (pow x 2)))))))
#s(approx (+ (* (+ (* 1/6 x) 1/2) x) 1) (fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)))
#s(approx (* (+ (* (+ (* 1/6 x) 1/2) x) 1) x) #s(hole binary64 (* -1 (* (pow x 3) (- (* -1 (/ (+ 1/2 (/ 1 x)) x)) 1/6)))))
#s(approx (* (+ (* (+ (* 1/6 x) 1/2) x) 1) x) (*.f64 (pow.f64 (neg.f64 x) #s(literal 3 binary64)) (-.f64 (/.f64 (-.f64 (/.f64 #s(literal -1 binary64) x) #s(literal 1/2 binary64)) x) #s(literal 1/6 binary64))))
#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)))

rewrite68.0ms (1.6%)

Memory
5.9MiB live, 49.1MiB allocated; 12ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
028155
039155
1139155
01039139
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
15 → 96
Calls
Call 1
Inputs
(/.f64 (exp.f64 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)))
(exp.f64 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))
(*.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) (- (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)) #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)) (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))
#s(approx (- (exp x) 1) x)
(fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64))
(fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64))
Outputs
(/.f64 (neg.f64 (neg.f64 (exp.f64 x))) (neg.f64 (neg.f64 #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)))))
(/.f64 (neg.f64 (exp.f64 x)) (neg.f64 #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))))
(/.f64 (exp.f64 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)))
(neg.f64 (/.f64 (neg.f64 (exp.f64 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))))
(neg.f64 (/.f64 (exp.f64 x) (neg.f64 #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)))))
(+.f64 (/.f64 (cosh.f64 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))) (/.f64 (sinh.f64 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))))
(*.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)
#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))
(*.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x)
(*.f64 x (fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)))
(/.f64 (*.f64 (-.f64 (pow.f64 (*.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x) #s(literal 2 binary64)) #s(literal 1 binary64)) x) (fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal -1 binary64)))
(/.f64 (*.f64 (-.f64 (pow.f64 (*.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x) #s(literal 3 binary64)) #s(literal -1 binary64)) x) (-.f64 (+.f64 (pow.f64 (*.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x) #s(literal 2 binary64)) #s(literal 1 binary64)) (*.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x)))
(/.f64 (*.f64 x (-.f64 (pow.f64 (*.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x) #s(literal 2 binary64)) #s(literal 1 binary64))) (fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal -1 binary64)))
(/.f64 (*.f64 x (-.f64 (pow.f64 (*.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x) #s(literal 3 binary64)) #s(literal -1 binary64))) (-.f64 (+.f64 (pow.f64 (*.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x) #s(literal 2 binary64)) #s(literal 1 binary64)) (*.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x)))
(fma.f64 (*.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x) x (*.f64 #s(literal 1 binary64) x))
(fma.f64 #s(literal 1 binary64) x (*.f64 (*.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x) x))
(fma.f64 x (*.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x) (*.f64 x #s(literal 1 binary64)))
(fma.f64 x #s(literal 1 binary64) (*.f64 x (*.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x)))
(+.f64 (*.f64 (*.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x) x) (*.f64 #s(literal 1 binary64) x))
(+.f64 (*.f64 #s(literal 1 binary64) x) (*.f64 (*.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x) x))
(+.f64 (*.f64 x (*.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x)) (*.f64 x #s(literal 1 binary64)))
(+.f64 (*.f64 x #s(literal 1 binary64)) (*.f64 x (*.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 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)) #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 (*.f64 #s(literal 1/6 binary64) x) #s(literal 1/2 binary64))
(*.f64 #s(literal 1/12 binary64) x)
(*.f64 #s(literal 1/2 binary64) (*.f64 #s(literal 1/6 binary64) x))
(*.f64 #s(literal 1/6 binary64) (*.f64 x #s(literal 1/2 binary64)))
(*.f64 x #s(literal 1/12 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 (*.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(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 (*.f64 #s(literal 1/6 binary64) x) #s(literal 1/2 binary64) #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)))
(fma.f64 #s(literal 1/2 binary64) (*.f64 #s(literal 1/6 binary64) x) #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64)))
(fma.f64 #s(literal 1/6 binary64) (*.f64 x #s(literal 1/2 binary64)) #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 (*.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 (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)))
#s(approx (- (exp x) 1) x)
(/.f64 (-.f64 #s(literal 1/4 binary64) (pow.f64 (*.f64 #s(literal 1/6 binary64) x) #s(literal 2 binary64))) (-.f64 #s(literal 1/2 binary64) (*.f64 #s(literal 1/6 binary64) x)))
(/.f64 (neg.f64 (fma.f64 #s(literal 1/36 binary64) (*.f64 x x) #s(literal -1/4 binary64))) (neg.f64 (-.f64 (*.f64 #s(literal 1/6 binary64) x) #s(literal 1/2 binary64))))
(/.f64 (neg.f64 (fma.f64 #s(literal 1/216 binary64) (pow.f64 x #s(literal 3 binary64)) #s(literal 1/8 binary64))) (neg.f64 (fma.f64 #s(literal 1/36 binary64) (*.f64 x x) (-.f64 #s(literal 1/4 binary64) (*.f64 #s(literal 1/12 binary64) x)))))
(/.f64 (fma.f64 #s(literal 1/36 binary64) (*.f64 x x) #s(literal -1/4 binary64)) (-.f64 (*.f64 #s(literal 1/6 binary64) x) #s(literal 1/2 binary64)))
(/.f64 (fma.f64 #s(literal 1/216 binary64) (pow.f64 x #s(literal 3 binary64)) #s(literal 1/8 binary64)) (+.f64 #s(literal 1/4 binary64) (-.f64 (pow.f64 (*.f64 #s(literal 1/6 binary64) x) #s(literal 2 binary64)) (*.f64 #s(literal 1/12 binary64) x))))
(/.f64 (fma.f64 #s(literal 1/216 binary64) (pow.f64 x #s(literal 3 binary64)) #s(literal 1/8 binary64)) (fma.f64 #s(literal 1/36 binary64) (*.f64 x x) (-.f64 #s(literal 1/4 binary64) (*.f64 #s(literal 1/12 binary64) x))))
(fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64))
(fma.f64 x #s(literal 1/6 binary64) #s(literal 1/2 binary64))
(-.f64 (/.f64 (pow.f64 (*.f64 #s(literal 1/6 binary64) x) #s(literal 2 binary64)) (-.f64 (*.f64 #s(literal 1/6 binary64) x) #s(literal 1/2 binary64))) (/.f64 #s(literal 1/4 binary64) (-.f64 (*.f64 #s(literal 1/6 binary64) x) #s(literal 1/2 binary64))))
(-.f64 #s(literal 1/2 binary64) (*.f64 #s(literal -1/6 binary64) x))
(-.f64 #s(literal 1/2 binary64) (*.f64 (neg.f64 x) #s(literal 1/6 binary64)))
(+.f64 (/.f64 (pow.f64 (*.f64 #s(literal 1/6 binary64) x) #s(literal 3 binary64)) (fma.f64 #s(literal 1/36 binary64) (*.f64 x x) (-.f64 #s(literal 1/4 binary64) (*.f64 #s(literal 1/12 binary64) x)))) (/.f64 #s(literal 1/8 binary64) (fma.f64 #s(literal 1/36 binary64) (*.f64 x x) (-.f64 #s(literal 1/4 binary64) (*.f64 #s(literal 1/12 binary64) x)))))
(+.f64 (*.f64 #s(literal 1/6 binary64) x) #s(literal 1/2 binary64))
(+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal 1/6 binary64) x))
(/.f64 (-.f64 #s(literal 1 binary64) (pow.f64 (*.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x) #s(literal 2 binary64))) (-.f64 #s(literal 1 binary64) (*.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x)))
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x) #s(literal 2 binary64)) #s(literal 1 binary64))) (neg.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal -1 binary64))))
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x) #s(literal 3 binary64)) #s(literal -1 binary64))) (neg.f64 (-.f64 (+.f64 (pow.f64 (*.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x) #s(literal 2 binary64)) #s(literal 1 binary64)) (*.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x))))
(/.f64 (-.f64 (pow.f64 (*.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x) #s(literal 2 binary64)) #s(literal 1 binary64)) (fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal -1 binary64)))
(/.f64 (-.f64 (pow.f64 (*.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x) #s(literal 3 binary64)) #s(literal -1 binary64)) (+.f64 #s(literal 1 binary64) (-.f64 (pow.f64 (*.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x) #s(literal 2 binary64)) (*.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x))))
(/.f64 (-.f64 (pow.f64 (*.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x) #s(literal 3 binary64)) #s(literal -1 binary64)) (-.f64 (+.f64 (pow.f64 (*.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x) #s(literal 2 binary64)) #s(literal 1 binary64)) (*.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x)))
(fma.f64 (*.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x) #s(literal 1 binary64) #s(literal 1 binary64))
(fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) (*.f64 x #s(literal 1 binary64)) #s(literal 1 binary64))
(fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64))
(fma.f64 #s(literal 1 binary64) (*.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x) #s(literal 1 binary64))
(fma.f64 x (*.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) #s(literal 1 binary64)) #s(literal 1 binary64))
(fma.f64 x (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) #s(literal 1 binary64))
(-.f64 (/.f64 (pow.f64 (*.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x) #s(literal 2 binary64)) (fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal -1 binary64))) (/.f64 #s(literal 1 binary64) (fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal -1 binary64))))
(-.f64 (*.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x) #s(literal -1 binary64))
(-.f64 #s(literal 1 binary64) (*.f64 (neg.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64))) x))
(-.f64 #s(literal 1 binary64) (*.f64 (neg.f64 x) (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64))))
(+.f64 (/.f64 (pow.f64 (*.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x) #s(literal 3 binary64)) (-.f64 (+.f64 (pow.f64 (*.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x) #s(literal 2 binary64)) #s(literal 1 binary64)) (*.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x))) (/.f64 #s(literal 1 binary64) (-.f64 (+.f64 (pow.f64 (*.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x) #s(literal 2 binary64)) #s(literal 1 binary64)) (*.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x))))
(+.f64 (*.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x) #s(literal 1 binary64))
(+.f64 #s(literal 1 binary64) (*.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x))

eval19.0ms (0.4%)

Memory
-16.8MiB live, 28.5MiB allocated; 7ms collecting garbage
Compiler

Compiled 3 361 to 541 computations (83.9% saved)

prune7.0ms (0.2%)

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

11 alts after pruning (2 fresh and 9 done)

PrunedKeptTotal
New1452147
Fresh000
Picked145
Done055
Total14611157
Accuracy
100.0%
Counts
157 → 11
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(/.f64 (exp.f64 x) (expm1.f64 x))
98.9%
(/.f64 (exp.f64 x) #s(approx (- (exp x) 1) x))
71.1%
(/.f64 #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) (*.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x)))
90.0%
(/.f64 #s(approx (exp x) #s(literal 1 binary64)) #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)))
71.5%
#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))))
71.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))))
2.6%
#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))))
71.5%
#s(approx (/ (exp x) (- (exp x) 1)) (/.f64 #s(literal 1 binary64) x))
71.5%
#s(approx (/ (exp x) (- (exp x) 1)) (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64)))
2.9%
#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 176 to 122 computations (30.7% saved)

simplify140.0ms (3.2%)

Memory
-26.1MiB live, 165.8MiB allocated; 38ms collecting garbage
Localize:

Found 8 expressions of interest:

NewMetricScoreProgram
cost-diff0
(fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64))
cost-diff0
(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))
cost-diff0
#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)))
cost-diff0
(/.f64 #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) (*.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x)))
cost-diff0
(*.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x)
cost-diff0
#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))
cost-diff0
#s(approx (exp x) #s(literal 1 binary64))
cost-diff0
(/.f64 #s(approx (exp x) #s(literal 1 binary64)) #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)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
015150
023150
134150
279150
3271150
41238150
56367150
08287142
Stop Event
iter limit
node limit
iter limit
Calls
Call 1
Inputs
(/.f64 #s(approx (exp x) #s(literal 1 binary64)) #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) #s(literal 1 binary64))
#s(literal 1 binary64)
#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))
(*.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x)
(fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64))
(fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64))
#s(literal 1/6 binary64)
x
#s(literal 1/2 binary64)
(/.f64 #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) (*.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) (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)))
(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))
(fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64))
(fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64))
#s(literal 1/6 binary64)
x
#s(literal 1/2 binary64)
#s(literal 1 binary64)
#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))
(*.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x)
Outputs
(/.f64 #s(approx (exp x) #s(literal 1 binary64)) #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) #s(literal 1 binary64))
#s(literal 1 binary64)
#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))
(*.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x)
(fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64))
(fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64))
#s(literal 1/6 binary64)
x
#s(literal 1/2 binary64)
(/.f64 #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) (*.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) (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)))
(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))
(fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64))
(fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64))
#s(literal 1/6 binary64)
x
#s(literal 1/2 binary64)
#s(literal 1 binary64)
#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))
(*.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x)

localize71.0ms (1.6%)

Memory
41.2MiB live, 141.9MiB allocated; 34ms collecting garbage
Localize:

Found 8 expressions of interest:

NewMetricScoreProgram
accuracy0.0390625
(fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64))
accuracy0.08203125
(fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64))
accuracy17.98267570273125
#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))
accuracy18.312859498802712
#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)))
accuracy0.0390625
(fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64))
accuracy0.08203125
(fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64))
accuracy17.98267570273125
#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))
accuracy18.63551668843539
#s(approx (exp x) #s(literal 1 binary64))
Samples
32.0ms256×0valid
Compiler

Compiled 99 to 15 computations (84.8% saved)

Precisions
Click to see histograms. Total time spent on operations: 22.0ms
ival-add: 7.0ms (32.2% of total)
ival-mult: 5.0ms (23% of total)
const: 4.0ms (18.4% of total)
ival-div: 2.0ms (9.2% of total)
ival-exp: 2.0ms (9.2% of total)
ival-expm1: 2.0ms (9.2% 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)

series5.0ms (0.1%)

Memory
-36.8MiB live, 10.9MiB allocated; 4ms collecting garbage
Counts
9 → 42
Calls
Call 1
Inputs
(/.f64 #s(approx (exp x) #s(literal 1 binary64)) #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) #s(literal 1 binary64))
#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))
(*.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x)
(/.f64 #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) (*.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) (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)))
(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))
(fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64))
(fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64))
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/6 x) 1/2) x) 1) x) #s(hole binary64 x))
#s(approx (* (+ (* (+ (* 1/6 x) 1/2) x) 1) x) #s(hole binary64 (* x (+ 1 (* 1/2 x)))))
#s(approx (* (+ (* (+ (* 1/6 x) 1/2) x) 1) x) #s(hole binary64 (* x (+ 1 (* x (+ 1/2 (* 1/6 x)))))))
#s(approx (+ (* (+ (* (+ (* 1/6 x) 1/2) x) 1) x) 1) #s(hole binary64 1))
#s(approx (+ (* (+ (* (+ (* 1/6 x) 1/2) x) 1) x) 1) #s(hole binary64 (+ 1 x)))
#s(approx (+ (* (+ (* (+ (* 1/6 x) 1/2) x) 1) x) 1) #s(hole binary64 (+ 1 (* x (+ 1 (* 1/2 x))))))
#s(approx (+ (* (+ (* (+ (* 1/6 x) 1/2) x) 1) x) 1) #s(hole binary64 (+ 1 (* x (+ 1 (* x (+ 1/2 (* 1/6 x))))))))
#s(approx (+ (* (+ (* 1/6 x) 1/2) x) 1) #s(hole binary64 1))
#s(approx (+ (* (+ (* 1/6 x) 1/2) x) 1) #s(hole binary64 (+ 1 (* 1/2 x))))
#s(approx (+ (* (+ (* 1/6 x) 1/2) x) 1) #s(hole binary64 (+ 1 (* x (+ 1/2 (* 1/6 x))))))
#s(approx (+ (* 1/6 x) 1/2) #s(hole binary64 1/2))
#s(approx (+ (* 1/6 x) 1/2) #s(hole binary64 (+ 1/2 (* 1/6 x))))
#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/6 x) 1/2) x) 1) x) #s(hole binary64 (* 1/6 (pow x 3))))
#s(approx (* (+ (* (+ (* 1/6 x) 1/2) x) 1) x) #s(hole binary64 (* (pow x 3) (+ 1/6 (* 1/2 (/ 1 x))))))
#s(approx (* (+ (* (+ (* 1/6 x) 1/2) x) 1) x) #s(hole binary64 (* (pow x 3) (+ 1/6 (+ (* 1/2 (/ 1 x)) (/ 1 (pow x 2)))))))
#s(approx (+ (* (+ (* (+ (* 1/6 x) 1/2) x) 1) x) 1) #s(hole binary64 (* 1/6 (pow x 3))))
#s(approx (+ (* (+ (* (+ (* 1/6 x) 1/2) x) 1) x) 1) #s(hole binary64 (* (pow x 3) (+ 1/6 (* 1/2 (/ 1 x))))))
#s(approx (+ (* (+ (* (+ (* 1/6 x) 1/2) x) 1) x) 1) #s(hole binary64 (* (pow x 3) (+ 1/6 (+ (* 1/2 (/ 1 x)) (/ 1 (pow x 2)))))))
#s(approx (+ (* (+ (* (+ (* 1/6 x) 1/2) x) 1) x) 1) #s(hole binary64 (* (pow x 3) (+ 1/6 (+ (* 1/2 (/ 1 x)) (+ (/ 1 (pow x 2)) (/ 1 (pow x 3))))))))
#s(approx (+ (* (+ (* 1/6 x) 1/2) x) 1) #s(hole binary64 (* 1/6 (pow x 2))))
#s(approx (+ (* (+ (* 1/6 x) 1/2) x) 1) #s(hole binary64 (* (pow x 2) (+ 1/6 (* 1/2 (/ 1 x))))))
#s(approx (+ (* (+ (* 1/6 x) 1/2) x) 1) #s(hole binary64 (* (pow x 2) (+ 1/6 (+ (* 1/2 (/ 1 x)) (/ 1 (pow x 2)))))))
#s(approx (+ (* 1/6 x) 1/2) #s(hole binary64 (* 1/6 x)))
#s(approx (+ (* 1/6 x) 1/2) #s(hole binary64 (* x (+ 1/6 (* 1/2 (/ 1 x))))))
#s(approx (* (+ (* (+ (* 1/6 x) 1/2) x) 1) x) #s(hole binary64 (* -1 (* (pow x 3) (- (* -1 (/ (+ 1/2 (/ 1 x)) x)) 1/6)))))
#s(approx (+ (* (+ (* (+ (* 1/6 x) 1/2) x) 1) x) 1) #s(hole binary64 (* -1 (* (pow x 3) (- (* -1 (/ (+ 1/2 (/ 1 x)) x)) 1/6)))))
#s(approx (+ (* (+ (* (+ (* 1/6 x) 1/2) x) 1) x) 1) #s(hole binary64 (* -1 (* (pow x 3) (- (* -1 (/ (+ 1/2 (+ (/ 1 x) (/ 1 (pow x 2)))) x)) 1/6)))))
Calls

3 calls:

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

simplify154.0ms (3.5%)

Memory
39.5MiB live, 223.4MiB allocated; 18ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0124714
1337712
21030698
34120697
08307574
Stop Event
iter limit
node limit
Counts
42 → 42
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/6 x) 1/2) x) 1) x) #s(hole binary64 x))
#s(approx (* (+ (* (+ (* 1/6 x) 1/2) x) 1) x) #s(hole binary64 (* x (+ 1 (* 1/2 x)))))
#s(approx (* (+ (* (+ (* 1/6 x) 1/2) x) 1) x) #s(hole binary64 (* x (+ 1 (* x (+ 1/2 (* 1/6 x)))))))
#s(approx (+ (* (+ (* (+ (* 1/6 x) 1/2) x) 1) x) 1) #s(hole binary64 1))
#s(approx (+ (* (+ (* (+ (* 1/6 x) 1/2) x) 1) x) 1) #s(hole binary64 (+ 1 x)))
#s(approx (+ (* (+ (* (+ (* 1/6 x) 1/2) x) 1) x) 1) #s(hole binary64 (+ 1 (* x (+ 1 (* 1/2 x))))))
#s(approx (+ (* (+ (* (+ (* 1/6 x) 1/2) x) 1) x) 1) #s(hole binary64 (+ 1 (* x (+ 1 (* x (+ 1/2 (* 1/6 x))))))))
#s(approx (+ (* (+ (* 1/6 x) 1/2) x) 1) #s(hole binary64 1))
#s(approx (+ (* (+ (* 1/6 x) 1/2) x) 1) #s(hole binary64 (+ 1 (* 1/2 x))))
#s(approx (+ (* (+ (* 1/6 x) 1/2) x) 1) #s(hole binary64 (+ 1 (* x (+ 1/2 (* 1/6 x))))))
#s(approx (+ (* 1/6 x) 1/2) #s(hole binary64 1/2))
#s(approx (+ (* 1/6 x) 1/2) #s(hole binary64 (+ 1/2 (* 1/6 x))))
#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/6 x) 1/2) x) 1) x) #s(hole binary64 (* 1/6 (pow x 3))))
#s(approx (* (+ (* (+ (* 1/6 x) 1/2) x) 1) x) #s(hole binary64 (* (pow x 3) (+ 1/6 (* 1/2 (/ 1 x))))))
#s(approx (* (+ (* (+ (* 1/6 x) 1/2) x) 1) x) #s(hole binary64 (* (pow x 3) (+ 1/6 (+ (* 1/2 (/ 1 x)) (/ 1 (pow x 2)))))))
#s(approx (+ (* (+ (* (+ (* 1/6 x) 1/2) x) 1) x) 1) #s(hole binary64 (* 1/6 (pow x 3))))
#s(approx (+ (* (+ (* (+ (* 1/6 x) 1/2) x) 1) x) 1) #s(hole binary64 (* (pow x 3) (+ 1/6 (* 1/2 (/ 1 x))))))
#s(approx (+ (* (+ (* (+ (* 1/6 x) 1/2) x) 1) x) 1) #s(hole binary64 (* (pow x 3) (+ 1/6 (+ (* 1/2 (/ 1 x)) (/ 1 (pow x 2)))))))
#s(approx (+ (* (+ (* (+ (* 1/6 x) 1/2) x) 1) x) 1) #s(hole binary64 (* (pow x 3) (+ 1/6 (+ (* 1/2 (/ 1 x)) (+ (/ 1 (pow x 2)) (/ 1 (pow x 3))))))))
#s(approx (+ (* (+ (* 1/6 x) 1/2) x) 1) #s(hole binary64 (* 1/6 (pow x 2))))
#s(approx (+ (* (+ (* 1/6 x) 1/2) x) 1) #s(hole binary64 (* (pow x 2) (+ 1/6 (* 1/2 (/ 1 x))))))
#s(approx (+ (* (+ (* 1/6 x) 1/2) x) 1) #s(hole binary64 (* (pow x 2) (+ 1/6 (+ (* 1/2 (/ 1 x)) (/ 1 (pow x 2)))))))
#s(approx (+ (* 1/6 x) 1/2) #s(hole binary64 (* 1/6 x)))
#s(approx (+ (* 1/6 x) 1/2) #s(hole binary64 (* x (+ 1/6 (* 1/2 (/ 1 x))))))
#s(approx (* (+ (* (+ (* 1/6 x) 1/2) x) 1) x) #s(hole binary64 (* -1 (* (pow x 3) (- (* -1 (/ (+ 1/2 (/ 1 x)) x)) 1/6)))))
#s(approx (+ (* (+ (* (+ (* 1/6 x) 1/2) x) 1) x) 1) #s(hole binary64 (* -1 (* (pow x 3) (- (* -1 (/ (+ 1/2 (/ 1 x)) x)) 1/6)))))
#s(approx (+ (* (+ (* (+ (* 1/6 x) 1/2) x) 1) x) 1) #s(hole binary64 (* -1 (* (pow x 3) (- (* -1 (/ (+ 1/2 (+ (/ 1 x) (/ 1 (pow x 2)))) x)) 1/6)))))
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 #s(literal 1/2 binary64) (/.f64 #s(literal -1 binary64) 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)) (fma.f64 #s(literal 1/12 binary64) x (-.f64 #s(literal 1/2 binary64) (/.f64 #s(literal -1 binary64) 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) (- (exp x) 1)) (fma.f64 (fma.f64 (*.f64 x x) #s(literal -1/720 binary64) #s(literal 1/12 binary64)) x (-.f64 #s(literal 1/2 binary64) (/.f64 #s(literal -1 binary64) x))))
#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/6 x) 1/2) x) 1) x) #s(hole binary64 x))
#s(approx (* (+ (* (+ (* 1/6 x) 1/2) x) 1) x) x)
#s(approx (* (+ (* (+ (* 1/6 x) 1/2) x) 1) x) #s(hole binary64 (* x (+ 1 (* 1/2 x)))))
#s(approx (* (+ (* (+ (* 1/6 x) 1/2) x) 1) x) (*.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x))
#s(approx (* (+ (* (+ (* 1/6 x) 1/2) x) 1) x) #s(hole binary64 (* x (+ 1 (* x (+ 1/2 (* 1/6 x)))))))
#s(approx (* (+ (* (+ (* 1/6 x) 1/2) x) 1) x) (*.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x))
#s(approx (+ (* (+ (* (+ (* 1/6 x) 1/2) x) 1) x) 1) #s(hole binary64 1))
#s(approx (+ (* (+ (* (+ (* 1/6 x) 1/2) x) 1) x) 1) #s(literal 1 binary64))
#s(approx (+ (* (+ (* (+ (* 1/6 x) 1/2) x) 1) x) 1) #s(hole binary64 (+ 1 x)))
#s(approx (+ (* (+ (* (+ (* 1/6 x) 1/2) x) 1) x) 1) (-.f64 x #s(literal -1 binary64)))
#s(approx (+ (* (+ (* (+ (* 1/6 x) 1/2) x) 1) x) 1) #s(hole binary64 (+ 1 (* x (+ 1 (* 1/2 x))))))
#s(approx (+ (* (+ (* (+ (* 1/6 x) 1/2) x) 1) x) 1) (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x #s(literal 1 binary64)))
#s(approx (+ (* (+ (* (+ (* 1/6 x) 1/2) x) 1) x) 1) #s(hole binary64 (+ 1 (* x (+ 1 (* x (+ 1/2 (* 1/6 x))))))))
#s(approx (+ (* (+ (* (+ (* 1/6 x) 1/2) x) 1) x) 1) (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 (+ (* (+ (* 1/6 x) 1/2) x) 1) #s(hole binary64 1))
#s(approx (+ (* (+ (* 1/6 x) 1/2) x) 1) #s(literal 1 binary64))
#s(approx (+ (* (+ (* 1/6 x) 1/2) x) 1) #s(hole binary64 (+ 1 (* 1/2 x))))
#s(approx (+ (* (+ (* 1/6 x) 1/2) x) 1) (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)))
#s(approx (+ (* (+ (* 1/6 x) 1/2) x) 1) #s(hole binary64 (+ 1 (* x (+ 1/2 (* 1/6 x))))))
#s(approx (+ (* (+ (* 1/6 x) 1/2) x) 1) (fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)))
#s(approx (+ (* 1/6 x) 1/2) #s(hole binary64 1/2))
#s(approx (+ (* 1/6 x) 1/2) #s(literal 1/2 binary64))
#s(approx (+ (* 1/6 x) 1/2) #s(hole binary64 (+ 1/2 (* 1/6 x))))
#s(approx (+ (* 1/6 x) 1/2) (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)))
#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/6 x) 1/2) x) 1) x) #s(hole binary64 (* 1/6 (pow x 3))))
#s(approx (* (+ (* (+ (* 1/6 x) 1/2) x) 1) x) (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/6 binary64)))
#s(approx (* (+ (* (+ (* 1/6 x) 1/2) x) 1) x) #s(hole binary64 (* (pow x 3) (+ 1/6 (* 1/2 (/ 1 x))))))
#s(approx (* (+ (* (+ (* 1/6 x) 1/2) x) 1) x) (*.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) (*.f64 x x)))
#s(approx (* (+ (* (+ (* 1/6 x) 1/2) x) 1) x) #s(hole binary64 (* (pow x 3) (+ 1/6 (+ (* 1/2 (/ 1 x)) (/ 1 (pow x 2)))))))
#s(approx (* (+ (* (+ (* 1/6 x) 1/2) x) 1) x) (*.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x))
#s(approx (+ (* (+ (* (+ (* 1/6 x) 1/2) x) 1) x) 1) #s(hole binary64 (* 1/6 (pow x 3))))
#s(approx (+ (* (+ (* (+ (* 1/6 x) 1/2) x) 1) x) 1) (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/6 binary64)))
#s(approx (+ (* (+ (* (+ (* 1/6 x) 1/2) x) 1) x) 1) #s(hole binary64 (* (pow x 3) (+ 1/6 (* 1/2 (/ 1 x))))))
#s(approx (+ (* (+ (* (+ (* 1/6 x) 1/2) x) 1) x) 1) (*.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) (*.f64 x x)))
#s(approx (+ (* (+ (* (+ (* 1/6 x) 1/2) x) 1) x) 1) #s(hole binary64 (* (pow x 3) (+ 1/6 (+ (* 1/2 (/ 1 x)) (/ 1 (pow x 2)))))))
#s(approx (+ (* (+ (* (+ (* 1/6 x) 1/2) x) 1) 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 (+ (* (+ (* (+ (* 1/6 x) 1/2) x) 1) x) 1) #s(hole binary64 (* (pow x 3) (+ 1/6 (+ (* 1/2 (/ 1 x)) (+ (/ 1 (pow x 2)) (/ 1 (pow x 3))))))))
#s(approx (+ (* (+ (* (+ (* 1/6 x) 1/2) x) 1) x) 1) (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 (+ (* (+ (* 1/6 x) 1/2) x) 1) #s(hole binary64 (* 1/6 (pow x 2))))
#s(approx (+ (* (+ (* 1/6 x) 1/2) x) 1) (*.f64 (*.f64 #s(literal 1/6 binary64) x) x))
#s(approx (+ (* (+ (* 1/6 x) 1/2) x) 1) #s(hole binary64 (* (pow x 2) (+ 1/6 (* 1/2 (/ 1 x))))))
#s(approx (+ (* (+ (* 1/6 x) 1/2) x) 1) (*.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x))
#s(approx (+ (* (+ (* 1/6 x) 1/2) x) 1) #s(hole binary64 (* (pow x 2) (+ 1/6 (+ (* 1/2 (/ 1 x)) (/ 1 (pow x 2)))))))
#s(approx (+ (* (+ (* 1/6 x) 1/2) x) 1) (fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)))
#s(approx (+ (* 1/6 x) 1/2) #s(hole binary64 (* 1/6 x)))
#s(approx (+ (* 1/6 x) 1/2) (*.f64 #s(literal 1/6 binary64) x))
#s(approx (+ (* 1/6 x) 1/2) #s(hole binary64 (* x (+ 1/6 (* 1/2 (/ 1 x))))))
#s(approx (+ (* 1/6 x) 1/2) (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)))
#s(approx (* (+ (* (+ (* 1/6 x) 1/2) x) 1) x) #s(hole binary64 (* -1 (* (pow x 3) (- (* -1 (/ (+ 1/2 (/ 1 x)) x)) 1/6)))))
#s(approx (* (+ (* (+ (* 1/6 x) 1/2) x) 1) x) (*.f64 (pow.f64 (neg.f64 x) #s(literal 3 binary64)) (-.f64 (/.f64 (-.f64 (/.f64 #s(literal -1 binary64) x) #s(literal 1/2 binary64)) x) #s(literal 1/6 binary64))))
#s(approx (+ (* (+ (* (+ (* 1/6 x) 1/2) x) 1) x) 1) #s(hole binary64 (* -1 (* (pow x 3) (- (* -1 (/ (+ 1/2 (/ 1 x)) x)) 1/6)))))
#s(approx (+ (* (+ (* (+ (* 1/6 x) 1/2) x) 1) x) 1) (*.f64 (pow.f64 (neg.f64 x) #s(literal 3 binary64)) (-.f64 (/.f64 (-.f64 (/.f64 #s(literal -1 binary64) x) #s(literal 1/2 binary64)) x) #s(literal 1/6 binary64))))
#s(approx (+ (* (+ (* (+ (* 1/6 x) 1/2) x) 1) x) 1) #s(hole binary64 (* -1 (* (pow x 3) (- (* -1 (/ (+ 1/2 (+ (/ 1 x) (/ 1 (pow x 2)))) x)) 1/6)))))
#s(approx (+ (* (+ (* (+ (* 1/6 x) 1/2) x) 1) x) 1) (*.f64 (pow.f64 (neg.f64 x) #s(literal 3 binary64)) (-.f64 (/.f64 (-.f64 #s(literal -1/2 binary64) (/.f64 (/.f64 (-.f64 x #s(literal -1 binary64)) x) x)) x) #s(literal 1/6 binary64))))

rewrite41.0ms (0.9%)

Memory
-7.2MiB live, 38.1MiB allocated; 5ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
015108
023108
187108
0662102
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
9 → 83
Calls
Call 1
Inputs
(/.f64 #s(approx (exp x) #s(literal 1 binary64)) #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) #s(literal 1 binary64))
#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))
(*.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x)
(/.f64 #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) (*.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) (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)))
(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))
(fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64))
(fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64))
Outputs
(/.f64 (neg.f64 (neg.f64 #s(approx (exp x) #s(literal 1 binary64)))) (neg.f64 (neg.f64 #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)))))
(/.f64 (neg.f64 #s(approx (exp x) #s(literal 1 binary64))) (neg.f64 #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))))
(/.f64 #s(approx (exp x) #s(literal 1 binary64)) #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)))
(neg.f64 (/.f64 (neg.f64 #s(approx (exp x) #s(literal 1 binary64))) #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))))
(neg.f64 (/.f64 #s(approx (exp x) #s(literal 1 binary64)) (neg.f64 #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) #s(literal 1 binary64))
#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))
(*.f64 (*.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))
(*.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) (*.f64 x #s(literal 1 binary64)))
(*.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x)
(*.f64 #s(literal 1 binary64) (*.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x))
(*.f64 x (*.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) #s(literal 1 binary64)))
(*.f64 x (fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)))
(/.f64 (*.f64 (-.f64 (pow.f64 (*.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x) #s(literal 2 binary64)) #s(literal 1 binary64)) x) (fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal -1 binary64)))
(/.f64 (*.f64 (-.f64 (pow.f64 (*.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x) #s(literal 3 binary64)) #s(literal -1 binary64)) x) (-.f64 (+.f64 (pow.f64 (*.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x) #s(literal 2 binary64)) #s(literal 1 binary64)) (*.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x)))
(/.f64 (*.f64 x (-.f64 (pow.f64 (*.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x) #s(literal 2 binary64)) #s(literal 1 binary64))) (fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal -1 binary64)))
(/.f64 (*.f64 x (-.f64 (pow.f64 (*.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x) #s(literal 3 binary64)) #s(literal -1 binary64))) (-.f64 (+.f64 (pow.f64 (*.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x) #s(literal 2 binary64)) #s(literal 1 binary64)) (*.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x)))
(fma.f64 (*.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x) x (*.f64 #s(literal 1 binary64) x))
(fma.f64 #s(literal 1 binary64) x (*.f64 (*.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x) x))
(fma.f64 x (*.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x) (*.f64 x #s(literal 1 binary64)))
(fma.f64 x #s(literal 1 binary64) (*.f64 x (*.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x)))
(+.f64 (*.f64 (*.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x) x) (*.f64 #s(literal 1 binary64) x))
(+.f64 (*.f64 #s(literal 1 binary64) x) (*.f64 (*.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x) x))
(+.f64 (*.f64 x (*.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x)) (*.f64 x #s(literal 1 binary64)))
(+.f64 (*.f64 x #s(literal 1 binary64)) (*.f64 x (*.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x)))
(/.f64 (neg.f64 (neg.f64 #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))))) (neg.f64 (neg.f64 #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)))))
(/.f64 (neg.f64 #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)))) (neg.f64 #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))))
(/.f64 #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) (*.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x)))
(neg.f64 (/.f64 (neg.f64 #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) (*.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x))))
(neg.f64 (/.f64 #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))) (neg.f64 #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) (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)))
(/.f64 (-.f64 #s(literal 1 binary64) (pow.f64 (*.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x) #s(literal 2 binary64))) (-.f64 #s(literal 1 binary64) (*.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x)))
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x) #s(literal 2 binary64)) #s(literal 1 binary64))) (neg.f64 (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))))
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x) #s(literal 3 binary64)) #s(literal -1 binary64))) (neg.f64 (-.f64 (+.f64 (pow.f64 (*.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x) #s(literal 2 binary64)) #s(literal 1 binary64)) (*.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x))))
(/.f64 (-.f64 (pow.f64 (*.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x) #s(literal 2 binary64)) #s(literal 1 binary64)) (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)))
(/.f64 (-.f64 (pow.f64 (*.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x) #s(literal 3 binary64)) #s(literal -1 binary64)) (+.f64 #s(literal 1 binary64) (-.f64 (pow.f64 (*.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x) #s(literal 2 binary64)) (*.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x))))
(/.f64 (-.f64 (pow.f64 (*.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x) #s(literal 3 binary64)) #s(literal -1 binary64)) (-.f64 (+.f64 (pow.f64 (*.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x) #s(literal 2 binary64)) #s(literal 1 binary64)) (*.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x)))
(fma.f64 (*.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(literal 1 binary64))
(fma.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) (*.f64 x #s(literal 1 binary64)) #s(literal 1 binary64))
(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))
(fma.f64 #s(literal 1 binary64) (*.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))
(fma.f64 x (*.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) #s(literal 1 binary64)) #s(literal 1 binary64))
(fma.f64 x (fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) #s(literal 1 binary64))
(-.f64 (/.f64 (pow.f64 (*.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x) #s(literal 2 binary64)) (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))) (/.f64 #s(literal 1 binary64) (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))))
(-.f64 (*.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))
(-.f64 #s(literal 1 binary64) (*.f64 (neg.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64))) x))
(-.f64 #s(literal 1 binary64) (*.f64 (neg.f64 x) (fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64))))
(+.f64 (/.f64 (pow.f64 (*.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x) #s(literal 3 binary64)) (-.f64 (+.f64 (pow.f64 (*.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x) #s(literal 2 binary64)) #s(literal 1 binary64)) (*.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x))) (/.f64 #s(literal 1 binary64) (-.f64 (+.f64 (pow.f64 (*.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x) #s(literal 2 binary64)) #s(literal 1 binary64)) (*.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x))))
(+.f64 (*.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))
(+.f64 #s(literal 1 binary64) (*.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x))
(/.f64 (-.f64 #s(literal 1 binary64) (pow.f64 (*.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x) #s(literal 2 binary64))) (-.f64 #s(literal 1 binary64) (*.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x)))
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x) #s(literal 2 binary64)) #s(literal 1 binary64))) (neg.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal -1 binary64))))
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x) #s(literal 3 binary64)) #s(literal -1 binary64))) (neg.f64 (-.f64 (+.f64 (pow.f64 (*.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x) #s(literal 2 binary64)) #s(literal 1 binary64)) (*.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x))))
(/.f64 (-.f64 (pow.f64 (*.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x) #s(literal 2 binary64)) #s(literal 1 binary64)) (fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal -1 binary64)))
(/.f64 (-.f64 (pow.f64 (*.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x) #s(literal 3 binary64)) #s(literal -1 binary64)) (+.f64 #s(literal 1 binary64) (-.f64 (pow.f64 (*.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x) #s(literal 2 binary64)) (*.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x))))
(/.f64 (-.f64 (pow.f64 (*.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x) #s(literal 3 binary64)) #s(literal -1 binary64)) (-.f64 (+.f64 (pow.f64 (*.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x) #s(literal 2 binary64)) #s(literal 1 binary64)) (*.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x)))
(fma.f64 (*.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x) #s(literal 1 binary64) #s(literal 1 binary64))
(fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) (*.f64 x #s(literal 1 binary64)) #s(literal 1 binary64))
(fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64))
(fma.f64 #s(literal 1 binary64) (*.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x) #s(literal 1 binary64))
(fma.f64 x (*.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) #s(literal 1 binary64)) #s(literal 1 binary64))
(fma.f64 x (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) #s(literal 1 binary64))
(-.f64 (/.f64 (pow.f64 (*.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x) #s(literal 2 binary64)) (fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal -1 binary64))) (/.f64 #s(literal 1 binary64) (fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal -1 binary64))))
(-.f64 (*.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x) #s(literal -1 binary64))
(-.f64 #s(literal 1 binary64) (*.f64 (neg.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64))) x))
(-.f64 #s(literal 1 binary64) (*.f64 (neg.f64 x) (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64))))
(+.f64 (/.f64 (pow.f64 (*.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x) #s(literal 3 binary64)) (-.f64 (+.f64 (pow.f64 (*.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x) #s(literal 2 binary64)) #s(literal 1 binary64)) (*.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x))) (/.f64 #s(literal 1 binary64) (-.f64 (+.f64 (pow.f64 (*.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x) #s(literal 2 binary64)) #s(literal 1 binary64)) (*.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x))))
(+.f64 (*.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x) #s(literal 1 binary64))
(+.f64 #s(literal 1 binary64) (*.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x))
(/.f64 (-.f64 #s(literal 1/4 binary64) (pow.f64 (*.f64 #s(literal 1/6 binary64) x) #s(literal 2 binary64))) (-.f64 #s(literal 1/2 binary64) (*.f64 #s(literal 1/6 binary64) x)))
(/.f64 (neg.f64 (fma.f64 #s(literal 1/36 binary64) (*.f64 x x) #s(literal -1/4 binary64))) (neg.f64 (-.f64 (*.f64 #s(literal 1/6 binary64) x) #s(literal 1/2 binary64))))
(/.f64 (neg.f64 (fma.f64 #s(literal 1/216 binary64) (pow.f64 x #s(literal 3 binary64)) #s(literal 1/8 binary64))) (neg.f64 (fma.f64 #s(literal 1/36 binary64) (*.f64 x x) (-.f64 #s(literal 1/4 binary64) (*.f64 x #s(literal 1/12 binary64))))))
(/.f64 (fma.f64 #s(literal 1/36 binary64) (*.f64 x x) #s(literal -1/4 binary64)) (-.f64 (*.f64 #s(literal 1/6 binary64) x) #s(literal 1/2 binary64)))
(/.f64 (fma.f64 #s(literal 1/216 binary64) (pow.f64 x #s(literal 3 binary64)) #s(literal 1/8 binary64)) (+.f64 #s(literal 1/4 binary64) (-.f64 (pow.f64 (*.f64 #s(literal 1/6 binary64) x) #s(literal 2 binary64)) (*.f64 x #s(literal 1/12 binary64)))))
(/.f64 (fma.f64 #s(literal 1/216 binary64) (pow.f64 x #s(literal 3 binary64)) #s(literal 1/8 binary64)) (fma.f64 #s(literal 1/36 binary64) (*.f64 x x) (-.f64 #s(literal 1/4 binary64) (*.f64 x #s(literal 1/12 binary64)))))
(fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64))
(fma.f64 x #s(literal 1/6 binary64) #s(literal 1/2 binary64))
(-.f64 (/.f64 (pow.f64 (*.f64 #s(literal 1/6 binary64) x) #s(literal 2 binary64)) (-.f64 (*.f64 #s(literal 1/6 binary64) x) #s(literal 1/2 binary64))) (/.f64 #s(literal 1/4 binary64) (-.f64 (*.f64 #s(literal 1/6 binary64) x) #s(literal 1/2 binary64))))
(-.f64 #s(literal 1/2 binary64) (*.f64 #s(literal -1/6 binary64) x))
(-.f64 #s(literal 1/2 binary64) (*.f64 (neg.f64 x) #s(literal 1/6 binary64)))
(+.f64 (/.f64 (pow.f64 (*.f64 #s(literal 1/6 binary64) x) #s(literal 3 binary64)) (fma.f64 #s(literal 1/36 binary64) (*.f64 x x) (-.f64 #s(literal 1/4 binary64) (*.f64 x #s(literal 1/12 binary64))))) (/.f64 #s(literal 1/8 binary64) (fma.f64 #s(literal 1/36 binary64) (*.f64 x x) (-.f64 #s(literal 1/4 binary64) (*.f64 x #s(literal 1/12 binary64))))))
(+.f64 (*.f64 #s(literal 1/6 binary64) x) #s(literal 1/2 binary64))
(+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal 1/6 binary64) x))

eval24.0ms (0.6%)

Memory
3.8MiB live, 49.8MiB allocated; 3ms collecting garbage
Compiler

Compiled 7 290 to 692 computations (90.5% saved)

prune18.0ms (0.4%)

Memory
-19.7MiB live, 34.4MiB allocated; 5ms collecting garbage
Pruning

15 alts after pruning (5 fresh and 10 done)

PrunedKeptTotal
New2245229
Fresh000
Picked112
Done099
Total22515240
Accuracy
100.0%
Counts
240 → 15
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(/.f64 (exp.f64 x) (expm1.f64 x))
98.9%
(/.f64 (exp.f64 x) #s(approx (- (exp x) 1) x))
71.1%
(/.f64 #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) (*.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x)))
91.5%
(/.f64 #s(approx (exp x) #s(literal 1 binary64)) #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)))
90.0%
(/.f64 #s(approx (exp x) #s(literal 1 binary64)) #s(approx (- (exp x) 1) (*.f64 (fma.f64 #s(approx (+ (* 1/6 x) 1/2) (*.f64 #s(literal 1/6 binary64) x)) x #s(literal 1 binary64)) x)))
83.4%
(/.f64 #s(approx (exp x) #s(literal 1 binary64)) #s(approx (- (exp x) 1) (*.f64 (fma.f64 #s(approx (+ (* 1/6 x) 1/2) #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x)))
24.3%
(/.f64 #s(approx (exp x) #s(literal 1 binary64)) #s(approx (- (exp x) 1) (*.f64 #s(approx (+ (* (+ (* 1/6 x) 1/2) x) 1) (*.f64 (*.f64 #s(literal 1/6 binary64) x) x)) x)))
22.1%
(/.f64 #s(approx (exp x) #s(literal 1 binary64)) #s(approx (- (exp x) 1) #s(approx (* (+ (* (+ (* 1/6 x) 1/2) x) 1) x) (*.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) (*.f64 x x)))))
71.5%
#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))))
71.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))))
2.6%
#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))))
71.5%
#s(approx (/ (exp x) (- (exp x) 1)) (/.f64 #s(literal 1 binary64) x))
71.5%
#s(approx (/ (exp x) (- (exp x) 1)) (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64)))
2.9%
#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 607 to 282 computations (53.5% saved)

regimes14.0ms (0.3%)

Memory
27.3MiB live, 27.3MiB allocated; 0ms collecting garbage
Counts
18 → 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))))
(/.f64 #s(approx (exp x) #s(literal 1 binary64)) #s(approx (- (exp x) 1) (*.f64 (fma.f64 #s(approx (+ (* 1/6 x) 1/2) #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x)))
(/.f64 #s(approx (exp x) #s(literal 1 binary64)) #s(approx (- (exp x) 1) (*.f64 #s(approx (+ (* (+ (* 1/6 x) 1/2) x) 1) (*.f64 (*.f64 #s(literal 1/6 binary64) x) x)) x)))
(/.f64 #s(approx (exp x) #s(literal 1 binary64)) #s(approx (- (exp x) 1) #s(approx (* (+ (* (+ (* 1/6 x) 1/2) x) 1) x) (*.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) (*.f64 x x)))))
(/.f64 #s(approx (exp x) #s(literal 1 binary64)) #s(approx (- (exp x) 1) (*.f64 (fma.f64 #s(approx (+ (* 1/6 x) 1/2) (*.f64 #s(literal 1/6 binary64) x)) x #s(literal 1 binary64)) x)))
(/.f64 #s(approx (exp x) #s(literal 1 binary64)) #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) (- (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 #s(approx (exp x) #s(literal 1 binary64)) #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)))
(/.f64 #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) (*.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x)))
(/.f64 (exp.f64 x) #s(approx (- (exp x) 1) x))
(/.f64 (exp.f64 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)))
(/.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:

5.0ms
x
4.0ms
(/.f64 (exp.f64 x) (-.f64 (exp.f64 x) #s(literal 1 binary64)))
4.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)

regimes14.0ms (0.3%)

Memory
-25.5MiB live, 20.8MiB allocated; 3ms collecting garbage
Counts
16 → 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))))
(/.f64 #s(approx (exp x) #s(literal 1 binary64)) #s(approx (- (exp x) 1) (*.f64 (fma.f64 #s(approx (+ (* 1/6 x) 1/2) #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x)))
(/.f64 #s(approx (exp x) #s(literal 1 binary64)) #s(approx (- (exp x) 1) (*.f64 #s(approx (+ (* (+ (* 1/6 x) 1/2) x) 1) (*.f64 (*.f64 #s(literal 1/6 binary64) x) x)) x)))
(/.f64 #s(approx (exp x) #s(literal 1 binary64)) #s(approx (- (exp x) 1) #s(approx (* (+ (* (+ (* 1/6 x) 1/2) x) 1) x) (*.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) (*.f64 x x)))))
(/.f64 #s(approx (exp x) #s(literal 1 binary64)) #s(approx (- (exp x) 1) (*.f64 (fma.f64 #s(approx (+ (* 1/6 x) 1/2) (*.f64 #s(literal 1/6 binary64) x)) x #s(literal 1 binary64)) x)))
(/.f64 #s(approx (exp x) #s(literal 1 binary64)) #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) (- (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 #s(approx (exp x) #s(literal 1 binary64)) #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)))
(/.f64 #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) (*.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x)))
(/.f64 (exp.f64 x) #s(approx (- (exp x) 1) x))
(/.f64 (exp.f64 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)))
Outputs
(/.f64 (exp.f64 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)))
Calls

3 calls:

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

Compiled 10 to 8 computations (20% saved)

regimes12.0ms (0.3%)

Memory
23.2MiB live, 23.2MiB allocated; 0ms collecting garbage
Counts
15 → 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))))
(/.f64 #s(approx (exp x) #s(literal 1 binary64)) #s(approx (- (exp x) 1) (*.f64 (fma.f64 #s(approx (+ (* 1/6 x) 1/2) #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x)))
(/.f64 #s(approx (exp x) #s(literal 1 binary64)) #s(approx (- (exp x) 1) (*.f64 #s(approx (+ (* (+ (* 1/6 x) 1/2) x) 1) (*.f64 (*.f64 #s(literal 1/6 binary64) x) x)) x)))
(/.f64 #s(approx (exp x) #s(literal 1 binary64)) #s(approx (- (exp x) 1) #s(approx (* (+ (* (+ (* 1/6 x) 1/2) x) 1) x) (*.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) (*.f64 x x)))))
(/.f64 #s(approx (exp x) #s(literal 1 binary64)) #s(approx (- (exp x) 1) (*.f64 (fma.f64 #s(approx (+ (* 1/6 x) 1/2) (*.f64 #s(literal 1/6 binary64) x)) x #s(literal 1 binary64)) x)))
(/.f64 #s(approx (exp x) #s(literal 1 binary64)) #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) (- (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 #s(approx (exp x) #s(literal 1 binary64)) #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)))
(/.f64 #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) (*.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x)))
(/.f64 (exp.f64 x) #s(approx (- (exp x) 1) x))
Outputs
(/.f64 (exp.f64 x) #s(approx (- (exp x) 1) x))
Calls

3 calls:

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

Compiled 10 to 8 computations (20% saved)

regimes17.0ms (0.4%)

Memory
-21.8MiB live, 21.8MiB allocated; 11ms collecting garbage
Counts
14 → 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))))
(/.f64 #s(approx (exp x) #s(literal 1 binary64)) #s(approx (- (exp x) 1) (*.f64 (fma.f64 #s(approx (+ (* 1/6 x) 1/2) #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x)))
(/.f64 #s(approx (exp x) #s(literal 1 binary64)) #s(approx (- (exp x) 1) (*.f64 #s(approx (+ (* (+ (* 1/6 x) 1/2) x) 1) (*.f64 (*.f64 #s(literal 1/6 binary64) x) x)) x)))
(/.f64 #s(approx (exp x) #s(literal 1 binary64)) #s(approx (- (exp x) 1) #s(approx (* (+ (* (+ (* 1/6 x) 1/2) x) 1) x) (*.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) (*.f64 x x)))))
(/.f64 #s(approx (exp x) #s(literal 1 binary64)) #s(approx (- (exp x) 1) (*.f64 (fma.f64 #s(approx (+ (* 1/6 x) 1/2) (*.f64 #s(literal 1/6 binary64) x)) x #s(literal 1 binary64)) x)))
(/.f64 #s(approx (exp x) #s(literal 1 binary64)) #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) (- (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 #s(approx (exp x) #s(literal 1 binary64)) #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)))
(/.f64 #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) (*.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x)))
Outputs
(/.f64 #s(approx (exp x) #s(literal 1 binary64)) #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)))
Calls

3 calls:

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

Compiled 10 to 8 computations (20% saved)

regimes10.0ms (0.2%)

Memory
18.3MiB live, 18.3MiB allocated; 0ms collecting garbage
Counts
12 → 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))))
(/.f64 #s(approx (exp x) #s(literal 1 binary64)) #s(approx (- (exp x) 1) (*.f64 (fma.f64 #s(approx (+ (* 1/6 x) 1/2) #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x)))
(/.f64 #s(approx (exp x) #s(literal 1 binary64)) #s(approx (- (exp x) 1) (*.f64 #s(approx (+ (* (+ (* 1/6 x) 1/2) x) 1) (*.f64 (*.f64 #s(literal 1/6 binary64) x) x)) x)))
(/.f64 #s(approx (exp x) #s(literal 1 binary64)) #s(approx (- (exp x) 1) #s(approx (* (+ (* (+ (* 1/6 x) 1/2) x) 1) x) (*.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) (*.f64 x x)))))
(/.f64 #s(approx (exp x) #s(literal 1 binary64)) #s(approx (- (exp x) 1) (*.f64 (fma.f64 #s(approx (+ (* 1/6 x) 1/2) (*.f64 #s(literal 1/6 binary64) x)) x #s(literal 1 binary64)) x)))
(/.f64 #s(approx (exp x) #s(literal 1 binary64)) #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) (- (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
(/.f64 #s(approx (exp x) #s(literal 1 binary64)) #s(approx (- (exp x) 1) (*.f64 (fma.f64 #s(approx (+ (* 1/6 x) 1/2) (*.f64 #s(literal 1/6 binary64) x)) x #s(literal 1 binary64)) x)))
Calls

3 calls:

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

Compiled 10 to 8 computations (20% saved)

regimes15.0ms (0.3%)

Memory
-27.3MiB live, 16.8MiB allocated; 11ms collecting garbage
Counts
9 → 2
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))))
(/.f64 #s(approx (exp x) #s(literal 1 binary64)) #s(approx (- (exp x) 1) (*.f64 (fma.f64 #s(approx (+ (* 1/6 x) 1/2) #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x)))
(/.f64 #s(approx (exp x) #s(literal 1 binary64)) #s(approx (- (exp x) 1) (*.f64 #s(approx (+ (* (+ (* 1/6 x) 1/2) x) 1) (*.f64 (*.f64 #s(literal 1/6 binary64) x) x)) x)))
(/.f64 #s(approx (exp x) #s(literal 1 binary64)) #s(approx (- (exp x) 1) #s(approx (* (+ (* (+ (* 1/6 x) 1/2) x) 1) x) (*.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) (*.f64 x x)))))
Outputs
(/.f64 #s(approx (exp x) #s(literal 1 binary64)) #s(approx (- (exp x) 1) (*.f64 #s(approx (+ (* (+ (* 1/6 x) 1/2) x) 1) (*.f64 (*.f64 #s(literal 1/6 binary64) x) 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))))
Calls

3 calls:

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

Compiled 10 to 8 computations (20% saved)

regimes7.0ms (0.2%)

Memory
13.2MiB live, 13.2MiB 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))))
(/.f64 #s(approx (exp x) #s(literal 1 binary64)) #s(approx (- (exp x) 1) (*.f64 (fma.f64 #s(approx (+ (* 1/6 x) 1/2) #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x)))
Outputs
(/.f64 #s(approx (exp x) #s(literal 1 binary64)) #s(approx (- (exp x) 1) (*.f64 (fma.f64 #s(approx (+ (* 1/6 x) 1/2) #s(literal 1/2 binary64)) x #s(literal 1 binary64)) 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
83.4%1(/.f64 (exp.f64 x) (-.f64 (exp.f64 x) #s(literal 1 binary64)))
83.4%1(exp.f64 x)
83.4%1x
Compiler

Compiled 10 to 8 computations (20% saved)

regimes6.0ms (0.1%)

Memory
13.1MiB live, 13.1MiB 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
71.6%1(exp.f64 x)
71.6%1(/.f64 (exp.f64 x) (-.f64 (exp.f64 x) #s(literal 1 binary64)))
71.6%1x
Compiler

Compiled 10 to 8 computations (20% saved)

regimes5.0ms (0.1%)

Memory
12.0MiB live, 12.0MiB 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 #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
71.5%1(exp.f64 x)
71.5%1(/.f64 (exp.f64 x) (-.f64 (exp.f64 x) #s(literal 1 binary64)))
71.5%1x
Compiler

Compiled 10 to 8 computations (20% saved)

regimes11.0ms (0.3%)

Memory
-41.3MiB live, 10.0MiB allocated; 12ms collecting garbage
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/12 x) (- (/ 1 x) -1/2)) (*.f64 #s(literal 1/12 binary64) x)))
Calls

3 calls:

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

Compiled 10 to 8 computations (20% saved)

regimes3.0ms (0.1%)

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

Total 0.0b remaining (0%)

Threshold costs 0b (0%)

Counts
1 → 1
Calls
Call 1
Inputs
#s(approx (/ (exp x) (- (exp x) 1)) #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
2.9%1x
2.9%1(exp.f64 x)
2.9%1(/.f64 (exp.f64 x) (-.f64 (exp.f64 x) #s(literal 1 binary64)))
Compiler

Compiled 10 to 8 computations (20% saved)

bsearch14.0ms (0.3%)

Memory
20.2MiB live, 20.2MiB allocated; 0ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
Steps
TimeLeftRight
13.0ms
-12380813.962523248
-0.0505568046878317
Samples
7.0ms144×0valid
Compiler

Compiled 397 to 305 computations (23.2% saved)

Precisions
Click to see histograms. Total time spent on operations: 4.0ms
ival-exp: 2.0ms (49.7% of total)
ival-div: 1.0ms (24.9% of total)
ival-expm1: 1.0ms (24.9% of total)
ival-true: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

simplify59.0ms (1.3%)

Memory
-10.8MiB live, 34.6MiB allocated; 9ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
064209
179209
2125209
3252209
4682209
53347209
67870209
Stop Event
node limit
Calls
Call 1
Inputs
(/.f64 (exp.f64 x) (expm1.f64 x))
(/.f64 (exp.f64 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)))
(/.f64 (exp.f64 x) #s(approx (- (exp x) 1) x))
(/.f64 #s(approx (exp x) #s(literal 1 binary64)) #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)))
(/.f64 #s(approx (exp x) #s(literal 1 binary64)) #s(approx (- (exp x) 1) (*.f64 (fma.f64 #s(approx (+ (* 1/6 x) 1/2) (*.f64 #s(literal 1/6 binary64) x)) x #s(literal 1 binary64)) x)))
(if (<=.f64 x #s(literal -4 binary64)) (/.f64 #s(approx (exp x) #s(literal 1 binary64)) #s(approx (- (exp x) 1) (*.f64 #s(approx (+ (* (+ (* 1/6 x) 1/2) x) 1) (*.f64 (*.f64 #s(literal 1/6 binary64) x) 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)))))
(/.f64 #s(approx (exp x) #s(literal 1 binary64)) #s(approx (- (exp x) 1) (*.f64 (fma.f64 #s(approx (+ (* 1/6 x) 1/2) #s(literal 1/2 binary64)) x #s(literal 1 binary64)) 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)) (/.f64 #s(literal 1 binary64) x))
#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)) #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) (*.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x)))
(/.f64 (exp.f64 x) #s(approx (- (exp x) 1) x))
(/.f64 #s(approx (exp x) #s(literal 1 binary64)) #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)))
(/.f64 #s(approx (exp x) #s(literal 1 binary64)) #s(approx (- (exp x) 1) (*.f64 (fma.f64 #s(approx (+ (* 1/6 x) 1/2) (*.f64 #s(literal 1/6 binary64) x)) x #s(literal 1 binary64)) x)))
(if (<=.f64 x #s(literal -4 binary64)) (/.f64 #s(approx (exp x) #s(literal 1 binary64)) #s(approx (- (exp x) 1) (*.f64 #s(approx (+ (* (+ (* 1/6 x) 1/2) x) 1) (*.f64 (*.f64 #s(literal 1/6 binary64) x) 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)))))
(/.f64 #s(approx (exp x) #s(literal 1 binary64)) #s(approx (- (exp x) 1) (*.f64 (fma.f64 #s(approx (+ (* 1/6 x) 1/2) #s(literal 1/2 binary64)) x #s(literal 1 binary64)) 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)) (/.f64 #s(literal 1 binary64) x))
#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)) #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64)))

derivations681.0ms (15.5%)

Memory
-15.3MiB live, 514.8MiB allocated; 124ms collecting garbage
Stop Event
fuel
Compiler

Compiled 209 to 69 computations (67% saved)

preprocess63.0ms (1.4%)

Memory
21.2MiB live, 64.9MiB allocated; 10ms collecting garbage
Compiler

Compiled 444 to 160 computations (64% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...