expq2 (section 3.11)

Time bar (total: 1.8s)

start0.0ms (0%)

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

analyze2.0ms (0.1%)

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

sample799.0ms (44.5%)

Memory
23.4MiB live, 568.7MiB allocated; 712ms collecting garbage
Samples
568.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 161.0ms
ival-exp: 66.0ms (41% of total)
ival-expm1: 48.0ms (29.8% of total)
ival-div!: 44.0ms (27.3% of total)
adjust: 2.0ms (1.2% of total)
Bogosity

preprocess61.0ms (3.4%)

Memory
5.4MiB live, 48.3MiB allocated; 6ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01026
12926
29826
339726
4541926
Stop Event
node-limit
Alt Table
Click to see full alt table
StatusAccuracyProgram
36.9%
(/.f64 (exp.f64 x) (-.f64 (exp.f64 x) #s(literal 1 binary64)))
Compiler

Compiled 14 to 10 computations (28.6% saved)

series5.0ms (0.3%)

Memory
7.6MiB live, 7.6MiB allocated; 0ms collecting garbage
Counts
5 → 15
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
#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 x #s(hole binary64 x))
#s(approx (- (exp x) 1) #s(hole binary64 (* x (+ 1 (* 1/2 x)))))
#s(approx (- (exp x) 1) #s(hole binary64 (* x (+ 1 (* x (+ 1/2 (* 1/6 x)))))))
#s(approx (- (exp x) 1) #s(hole binary64 (* x (+ 1 (* x (+ 1/2 (* x (+ 1/6 (* 1/24 x)))))))))
#s(approx (/ (exp x) (- (exp x) 1)) #s(hole binary64 (/ (exp x) (- (exp x) 1))))
#s(approx (exp x) #s(hole binary64 (exp x)))
#s(approx (- (exp x) 1) #s(hole binary64 (- (exp x) 1)))
Calls

3 calls:

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

rewrite119.0ms (6.6%)

Memory
5.7MiB live, 97.5MiB allocated; 6ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
062203
067203
1372203
03268160
Stop Event
iter-limit
iter-limit
node-limit
iter-limit
Counts
20 → 47
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)
#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 x #s(hole binary64 x))
#s(approx (- (exp x) 1) #s(hole binary64 (* x (+ 1 (* 1/2 x)))))
#s(approx (- (exp x) 1) #s(hole binary64 (* x (+ 1 (* x (+ 1/2 (* 1/6 x)))))))
#s(approx (- (exp x) 1) #s(hole binary64 (* x (+ 1 (* x (+ 1/2 (* x (+ 1/6 (* 1/24 x)))))))))
#s(approx (/ (exp x) (- (exp x) 1)) #s(hole binary64 (/ (exp x) (- (exp x) 1))))
#s(approx (exp x) #s(hole binary64 (exp x)))
#s(approx (- (exp x) 1) #s(hole binary64 (- (exp x) 1)))
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)))) (+.f64 (-.f64 (exp.f64 x) #s(literal -1 binary64)) (exp.f64 (+.f64 x x))))
(/.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 (exp.f64 x) (neg.f64 (expm1.f64 x))))
(neg.f64 (/.f64 (neg.f64 (exp.f64 x)) (expm1.f64 x)))
(+.f64 (/.f64 (cosh.f64 x) (expm1.f64 x)) (/.f64 (sinh.f64 x) (expm1.f64 x)))
(*.f64 (exp.f64 x) #s(literal 1 binary64))
(*.f64 #s(literal 1 binary64) (exp.f64 x))
(/.f64 (*.f64 (exp.f64 x) #s(literal 2 binary64)) #s(literal 2 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)
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 (+.f64 (-.f64 (exp.f64 x) #s(literal -1 binary64)) (exp.f64 (+.f64 x x)))))
(/.f64 (expm1.f64 (+.f64 x x)) (-.f64 (exp.f64 x) #s(literal -1 binary64)))
(/.f64 (expm1.f64 (*.f64 x #s(literal 3 binary64))) (+.f64 (-.f64 (exp.f64 x) #s(literal -1 binary64)) (exp.f64 (+.f64 x x))))
(fma.f64 (exp.f64 x) #s(literal 1 binary64) #s(literal -1 binary64))
(fma.f64 #s(literal 1 binary64) (exp.f64 x) #s(literal -1 binary64))
(expm1.f64 (+.f64 x #s(literal 0 binary64)))
(expm1.f64 x)
(-.f64 (/.f64 (exp.f64 (+.f64 x x)) (-.f64 (exp.f64 x) #s(literal -1 binary64))) (/.f64 #s(literal 1 binary64) (-.f64 (exp.f64 x) #s(literal -1 binary64))))
(-.f64 (/.f64 (exp.f64 (*.f64 x #s(literal 3 binary64))) (+.f64 (-.f64 (exp.f64 x) #s(literal -1 binary64)) (exp.f64 (+.f64 x x)))) (/.f64 #s(literal 1 binary64) (+.f64 (-.f64 (exp.f64 x) #s(literal -1 binary64)) (exp.f64 (+.f64 x x)))))
(-.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(literal 1 binary64)
#s(approx (/ (exp x) (- (exp x) 1)) (/.f64 #s(literal 1 binary64) x))
#s(approx (/ (exp x) (- (exp x) 1)) (/.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x))
#s(approx (/ (exp x) (- (exp x) 1)) (/.f64 (fma.f64 (fma.f64 #s(literal 1/12 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x))
#s(approx (/ (exp x) (- (exp x) 1)) (/.f64 (fma.f64 (fma.f64 (fma.f64 (*.f64 x x) #s(literal -1/720 binary64) #s(literal 1/12 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) (-.f64 x #s(literal -1 binary64)))
#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) (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 x 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) (*.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) (*.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)) (/.f64 (exp.f64 x) (expm1.f64 x)))
#s(approx (exp x) (exp.f64 x))
#s(approx (- (exp x) 1) (expm1.f64 x))

eval4.0ms (0.2%)

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

Compiled 636 to 166 computations (73.9% saved)

prune4.0ms (0.2%)

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

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New37643
Fresh000
Picked101
Done000
Total38644
Accuracy
100.0%
Counts
44 → 6
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(/.f64 (exp.f64 x) (expm1.f64 x))
99.4%
(/.f64 (exp.f64 x) #s(approx (- (exp x) 1) (*.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x)))
100.0%
(*.f64 (/.f64 (exp.f64 x) (expm1.f64 (+.f64 x x))) (-.f64 (exp.f64 x) #s(literal -1 binary64)))
67.0%
#s(approx (/ (exp x) (- (exp x) 1)) (/.f64 (fma.f64 (fma.f64 #s(literal 1/12 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x))
67.2%
#s(approx (/ (exp x) (- (exp x) 1)) (/.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x))
67.6%
#s(approx (/ (exp x) (- (exp x) 1)) (/.f64 #s(literal 1 binary64) x))
Compiler

Compiled 146 to 106 computations (27.4% saved)

series10.0ms (0.6%)

Memory
9.2MiB live, 9.2MiB allocated; 0ms collecting garbage
Counts
22 → 48
Calls
Call 1
Inputs
(*.f64 (/.f64 (exp.f64 x) (expm1.f64 (+.f64 x x))) (-.f64 (exp.f64 x) #s(literal -1 binary64)))
(/.f64 (exp.f64 x) (expm1.f64 (+.f64 x x)))
(exp.f64 x)
x
(expm1.f64 (+.f64 x x))
(+.f64 x x)
(-.f64 (exp.f64 x) #s(literal -1 binary64))
#s(literal -1 binary64)
#s(approx (/ (exp x) (- (exp x) 1)) (/.f64 #s(literal 1 binary64) x))
(/.f64 #s(literal 1 binary64) x)
#s(literal 1 binary64)
#s(approx (/ (exp x) (- (exp x) 1)) (/.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x))
(/.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x)
(fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64))
#s(literal 1/2 binary64)
#s(approx (/ (exp x) (- (exp x) 1)) (/.f64 (fma.f64 (fma.f64 #s(literal 1/12 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x))
(/.f64 (fma.f64 (fma.f64 #s(literal 1/12 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x)
(fma.f64 (fma.f64 #s(literal 1/12 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64))
(fma.f64 #s(literal 1/12 binary64) x #s(literal 1/2 binary64))
#s(literal 1/12 binary64)
(/.f64 (exp.f64 x) (expm1.f64 x))
(expm1.f64 x)
Outputs
#s(approx (* (/ (exp x) (- (exp (+ x x)) 1)) (- (exp x) -1)) #s(hole binary64 (/ 1 x)))
#s(approx (* (/ (exp x) (- (exp (+ x x)) 1)) (- (exp x) -1)) #s(hole binary64 (/ (+ 1 (* 1/2 x)) x)))
#s(approx (* (/ (exp x) (- (exp (+ x x)) 1)) (- (exp x) -1)) #s(hole binary64 (/ (+ 1 (* x (+ 1/2 (* 1/12 x)))) x)))
#s(approx (* (/ (exp x) (- (exp (+ x x)) 1)) (- (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 x)) 1)) #s(hole binary64 (/ 1/2 x)))
#s(approx (/ (exp x) (- (exp (+ x x)) 1)) #s(hole binary64 (/ (+ 1/2 (* -1/12 (pow x 2))) x)))
#s(approx (/ (exp x) (- (exp (+ x x)) 1)) #s(hole binary64 (/ (+ 1/2 (* (pow x 2) (- (* 7/720 (pow x 2)) 1/12))) x)))
#s(approx (/ (exp x) (- (exp (+ x x)) 1)) #s(hole binary64 (/ (+ 1/2 (* (pow x 2) (- (* (pow x 2) (+ 7/720 (* -31/30240 (pow x 2)))) 1/12))) 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 x #s(hole binary64 x))
#s(approx (- (exp (+ x x)) 1) #s(hole binary64 (* 2 x)))
#s(approx (- (exp (+ x x)) 1) #s(hole binary64 (* x (+ 2 (* 2 x)))))
#s(approx (- (exp (+ x x)) 1) #s(hole binary64 (* x (+ 2 (* x (+ 2 (* 4/3 x)))))))
#s(approx (- (exp (+ x x)) 1) #s(hole binary64 (* x (+ 2 (* x (+ 2 (* x (+ 4/3 (* 2/3 x)))))))))
#s(approx (- (exp x) -1) #s(hole binary64 2))
#s(approx (- (exp x) -1) #s(hole binary64 (+ 2 x)))
#s(approx (- (exp x) -1) #s(hole binary64 (+ 2 (* x (+ 1 (* 1/2 x))))))
#s(approx (- (exp x) -1) #s(hole binary64 (+ 2 (* x (+ 1 (* x (+ 1/2 (* 1/6 x))))))))
#s(approx (+ (* 1/2 x) 1) #s(hole binary64 (+ 1 (* 1/2 x))))
#s(approx (+ (* (+ (* 1/12 x) 1/2) x) 1) #s(hole binary64 (+ 1 (* x (+ 1/2 (* 1/12 x))))))
#s(approx (+ (* 1/12 x) 1/2) #s(hole binary64 1/2))
#s(approx (+ (* 1/12 x) 1/2) #s(hole binary64 (+ 1/2 (* 1/12 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 x)) 1)) (- (exp x) -1)) #s(hole binary64 (/ (* (exp x) (+ 1 (exp x))) (- (exp (* 2 x)) 1))))
#s(approx (/ (exp x) (- (exp (+ x x)) 1)) #s(hole binary64 (/ (exp x) (- (exp (* 2 x)) 1))))
#s(approx (exp x) #s(hole binary64 (exp x)))
#s(approx (- (exp (+ x x)) 1) #s(hole binary64 (- (exp (* 2 x)) 1)))
#s(approx (- (exp x) -1) #s(hole binary64 (+ 1 (exp x))))
#s(approx (/ (exp x) (- (exp x) 1)) #s(hole binary64 (/ (exp x) (- (exp x) 1))))
#s(approx (/ (+ (* 1/2 x) 1) x) #s(hole binary64 (+ 1/2 (/ 1 x))))
#s(approx (+ (* 1/2 x) 1) #s(hole binary64 (* 1/2 x)))
#s(approx (+ (* 1/2 x) 1) #s(hole binary64 (* x (+ 1/2 (/ 1 x)))))
#s(approx (/ (+ (* (+ (* 1/12 x) 1/2) x) 1) x) #s(hole binary64 (* 1/12 x)))
#s(approx (/ (+ (* (+ (* 1/12 x) 1/2) x) 1) x) #s(hole binary64 (* x (+ 1/12 (* 1/2 (/ 1 x))))))
#s(approx (/ (+ (* (+ (* 1/12 x) 1/2) x) 1) x) #s(hole binary64 (* x (+ 1/12 (+ (* 1/2 (/ 1 x)) (/ 1 (pow x 2)))))))
#s(approx (+ (* (+ (* 1/12 x) 1/2) x) 1) #s(hole binary64 (* 1/12 (pow x 2))))
#s(approx (+ (* (+ (* 1/12 x) 1/2) x) 1) #s(hole binary64 (* (pow x 2) (+ 1/12 (* 1/2 (/ 1 x))))))
#s(approx (+ (* (+ (* 1/12 x) 1/2) x) 1) #s(hole binary64 (* (pow x 2) (+ 1/12 (+ (* 1/2 (/ 1 x)) (/ 1 (pow x 2)))))))
#s(approx (- (exp x) 1) #s(hole binary64 (- (exp x) 1)))
#s(approx (* (/ (exp x) (- (exp (+ x x)) 1)) (- (exp x) -1)) #s(hole binary64 (/ (* (exp x) (+ 1 (exp x))) (- (exp (neg (* -2 x))) 1))))
#s(approx (/ (exp x) (- (exp (+ x x)) 1)) #s(hole binary64 (/ (exp x) (- (exp (neg (* -2 x))) 1))))
#s(approx (- (exp (+ x x)) 1) #s(hole binary64 (- (exp (neg (* -2 x))) 1)))
#s(approx (/ (+ (* (+ (* 1/12 x) 1/2) x) 1) x) #s(hole binary64 (* -1 (* x (- (* -1 (/ (+ 1/2 (/ 1 x)) x)) 1/12)))))
Calls

3 calls:

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

rewrite111.0ms (6.2%)

Memory
-3.8MiB live, 57.1MiB allocated; 77ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0191825
0213786
01038760
Stop Event
iter-limit
iter-limit
node-limit
iter-limit
Counts
70 → 121
Calls
Call 1
Inputs
(*.f64 (/.f64 (exp.f64 x) (expm1.f64 (+.f64 x x))) (-.f64 (exp.f64 x) #s(literal -1 binary64)))
(/.f64 (exp.f64 x) (expm1.f64 (+.f64 x x)))
(exp.f64 x)
x
(expm1.f64 (+.f64 x x))
(+.f64 x x)
(-.f64 (exp.f64 x) #s(literal -1 binary64))
#s(literal -1 binary64)
#s(approx (/ (exp x) (- (exp x) 1)) (/.f64 #s(literal 1 binary64) x))
(/.f64 #s(literal 1 binary64) x)
#s(literal 1 binary64)
#s(approx (/ (exp x) (- (exp x) 1)) (/.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x))
(/.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x)
(fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64))
#s(literal 1/2 binary64)
#s(approx (/ (exp x) (- (exp x) 1)) (/.f64 (fma.f64 (fma.f64 #s(literal 1/12 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x))
(/.f64 (fma.f64 (fma.f64 #s(literal 1/12 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x)
(fma.f64 (fma.f64 #s(literal 1/12 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64))
(fma.f64 #s(literal 1/12 binary64) x #s(literal 1/2 binary64))
#s(literal 1/12 binary64)
(/.f64 (exp.f64 x) (expm1.f64 x))
(expm1.f64 x)
#s(approx (* (/ (exp x) (- (exp (+ x x)) 1)) (- (exp x) -1)) #s(hole binary64 (/ 1 x)))
#s(approx (* (/ (exp x) (- (exp (+ x x)) 1)) (- (exp x) -1)) #s(hole binary64 (/ (+ 1 (* 1/2 x)) x)))
#s(approx (* (/ (exp x) (- (exp (+ x x)) 1)) (- (exp x) -1)) #s(hole binary64 (/ (+ 1 (* x (+ 1/2 (* 1/12 x)))) x)))
#s(approx (* (/ (exp x) (- (exp (+ x x)) 1)) (- (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 x)) 1)) #s(hole binary64 (/ 1/2 x)))
#s(approx (/ (exp x) (- (exp (+ x x)) 1)) #s(hole binary64 (/ (+ 1/2 (* -1/12 (pow x 2))) x)))
#s(approx (/ (exp x) (- (exp (+ x x)) 1)) #s(hole binary64 (/ (+ 1/2 (* (pow x 2) (- (* 7/720 (pow x 2)) 1/12))) x)))
#s(approx (/ (exp x) (- (exp (+ x x)) 1)) #s(hole binary64 (/ (+ 1/2 (* (pow x 2) (- (* (pow x 2) (+ 7/720 (* -31/30240 (pow x 2)))) 1/12))) 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 x #s(hole binary64 x))
#s(approx (- (exp (+ x x)) 1) #s(hole binary64 (* 2 x)))
#s(approx (- (exp (+ x x)) 1) #s(hole binary64 (* x (+ 2 (* 2 x)))))
#s(approx (- (exp (+ x x)) 1) #s(hole binary64 (* x (+ 2 (* x (+ 2 (* 4/3 x)))))))
#s(approx (- (exp (+ x x)) 1) #s(hole binary64 (* x (+ 2 (* x (+ 2 (* x (+ 4/3 (* 2/3 x)))))))))
#s(approx (- (exp x) -1) #s(hole binary64 2))
#s(approx (- (exp x) -1) #s(hole binary64 (+ 2 x)))
#s(approx (- (exp x) -1) #s(hole binary64 (+ 2 (* x (+ 1 (* 1/2 x))))))
#s(approx (- (exp x) -1) #s(hole binary64 (+ 2 (* x (+ 1 (* x (+ 1/2 (* 1/6 x))))))))
#s(approx (+ (* 1/2 x) 1) #s(hole binary64 (+ 1 (* 1/2 x))))
#s(approx (+ (* (+ (* 1/12 x) 1/2) x) 1) #s(hole binary64 (+ 1 (* x (+ 1/2 (* 1/12 x))))))
#s(approx (+ (* 1/12 x) 1/2) #s(hole binary64 1/2))
#s(approx (+ (* 1/12 x) 1/2) #s(hole binary64 (+ 1/2 (* 1/12 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 x)) 1)) (- (exp x) -1)) #s(hole binary64 (/ (* (exp x) (+ 1 (exp x))) (- (exp (* 2 x)) 1))))
#s(approx (/ (exp x) (- (exp (+ x x)) 1)) #s(hole binary64 (/ (exp x) (- (exp (* 2 x)) 1))))
#s(approx (exp x) #s(hole binary64 (exp x)))
#s(approx (- (exp (+ x x)) 1) #s(hole binary64 (- (exp (* 2 x)) 1)))
#s(approx (- (exp x) -1) #s(hole binary64 (+ 1 (exp x))))
#s(approx (/ (exp x) (- (exp x) 1)) #s(hole binary64 (/ (exp x) (- (exp x) 1))))
#s(approx (/ (+ (* 1/2 x) 1) x) #s(hole binary64 (+ 1/2 (/ 1 x))))
#s(approx (+ (* 1/2 x) 1) #s(hole binary64 (* 1/2 x)))
#s(approx (+ (* 1/2 x) 1) #s(hole binary64 (* x (+ 1/2 (/ 1 x)))))
#s(approx (/ (+ (* (+ (* 1/12 x) 1/2) x) 1) x) #s(hole binary64 (* 1/12 x)))
#s(approx (/ (+ (* (+ (* 1/12 x) 1/2) x) 1) x) #s(hole binary64 (* x (+ 1/12 (* 1/2 (/ 1 x))))))
#s(approx (/ (+ (* (+ (* 1/12 x) 1/2) x) 1) x) #s(hole binary64 (* x (+ 1/12 (+ (* 1/2 (/ 1 x)) (/ 1 (pow x 2)))))))
#s(approx (+ (* (+ (* 1/12 x) 1/2) x) 1) #s(hole binary64 (* 1/12 (pow x 2))))
#s(approx (+ (* (+ (* 1/12 x) 1/2) x) 1) #s(hole binary64 (* (pow x 2) (+ 1/12 (* 1/2 (/ 1 x))))))
#s(approx (+ (* (+ (* 1/12 x) 1/2) x) 1) #s(hole binary64 (* (pow x 2) (+ 1/12 (+ (* 1/2 (/ 1 x)) (/ 1 (pow x 2)))))))
#s(approx (- (exp x) 1) #s(hole binary64 (- (exp x) 1)))
#s(approx (* (/ (exp x) (- (exp (+ x x)) 1)) (- (exp x) -1)) #s(hole binary64 (/ (* (exp x) (+ 1 (exp x))) (- (exp (neg (* -2 x))) 1))))
#s(approx (/ (exp x) (- (exp (+ x x)) 1)) #s(hole binary64 (/ (exp x) (- (exp (neg (* -2 x))) 1))))
#s(approx (- (exp (+ x x)) 1) #s(hole binary64 (- (exp (neg (* -2 x))) 1)))
#s(approx (/ (+ (* (+ (* 1/12 x) 1/2) x) 1) x) #s(hole binary64 (* -1 (* x (- (* -1 (/ (+ 1/2 (/ 1 x)) x)) 1/12)))))
Outputs
(*.f64 (-.f64 (exp.f64 x) #s(literal -1 binary64)) (/.f64 (exp.f64 x) (expm1.f64 (+.f64 x x))))
(*.f64 (/.f64 (exp.f64 x) (expm1.f64 (+.f64 x x))) (-.f64 (exp.f64 x) #s(literal -1 binary64)))
(/.f64 (*.f64 (exp.f64 x) (-.f64 (exp.f64 x) #s(literal -1 binary64))) (expm1.f64 (+.f64 x x)))
(/.f64 (neg.f64 (exp.f64 x)) (neg.f64 (expm1.f64 (+.f64 x x))))
(/.f64 (exp.f64 x) (expm1.f64 (+.f64 x x)))
(+.f64 (cosh.f64 x) (sinh.f64 x))
(exp.f64 x)
x
(/.f64 (-.f64 (*.f64 (exp.f64 (+.f64 x x)) (exp.f64 (+.f64 x x))) #s(literal 1 binary64)) (+.f64 (exp.f64 (+.f64 x x)) #s(literal 1 binary64)))
(/.f64 (-.f64 (pow.f64 (exp.f64 (+.f64 x x)) #s(literal 3 binary64)) #s(literal 1 binary64)) (fma.f64 (exp.f64 (+.f64 x x)) (exp.f64 (+.f64 x x)) (+.f64 #s(literal 1 binary64) (*.f64 (exp.f64 (+.f64 x x)) #s(literal 1 binary64)))))
(expm1.f64 (+.f64 x x))
(-.f64 (exp.f64 (+.f64 x x)) #s(literal 1 binary64))
(*.f64 #s(literal -2 binary64) (neg.f64 x))
(*.f64 #s(literal 2 binary64) x)
(*.f64 x #s(literal 2 binary64))
(/.f64 (-.f64 (*.f64 x x) (*.f64 x x)) (-.f64 x x))
(/.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 x x (-.f64 (*.f64 x x) (*.f64 x x))))
(neg.f64 (*.f64 #s(literal -2 binary64) x))
(+.f64 x x)
(/.f64 (-.f64 (pow.f64 (exp.f64 x) #s(literal 3 binary64)) #s(literal -1 binary64)) (+.f64 (exp.f64 (+.f64 x x)) (+.f64 #s(literal 1 binary64) (*.f64 (exp.f64 x) #s(literal -1 binary64)))))
(/.f64 (expm1.f64 (+.f64 x x)) (+.f64 (exp.f64 x) #s(literal -1 binary64)))
(-.f64 (exp.f64 x) #s(literal -1 binary64))
#s(literal -1 binary64)
#s(approx (/ (exp x) (- (exp x) 1)) (/.f64 #s(literal 1 binary64) x))
(pow.f64 x #s(literal -1 binary64))
(/.f64 #s(literal 1 binary64) x)
(/.f64 #s(literal -1 binary64) (neg.f64 x))
#s(literal 1 binary64)
#s(approx (/ (exp x) (- (exp x) 1)) (/.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x))
(/.f64 (neg.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64))) (neg.f64 x))
(/.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x)
(+.f64 (/.f64 (*.f64 #s(literal 1/2 binary64) x) x) (/.f64 #s(literal 1 binary64) x))
(+.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 (*.f64 #s(literal 1/2 binary64) x) x))
(/.f64 (-.f64 (*.f64 (*.f64 #s(literal 1/2 binary64) x) (*.f64 #s(literal 1/2 binary64) x)) #s(literal 1 binary64)) (-.f64 (*.f64 #s(literal 1/2 binary64) x) #s(literal 1 binary64)))
(/.f64 (-.f64 #s(literal 1 binary64) (*.f64 (*.f64 #s(literal 1/2 binary64) x) (*.f64 #s(literal 1/2 binary64) x))) (-.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/2 binary64) x)))
(/.f64 (+.f64 (pow.f64 (*.f64 #s(literal 1/2 binary64) x) #s(literal 3 binary64)) #s(literal 1 binary64)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) (*.f64 #s(literal 1/2 binary64) x) (-.f64 #s(literal 1 binary64) (*.f64 (*.f64 #s(literal 1/2 binary64) x) #s(literal 1 binary64)))))
(/.f64 (+.f64 #s(literal 1 binary64) (pow.f64 (*.f64 #s(literal 1/2 binary64) x) #s(literal 3 binary64))) (+.f64 #s(literal 1 binary64) (-.f64 (*.f64 (*.f64 #s(literal 1/2 binary64) x) (*.f64 #s(literal 1/2 binary64) x)) (*.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/2 binary64) x)))))
(fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64))
(fma.f64 x #s(literal 1/2 binary64) #s(literal 1 binary64))
(-.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/2 binary64) x))
(+.f64 (*.f64 #s(literal 1/2 binary64) x) #s(literal 1 binary64))
(+.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/2 binary64) x))
#s(literal 1/2 binary64)
#s(approx (/ (exp x) (- (exp x) 1)) (/.f64 (fma.f64 (fma.f64 #s(literal 1/12 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x))
(/.f64 (neg.f64 (fma.f64 (fma.f64 #s(literal 1/12 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64))) (neg.f64 x))
(/.f64 (fma.f64 (fma.f64 #s(literal 1/12 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x)
(+.f64 (/.f64 (*.f64 (fma.f64 #s(literal 1/12 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/12 binary64) x #s(literal 1/2 binary64)) x) x))
(/.f64 (-.f64 #s(literal 1 binary64) (*.f64 (*.f64 (fma.f64 #s(literal 1/12 binary64) x #s(literal 1/2 binary64)) x) (*.f64 (fma.f64 #s(literal 1/12 binary64) x #s(literal 1/2 binary64)) x))) (-.f64 #s(literal 1 binary64) (*.f64 (fma.f64 #s(literal 1/12 binary64) x #s(literal 1/2 binary64)) x)))
(/.f64 (-.f64 (*.f64 (*.f64 (fma.f64 #s(literal 1/12 binary64) x #s(literal 1/2 binary64)) x) (*.f64 (fma.f64 #s(literal 1/12 binary64) x #s(literal 1/2 binary64)) x)) #s(literal 1 binary64)) (-.f64 (*.f64 (fma.f64 #s(literal 1/12 binary64) x #s(literal 1/2 binary64)) x) #s(literal 1 binary64)))
(/.f64 (+.f64 #s(literal 1 binary64) (pow.f64 (*.f64 (fma.f64 #s(literal 1/12 binary64) x #s(literal 1/2 binary64)) x) #s(literal 3 binary64))) (+.f64 #s(literal 1 binary64) (-.f64 (*.f64 (*.f64 (fma.f64 #s(literal 1/12 binary64) x #s(literal 1/2 binary64)) x) (*.f64 (fma.f64 #s(literal 1/12 binary64) x #s(literal 1/2 binary64)) x)) (*.f64 #s(literal 1 binary64) (*.f64 (fma.f64 #s(literal 1/12 binary64) x #s(literal 1/2 binary64)) x)))))
(/.f64 (+.f64 (pow.f64 (*.f64 (fma.f64 #s(literal 1/12 binary64) x #s(literal 1/2 binary64)) x) #s(literal 3 binary64)) #s(literal 1 binary64)) (fma.f64 (*.f64 (fma.f64 #s(literal 1/12 binary64) x #s(literal 1/2 binary64)) x) (*.f64 (fma.f64 #s(literal 1/12 binary64) x #s(literal 1/2 binary64)) x) (-.f64 #s(literal 1 binary64) (*.f64 (*.f64 (fma.f64 #s(literal 1/12 binary64) x #s(literal 1/2 binary64)) x) #s(literal 1 binary64)))))
(fma.f64 (fma.f64 #s(literal 1/12 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64))
(fma.f64 x (fma.f64 #s(literal 1/12 binary64) x #s(literal 1/2 binary64)) #s(literal 1 binary64))
(-.f64 #s(literal 1 binary64) (*.f64 (neg.f64 x) (fma.f64 #s(literal 1/12 binary64) x #s(literal 1/2 binary64))))
(+.f64 (*.f64 (fma.f64 #s(literal 1/12 binary64) x #s(literal 1/2 binary64)) x) #s(literal 1 binary64))
(+.f64 #s(literal 1 binary64) (*.f64 (fma.f64 #s(literal 1/12 binary64) x #s(literal 1/2 binary64)) x))
(/.f64 (-.f64 #s(literal 1/4 binary64) (*.f64 (*.f64 #s(literal 1/12 binary64) x) (*.f64 #s(literal 1/12 binary64) x))) (-.f64 #s(literal 1/2 binary64) (*.f64 #s(literal 1/12 binary64) x)))
(/.f64 (-.f64 (*.f64 (*.f64 #s(literal 1/12 binary64) x) (*.f64 #s(literal 1/12 binary64) x)) #s(literal 1/4 binary64)) (-.f64 (*.f64 #s(literal 1/12 binary64) x) #s(literal 1/2 binary64)))
(/.f64 (+.f64 #s(literal 1/8 binary64) (pow.f64 (*.f64 #s(literal 1/12 binary64) x) #s(literal 3 binary64))) (+.f64 #s(literal 1/4 binary64) (-.f64 (*.f64 (*.f64 #s(literal 1/12 binary64) x) (*.f64 #s(literal 1/12 binary64) x)) (*.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)) #s(literal 1/8 binary64)) (fma.f64 (*.f64 #s(literal 1/12 binary64) x) (*.f64 #s(literal 1/12 binary64) x) (-.f64 #s(literal 1/4 binary64) (*.f64 (*.f64 #s(literal 1/12 binary64) x) #s(literal 1/2 binary64)))))
(fma.f64 #s(literal 1/12 binary64) x #s(literal 1/2 binary64))
(fma.f64 x #s(literal 1/12 binary64) #s(literal 1/2 binary64))
(-.f64 #s(literal 1/2 binary64) (*.f64 #s(literal -1/12 binary64) x))
(+.f64 (*.f64 #s(literal 1/12 binary64) x) #s(literal 1/2 binary64))
(+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal 1/12 binary64) x))
#s(literal 1/12 binary64)
(/.f64 (neg.f64 (exp.f64 x)) (neg.f64 (expm1.f64 x)))
(/.f64 (exp.f64 x) (expm1.f64 x))
(/.f64 (-.f64 (pow.f64 (exp.f64 x) #s(literal 3 binary64)) #s(literal 1 binary64)) (+.f64 (exp.f64 (+.f64 x x)) (+.f64 #s(literal 1 binary64) (*.f64 (exp.f64 x) #s(literal 1 binary64)))))
(/.f64 (expm1.f64 (+.f64 x x)) (+.f64 #s(literal 1 binary64) (exp.f64 x)))
(expm1.f64 x)
(-.f64 (exp.f64 x) #s(literal 1 binary64))
#s(approx (* (/ (exp x) (- (exp (+ x x)) 1)) (- (exp x) -1)) (/.f64 #s(literal 1 binary64) x))
#s(approx (* (/ (exp x) (- (exp (+ x x)) 1)) (- (exp x) -1)) (/.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x))
#s(approx (* (/ (exp x) (- (exp (+ x x)) 1)) (- (exp x) -1)) (/.f64 (fma.f64 (fma.f64 #s(literal 1/12 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x))
#s(approx (* (/ (exp x) (- (exp (+ x x)) 1)) (- (exp x) -1)) (/.f64 (fma.f64 (fma.f64 (fma.f64 (*.f64 x x) #s(literal -1/720 binary64) #s(literal 1/12 binary64)) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x))
#s(approx (/ (exp x) (- (exp (+ x x)) 1)) (/.f64 #s(literal 1/2 binary64) x))
#s(approx (/ (exp x) (- (exp (+ x x)) 1)) (/.f64 (fma.f64 #s(literal -1/12 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x))
#s(approx (/ (exp x) (- (exp (+ x x)) 1)) (/.f64 (fma.f64 (-.f64 (*.f64 #s(literal 7/720 binary64) (*.f64 x x)) #s(literal 1/12 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) x))
#s(approx (/ (exp x) (- (exp (+ x x)) 1)) (/.f64 (fma.f64 (-.f64 (*.f64 (fma.f64 #s(literal -31/30240 binary64) (*.f64 x x) #s(literal 7/720 binary64)) (*.f64 x x)) #s(literal 1/12 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) x))
#s(approx (exp x) #s(literal 1 binary64))
#s(approx (exp x) (+.f64 #s(literal 1 binary64) 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) (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 x x)
#s(approx (- (exp (+ x x)) 1) (+.f64 x x))
#s(approx (- (exp (+ x x)) 1) (*.f64 (fma.f64 #s(literal 2 binary64) x #s(literal 2 binary64)) x))
#s(approx (- (exp (+ x x)) 1) (*.f64 (fma.f64 (fma.f64 #s(literal 4/3 binary64) x #s(literal 2 binary64)) x #s(literal 2 binary64)) x))
#s(approx (- (exp (+ x x)) 1) (*.f64 (fma.f64 (fma.f64 (fma.f64 #s(literal 2/3 binary64) x #s(literal 4/3 binary64)) x #s(literal 2 binary64)) x #s(literal 2 binary64)) x))
#s(approx (- (exp x) -1) #s(literal 2 binary64))
#s(approx (- (exp x) -1) (+.f64 #s(literal 2 binary64) x))
#s(approx (- (exp x) -1) (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x #s(literal 2 binary64)))
#s(approx (- (exp 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 2 binary64)))
#s(approx (+ (* 1/2 x) 1) (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)))
#s(approx (+ (* (+ (* 1/12 x) 1/2) x) 1) (fma.f64 (fma.f64 #s(literal 1/12 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)))
#s(approx (+ (* 1/12 x) 1/2) #s(literal 1/2 binary64))
#s(approx (+ (* 1/12 x) 1/2) (fma.f64 #s(literal 1/12 binary64) x #s(literal 1/2 binary64)))
#s(approx (- (exp x) 1) (*.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) 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) (*.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 x)) 1)) (- (exp x) -1)) (*.f64 (exp.f64 x) (/.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x)) (expm1.f64 (+.f64 x x)))))
#s(approx (/ (exp x) (- (exp (+ x x)) 1)) (/.f64 (exp.f64 x) (expm1.f64 (+.f64 x x))))
#s(approx (exp x) (exp.f64 x))
#s(approx (- (exp (+ x x)) 1) (expm1.f64 (+.f64 x x)))
#s(approx (- (exp x) -1) (+.f64 #s(literal 1 binary64) (exp.f64 x)))
#s(approx (/ (exp x) (- (exp x) 1)) (/.f64 (exp.f64 x) (expm1.f64 x)))
#s(approx (/ (+ (* 1/2 x) 1) x) (+.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1/2 binary64)))
#s(approx (+ (* 1/2 x) 1) (*.f64 #s(literal 1/2 binary64) x))
#s(approx (+ (* 1/2 x) 1) (*.f64 (+.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1/2 binary64)) x))
#s(approx (/ (+ (* (+ (* 1/12 x) 1/2) x) 1) x) (*.f64 #s(literal 1/12 binary64) x))
#s(approx (/ (+ (* (+ (* 1/12 x) 1/2) x) 1) x) (*.f64 (+.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal 1/12 binary64)) x))
#s(approx (/ (+ (* (+ (* 1/12 x) 1/2) x) 1) x) (*.f64 (+.f64 (+.f64 (/.f64 #s(literal 1 binary64) (*.f64 x x)) (/.f64 #s(literal 1/2 binary64) x)) #s(literal 1/12 binary64)) x))
#s(approx (+ (* (+ (* 1/12 x) 1/2) x) 1) (*.f64 (*.f64 x x) #s(literal 1/12 binary64)))
#s(approx (+ (* (+ (* 1/12 x) 1/2) x) 1) (*.f64 (+.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal 1/12 binary64)) (*.f64 x x)))
#s(approx (+ (* (+ (* 1/12 x) 1/2) x) 1) (*.f64 (+.f64 (+.f64 (/.f64 #s(literal 1 binary64) (*.f64 x x)) (/.f64 #s(literal 1/2 binary64) x)) #s(literal 1/12 binary64)) (*.f64 x x)))
#s(approx (- (exp x) 1) (expm1.f64 x))
#s(approx (* (/ (exp x) (- (exp (+ x x)) 1)) (- (exp x) -1)) (*.f64 (exp.f64 x) (/.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x)) (expm1.f64 (+.f64 x x)))))
#s(approx (/ (exp x) (- (exp (+ x x)) 1)) (/.f64 (exp.f64 x) (expm1.f64 (+.f64 x x))))
#s(approx (- (exp (+ x x)) 1) (expm1.f64 (+.f64 x x)))
#s(approx (/ (+ (* (+ (* 1/12 x) 1/2) x) 1) x) (neg.f64 (*.f64 (-.f64 (neg.f64 (/.f64 (+.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1/2 binary64)) x)) #s(literal 1/12 binary64)) x)))

eval16.0ms (0.9%)

Memory
-21.0MiB live, 24.8MiB allocated; 6ms collecting garbage
Compiler

Compiled 2 172 to 473 computations (78.2% saved)

prune5.0ms (0.3%)

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

8 alts after pruning (4 fresh and 4 done)

PrunedKeptTotal
New1014105
Fresh101
Picked145
Done000
Total1038111
Accuracy
100.0%
Counts
111 → 8
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(/.f64 (exp.f64 x) (expm1.f64 x))
100.0%
(*.f64 (/.f64 (exp.f64 x) (expm1.f64 (+.f64 x x))) (-.f64 (exp.f64 x) #s(literal -1 binary64)))
68.1%
(*.f64 #s(approx (/ (exp x) (- (exp (+ x x)) 1)) (/.f64 #s(literal 1/2 binary64) x)) (-.f64 (exp.f64 x) #s(literal -1 binary64)))
67.0%
#s(approx (/ (exp x) (- (exp x) 1)) (/.f64 (fma.f64 (fma.f64 #s(literal 1/12 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x))
67.6%
#s(approx (/ (exp x) (- (exp x) 1)) (/.f64 #s(literal 1 binary64) x))
3.3%
#s(approx (/ (exp x) (- (exp x) 1)) #s(approx (/ (+ (* (+ (* 1/12 x) 1/2) x) 1) x) (*.f64 #s(literal 1/12 binary64) x)))
35.0%
#s(approx (/ (exp x) (- (exp x) 1)) #s(approx (/ (+ (* (+ (* 1/12 x) 1/2) x) 1) x) (neg.f64 (*.f64 (-.f64 (neg.f64 (/.f64 (+.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1/2 binary64)) x)) #s(literal 1/12 binary64)) x))))
67.2%
#s(approx (/ (exp x) (- (exp x) 1)) #s(approx (/ (+ (* 1/2 x) 1) x) (+.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1/2 binary64))))
Compiler

Compiled 140 to 101 computations (27.9% saved)

series8.0ms (0.4%)

Memory
17.5MiB live, 17.5MiB allocated; 0ms collecting garbage
Counts
24 → 48
Calls
Call 1
Inputs
#s(approx (/ (exp x) (- (exp x) 1)) #s(approx (/ (+ (* 1/2 x) 1) x) (+.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1/2 binary64))))
#s(approx (/ (+ (* 1/2 x) 1) x) (+.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)) #s(approx (/ (+ (* (+ (* 1/12 x) 1/2) x) 1) x) (neg.f64 (*.f64 (-.f64 (neg.f64 (/.f64 (+.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1/2 binary64)) x)) #s(literal 1/12 binary64)) x))))
#s(approx (/ (+ (* (+ (* 1/12 x) 1/2) x) 1) x) (neg.f64 (*.f64 (-.f64 (neg.f64 (/.f64 (+.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1/2 binary64)) x)) #s(literal 1/12 binary64)) x)))
(neg.f64 (*.f64 (-.f64 (neg.f64 (/.f64 (+.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1/2 binary64)) x)) #s(literal 1/12 binary64)) x))
(*.f64 (-.f64 (neg.f64 (/.f64 (+.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1/2 binary64)) x)) #s(literal 1/12 binary64)) x)
(-.f64 (neg.f64 (/.f64 (+.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1/2 binary64)) x)) #s(literal 1/12 binary64))
(neg.f64 (/.f64 (+.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1/2 binary64)) x))
(/.f64 (+.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1/2 binary64)) x)
#s(literal 1/12 binary64)
#s(approx (/ (exp x) (- (exp x) 1)) #s(approx (/ (+ (* (+ (* 1/12 x) 1/2) x) 1) x) (*.f64 #s(literal 1/12 binary64) x)))
#s(approx (/ (+ (* (+ (* 1/12 x) 1/2) x) 1) x) (*.f64 #s(literal 1/12 binary64) x))
(*.f64 #s(literal 1/12 binary64) x)
(*.f64 #s(approx (/ (exp x) (- (exp (+ x x)) 1)) (/.f64 #s(literal 1/2 binary64) x)) (-.f64 (exp.f64 x) #s(literal -1 binary64)))
#s(approx (/ (exp x) (- (exp (+ x x)) 1)) (/.f64 #s(literal 1/2 binary64) x))
(/.f64 #s(literal 1/2 binary64) x)
(-.f64 (exp.f64 x) #s(literal -1 binary64))
(exp.f64 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 x #s(hole binary64 x))
#s(approx (* (- (neg (/ (+ (/ 1 x) 1/2) x)) 1/12) x) #s(hole binary64 (/ -1 x)))
#s(approx (* (- (neg (/ (+ (/ 1 x) 1/2) x)) 1/12) x) #s(hole binary64 (/ (- (* -1/2 x) 1) x)))
#s(approx (* (- (neg (/ (+ (/ 1 x) 1/2) x)) 1/12) x) #s(hole binary64 (/ (- (* x (- (* -1/12 x) 1/2)) 1) x)))
#s(approx (- (neg (/ (+ (/ 1 x) 1/2) x)) 1/12) #s(hole binary64 (/ -1 (pow x 2))))
#s(approx (- (neg (/ (+ (/ 1 x) 1/2) x)) 1/12) #s(hole binary64 (/ (- (* -1/2 x) 1) (pow x 2))))
#s(approx (- (neg (/ (+ (/ 1 x) 1/2) x)) 1/12) #s(hole binary64 (/ (- (* x (- (* -1/12 x) 1/2)) 1) (pow x 2))))
#s(approx (/ (+ (/ 1 x) 1/2) x) #s(hole binary64 (/ 1 (pow x 2))))
#s(approx (/ (+ (/ 1 x) 1/2) x) #s(hole binary64 (/ (+ 1 (* 1/2 x)) (pow x 2))))
#s(approx (* 1/12 x) #s(hole binary64 (* 1/12 x)))
#s(approx (/ (exp x) (- (exp (+ x x)) 1)) #s(hole binary64 (/ 1/2 x)))
#s(approx (/ (exp x) (- (exp (+ x x)) 1)) #s(hole binary64 (/ (+ 1/2 (* -1/12 (pow x 2))) x)))
#s(approx (/ (exp x) (- (exp (+ x x)) 1)) #s(hole binary64 (/ (+ 1/2 (* (pow x 2) (- (* 7/720 (pow x 2)) 1/12))) x)))
#s(approx (/ (exp x) (- (exp (+ x x)) 1)) #s(hole binary64 (/ (+ 1/2 (* (pow x 2) (- (* (pow x 2) (+ 7/720 (* -31/30240 (pow x 2)))) 1/12))) x)))
#s(approx (- (exp x) -1) #s(hole binary64 2))
#s(approx (- (exp x) -1) #s(hole binary64 (+ 2 x)))
#s(approx (- (exp x) -1) #s(hole binary64 (+ 2 (* x (+ 1 (* 1/2 x))))))
#s(approx (- (exp x) -1) #s(hole binary64 (+ 2 (* x (+ 1 (* x (+ 1/2 (* 1/6 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) (- (exp x) 1)) #s(hole binary64 (/ (exp x) (- (exp x) 1))))
#s(approx (/ (+ (* 1/2 x) 1) x) #s(hole binary64 1/2))
#s(approx (/ (+ (* 1/2 x) 1) x) #s(hole binary64 (+ 1/2 (/ 1 x))))
#s(approx (/ (+ (* (+ (* 1/12 x) 1/2) x) 1) x) #s(hole binary64 (* x (+ 1/12 (* 1/2 (/ 1 x))))))
#s(approx (/ (+ (* (+ (* 1/12 x) 1/2) x) 1) x) #s(hole binary64 (* x (+ 1/12 (+ (* 1/2 (/ 1 x)) (/ 1 (pow x 2)))))))
#s(approx (* (- (neg (/ (+ (/ 1 x) 1/2) x)) 1/12) x) #s(hole binary64 (* -1/12 x)))
#s(approx (* (- (neg (/ (+ (/ 1 x) 1/2) x)) 1/12) x) #s(hole binary64 (* -1 (* x (+ 1/12 (* 1/2 (/ 1 x)))))))
#s(approx (* (- (neg (/ (+ (/ 1 x) 1/2) x)) 1/12) x) #s(hole binary64 (* x (- (* -1 (/ (+ 1/2 (/ 1 x)) x)) 1/12))))
#s(approx (- (neg (/ (+ (/ 1 x) 1/2) x)) 1/12) #s(hole binary64 -1/12))
#s(approx (- (neg (/ (+ (/ 1 x) 1/2) x)) 1/12) #s(hole binary64 (* -1 (+ 1/12 (* 1/2 (/ 1 x))))))
#s(approx (- (neg (/ (+ (/ 1 x) 1/2) x)) 1/12) #s(hole binary64 (- (* -1 (/ (+ 1/2 (/ 1 x)) x)) 1/12)))
#s(approx (neg (/ (+ (/ 1 x) 1/2) x)) #s(hole binary64 (/ -1/2 x)))
#s(approx (neg (/ (+ (/ 1 x) 1/2) x)) #s(hole binary64 (* -1 (/ (+ 1/2 (/ 1 x)) x))))
#s(approx (/ (+ (/ 1 x) 1/2) x) #s(hole binary64 (/ (+ 1/2 (/ 1 x)) x)))
#s(approx (* (/ (exp x) (- (exp (+ x x)) 1)) (- (exp x) -1)) #s(hole binary64 (/ (* (exp x) (+ 1 (exp x))) (- (exp (* 2 x)) 1))))
#s(approx (/ (exp x) (- (exp (+ x x)) 1)) #s(hole binary64 (/ (exp x) (- (exp (* 2 x)) 1))))
#s(approx (- (exp x) -1) #s(hole binary64 (+ 1 (exp x))))
#s(approx (exp x) #s(hole binary64 (exp x)))
#s(approx (/ (+ (* (+ (* 1/12 x) 1/2) x) 1) x) #s(hole binary64 (* -1 (* x (- (* -1 (/ (+ 1/2 (/ 1 x)) x)) 1/12)))))
#s(approx (* (- (neg (/ (+ (/ 1 x) 1/2) x)) 1/12) x) #s(hole binary64 (* -1 (* x (+ 1/12 (+ (* 1/2 (/ 1 x)) (/ 1 (pow x 2))))))))
#s(approx (* (/ (exp x) (- (exp (+ x x)) 1)) (- (exp x) -1)) #s(hole binary64 (/ (* (exp x) (+ 1 (exp x))) (- (exp (neg (* -2 x))) 1))))
#s(approx (/ (exp x) (- (exp (+ x x)) 1)) #s(hole binary64 (/ (exp x) (- (exp (neg (* -2 x))) 1))))
Calls

3 calls:

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

rewrite92.0ms (5.1%)

Memory
9.7MiB live, 99.1MiB allocated; 11ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01881057
0206998
1925361
010911315
Stop Event
iter-limit
node-limit
iter-limit
Counts
72 → 122
Calls
Call 1
Inputs
#s(approx (/ (exp x) (- (exp x) 1)) #s(approx (/ (+ (* 1/2 x) 1) x) (+.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1/2 binary64))))
#s(approx (/ (+ (* 1/2 x) 1) x) (+.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)) #s(approx (/ (+ (* (+ (* 1/12 x) 1/2) x) 1) x) (neg.f64 (*.f64 (-.f64 (neg.f64 (/.f64 (+.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1/2 binary64)) x)) #s(literal 1/12 binary64)) x))))
#s(approx (/ (+ (* (+ (* 1/12 x) 1/2) x) 1) x) (neg.f64 (*.f64 (-.f64 (neg.f64 (/.f64 (+.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1/2 binary64)) x)) #s(literal 1/12 binary64)) x)))
(neg.f64 (*.f64 (-.f64 (neg.f64 (/.f64 (+.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1/2 binary64)) x)) #s(literal 1/12 binary64)) x))
(*.f64 (-.f64 (neg.f64 (/.f64 (+.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1/2 binary64)) x)) #s(literal 1/12 binary64)) x)
(-.f64 (neg.f64 (/.f64 (+.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1/2 binary64)) x)) #s(literal 1/12 binary64))
(neg.f64 (/.f64 (+.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1/2 binary64)) x))
(/.f64 (+.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1/2 binary64)) x)
#s(literal 1/12 binary64)
#s(approx (/ (exp x) (- (exp x) 1)) #s(approx (/ (+ (* (+ (* 1/12 x) 1/2) x) 1) x) (*.f64 #s(literal 1/12 binary64) x)))
#s(approx (/ (+ (* (+ (* 1/12 x) 1/2) x) 1) x) (*.f64 #s(literal 1/12 binary64) x))
(*.f64 #s(literal 1/12 binary64) x)
(*.f64 #s(approx (/ (exp x) (- (exp (+ x x)) 1)) (/.f64 #s(literal 1/2 binary64) x)) (-.f64 (exp.f64 x) #s(literal -1 binary64)))
#s(approx (/ (exp x) (- (exp (+ x x)) 1)) (/.f64 #s(literal 1/2 binary64) x))
(/.f64 #s(literal 1/2 binary64) x)
(-.f64 (exp.f64 x) #s(literal -1 binary64))
(exp.f64 x)
#s(literal -1 binary64)
#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 x #s(hole binary64 x))
#s(approx (* (- (neg (/ (+ (/ 1 x) 1/2) x)) 1/12) x) #s(hole binary64 (/ -1 x)))
#s(approx (* (- (neg (/ (+ (/ 1 x) 1/2) x)) 1/12) x) #s(hole binary64 (/ (- (* -1/2 x) 1) x)))
#s(approx (* (- (neg (/ (+ (/ 1 x) 1/2) x)) 1/12) x) #s(hole binary64 (/ (- (* x (- (* -1/12 x) 1/2)) 1) x)))
#s(approx (- (neg (/ (+ (/ 1 x) 1/2) x)) 1/12) #s(hole binary64 (/ -1 (pow x 2))))
#s(approx (- (neg (/ (+ (/ 1 x) 1/2) x)) 1/12) #s(hole binary64 (/ (- (* -1/2 x) 1) (pow x 2))))
#s(approx (- (neg (/ (+ (/ 1 x) 1/2) x)) 1/12) #s(hole binary64 (/ (- (* x (- (* -1/12 x) 1/2)) 1) (pow x 2))))
#s(approx (/ (+ (/ 1 x) 1/2) x) #s(hole binary64 (/ 1 (pow x 2))))
#s(approx (/ (+ (/ 1 x) 1/2) x) #s(hole binary64 (/ (+ 1 (* 1/2 x)) (pow x 2))))
#s(approx (* 1/12 x) #s(hole binary64 (* 1/12 x)))
#s(approx (/ (exp x) (- (exp (+ x x)) 1)) #s(hole binary64 (/ 1/2 x)))
#s(approx (/ (exp x) (- (exp (+ x x)) 1)) #s(hole binary64 (/ (+ 1/2 (* -1/12 (pow x 2))) x)))
#s(approx (/ (exp x) (- (exp (+ x x)) 1)) #s(hole binary64 (/ (+ 1/2 (* (pow x 2) (- (* 7/720 (pow x 2)) 1/12))) x)))
#s(approx (/ (exp x) (- (exp (+ x x)) 1)) #s(hole binary64 (/ (+ 1/2 (* (pow x 2) (- (* (pow x 2) (+ 7/720 (* -31/30240 (pow x 2)))) 1/12))) x)))
#s(approx (- (exp x) -1) #s(hole binary64 2))
#s(approx (- (exp x) -1) #s(hole binary64 (+ 2 x)))
#s(approx (- (exp x) -1) #s(hole binary64 (+ 2 (* x (+ 1 (* 1/2 x))))))
#s(approx (- (exp x) -1) #s(hole binary64 (+ 2 (* x (+ 1 (* x (+ 1/2 (* 1/6 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) (- (exp x) 1)) #s(hole binary64 (/ (exp x) (- (exp x) 1))))
#s(approx (/ (+ (* 1/2 x) 1) x) #s(hole binary64 1/2))
#s(approx (/ (+ (* 1/2 x) 1) x) #s(hole binary64 (+ 1/2 (/ 1 x))))
#s(approx (/ (+ (* (+ (* 1/12 x) 1/2) x) 1) x) #s(hole binary64 (* x (+ 1/12 (* 1/2 (/ 1 x))))))
#s(approx (/ (+ (* (+ (* 1/12 x) 1/2) x) 1) x) #s(hole binary64 (* x (+ 1/12 (+ (* 1/2 (/ 1 x)) (/ 1 (pow x 2)))))))
#s(approx (* (- (neg (/ (+ (/ 1 x) 1/2) x)) 1/12) x) #s(hole binary64 (* -1/12 x)))
#s(approx (* (- (neg (/ (+ (/ 1 x) 1/2) x)) 1/12) x) #s(hole binary64 (* -1 (* x (+ 1/12 (* 1/2 (/ 1 x)))))))
#s(approx (* (- (neg (/ (+ (/ 1 x) 1/2) x)) 1/12) x) #s(hole binary64 (* x (- (* -1 (/ (+ 1/2 (/ 1 x)) x)) 1/12))))
#s(approx (- (neg (/ (+ (/ 1 x) 1/2) x)) 1/12) #s(hole binary64 -1/12))
#s(approx (- (neg (/ (+ (/ 1 x) 1/2) x)) 1/12) #s(hole binary64 (* -1 (+ 1/12 (* 1/2 (/ 1 x))))))
#s(approx (- (neg (/ (+ (/ 1 x) 1/2) x)) 1/12) #s(hole binary64 (- (* -1 (/ (+ 1/2 (/ 1 x)) x)) 1/12)))
#s(approx (neg (/ (+ (/ 1 x) 1/2) x)) #s(hole binary64 (/ -1/2 x)))
#s(approx (neg (/ (+ (/ 1 x) 1/2) x)) #s(hole binary64 (* -1 (/ (+ 1/2 (/ 1 x)) x))))
#s(approx (/ (+ (/ 1 x) 1/2) x) #s(hole binary64 (/ (+ 1/2 (/ 1 x)) x)))
#s(approx (* (/ (exp x) (- (exp (+ x x)) 1)) (- (exp x) -1)) #s(hole binary64 (/ (* (exp x) (+ 1 (exp x))) (- (exp (* 2 x)) 1))))
#s(approx (/ (exp x) (- (exp (+ x x)) 1)) #s(hole binary64 (/ (exp x) (- (exp (* 2 x)) 1))))
#s(approx (- (exp x) -1) #s(hole binary64 (+ 1 (exp x))))
#s(approx (exp x) #s(hole binary64 (exp x)))
#s(approx (/ (+ (* (+ (* 1/12 x) 1/2) x) 1) x) #s(hole binary64 (* -1 (* x (- (* -1 (/ (+ 1/2 (/ 1 x)) x)) 1/12)))))
#s(approx (* (- (neg (/ (+ (/ 1 x) 1/2) x)) 1/12) x) #s(hole binary64 (* -1 (* x (+ 1/12 (+ (* 1/2 (/ 1 x)) (/ 1 (pow x 2))))))))
#s(approx (* (/ (exp x) (- (exp (+ x x)) 1)) (- (exp x) -1)) #s(hole binary64 (/ (* (exp x) (+ 1 (exp x))) (- (exp (neg (* -2 x))) 1))))
#s(approx (/ (exp x) (- (exp (+ x x)) 1)) #s(hole binary64 (/ (exp x) (- (exp (neg (* -2 x))) 1))))
Outputs
#s(approx (* (/ (exp x) (- (exp (+ x x)) 1)) (- (exp x) -1)) #s(approx (/ (+ (/ 1 x) 1/2) x) #s(literal 3/2 binary64)))
#s(approx (/ (+ (/ 1 x) 1/2) x) #s(literal 3/2 binary64))
#s(literal 3/2 binary64)
x
#s(literal 1 binary64)
x
#s(literal 1 binary64)
x
#s(literal 1 binary64)
#s(literal 1/2 binary64)
#s(approx (* (/ (exp x) (- (exp (+ x x)) 1)) (- (exp x) -1)) #s(approx (/ (+ (* (+ (* 1/12 x) 1/2) x) 1) x) #s(literal 19/12 binary64)))
#s(approx (/ (+ (* (+ (* 1/12 x) 1/2) x) 1) x) #s(literal 19/12 binary64))
#s(literal 19/12 binary64)
#s(literal -19/12 binary64)
#s(literal -19/12 binary64)
#s(literal -3/2 binary64)
#s(literal 3/2 binary64)
#s(literal 1/12 binary64)
#s(approx (* (/ (exp x) (- (exp (+ x x)) 1)) (- (exp x) -1)) #s(approx (/ (+ (* (+ (* 1/12 x) 1/2) x) 1) x) #s(literal 1/12 binary64)))
#s(approx (/ (+ (* (+ (* 1/12 x) 1/2) x) 1) x) #s(literal 1/12 binary64))
#s(literal 1/12 binary64)
(*.f64 (-.f64 (exp.f64 x) #s(literal -1 binary64)) #s(approx (/ (exp x) (- (exp (+ x x)) 1)) #s(literal 1/2 binary64)))
(*.f64 #s(approx (/ (exp x) (- (exp (+ x x)) 1)) #s(literal 1/2 binary64)) (-.f64 (exp.f64 x) #s(literal -1 binary64)))
(/.f64 (*.f64 #s(approx (/ (exp x) (- (exp (+ x x)) 1)) #s(literal 1/2 binary64)) (-.f64 (exp.f64 #s(literal 3 binary64)) #s(literal -1 binary64))) (fma.f64 #s(literal -1 binary64) (expm1.f64 x) (exp.f64 #s(literal 2 binary64))))
(/.f64 (*.f64 #s(approx (/ (exp x) (- (exp (+ x x)) 1)) #s(literal 1/2 binary64)) (expm1.f64 #s(literal 2 binary64))) (expm1.f64 x))
(/.f64 (*.f64 (-.f64 (exp.f64 #s(literal 3 binary64)) #s(literal -1 binary64)) #s(approx (/ (exp x) (- (exp (+ x x)) 1)) #s(literal 1/2 binary64))) (fma.f64 #s(literal -1 binary64) (expm1.f64 x) (exp.f64 #s(literal 2 binary64))))
(/.f64 (*.f64 (expm1.f64 #s(literal 2 binary64)) #s(approx (/ (exp x) (- (exp (+ x x)) 1)) #s(literal 1/2 binary64))) (expm1.f64 x))
#s(approx (/ (exp x) (- (exp (+ x x)) 1)) #s(literal 1/2 binary64))
#s(literal 1/2 binary64)
(*.f64 (-.f64 (exp.f64 x) #s(literal -1 binary64)) x)
(*.f64 x (-.f64 (exp.f64 x) #s(literal -1 binary64)))
(/.f64 (neg.f64 (-.f64 x (exp.f64 #s(literal 2 binary64)))) (neg.f64 (*.f64 #s(literal -1 binary64) (expm1.f64 x))))
(/.f64 (neg.f64 (+.f64 (exp.f64 #s(literal 3 binary64)) x)) (neg.f64 (fma.f64 (exp.f64 x) (expm1.f64 x) x)))
(/.f64 (neg.f64 (-.f64 (exp.f64 #s(literal 3 binary64)) #s(literal -1 binary64))) (neg.f64 (fma.f64 #s(literal -1 binary64) (expm1.f64 x) (exp.f64 #s(literal 2 binary64)))))
(/.f64 (-.f64 x (exp.f64 #s(literal 2 binary64))) (*.f64 #s(literal -1 binary64) (expm1.f64 x)))
(/.f64 (expm1.f64 #s(literal 4 binary64)) (*.f64 (-.f64 (exp.f64 #s(literal 2 binary64)) #s(literal -1 binary64)) (expm1.f64 x)))
(/.f64 (+.f64 (exp.f64 #s(literal 3 binary64)) x) (fma.f64 (exp.f64 x) (expm1.f64 x) x))
(/.f64 (+.f64 (exp.f64 #s(literal 3 binary64)) x) (fma.f64 #s(literal -1 binary64) (expm1.f64 x) (exp.f64 #s(literal 2 binary64))))
(/.f64 (expm1.f64 #s(literal 6 binary64)) (*.f64 (+.f64 (-.f64 (exp.f64 #s(literal 2 binary64)) #s(literal -1 binary64)) (exp.f64 #s(literal 4 binary64))) (expm1.f64 x)))
(/.f64 (-.f64 (exp.f64 #s(literal 3 binary64)) #s(literal -1 binary64)) (fma.f64 #s(literal -1 binary64) (expm1.f64 x) (exp.f64 #s(literal 2 binary64))))
(/.f64 (neg.f64 (expm1.f64 #s(literal 2 binary64))) (neg.f64 (expm1.f64 x)))
(/.f64 (expm1.f64 #s(literal 2 binary64)) (expm1.f64 x))
(fma.f64 (neg.f64 (exp.f64 x)) #s(literal -1 binary64) x)
(fma.f64 #s(literal -1 binary64) (neg.f64 (exp.f64 x)) x)
(fma.f64 x (exp.f64 x) x)
(fma.f64 (exp.f64 x) x x)
(-.f64 (/.f64 x (*.f64 #s(literal -1 binary64) (expm1.f64 x))) (/.f64 (exp.f64 #s(literal 2 binary64)) (*.f64 #s(literal -1 binary64) (expm1.f64 x))))
(-.f64 (/.f64 (exp.f64 #s(literal 3 binary64)) (fma.f64 #s(literal -1 binary64) (expm1.f64 x) (exp.f64 #s(literal 2 binary64)))) (/.f64 #s(literal -1 binary64) (fma.f64 #s(literal -1 binary64) (expm1.f64 x) (exp.f64 #s(literal 2 binary64)))))
(-.f64 (/.f64 (exp.f64 #s(literal 2 binary64)) (expm1.f64 x)) (/.f64 x (expm1.f64 x)))
(-.f64 x (*.f64 (neg.f64 (exp.f64 x)) x))
(-.f64 (exp.f64 x) #s(literal -1 binary64))
(+.f64 (+.f64 x (cosh.f64 #s(literal -1 binary64))) (sinh.f64 x))
(+.f64 (/.f64 x (fma.f64 (exp.f64 x) (expm1.f64 x) x)) (/.f64 (exp.f64 #s(literal 3 binary64)) (fma.f64 (exp.f64 x) (expm1.f64 x) x)))
(+.f64 (cosh.f64 #s(literal -1 binary64)) (+.f64 (sinh.f64 x) x))
(+.f64 (cosh.f64 #s(literal -1 binary64)) (-.f64 (sinh.f64 x) #s(literal -1 binary64)))
(+.f64 x (exp.f64 x))
(+.f64 (exp.f64 x) x)
(*.f64 (neg.f64 (exp.f64 x)) #s(literal -1 binary64))
(*.f64 #s(literal -1 binary64) (neg.f64 (exp.f64 x)))
(*.f64 x (exp.f64 x))
(*.f64 (exp.f64 x) x)
(/.f64 (*.f64 (exp.f64 x) #s(literal 2 binary64)) #s(literal 2 binary64))
(/.f64 (*.f64 #s(literal 2 binary64) (exp.f64 x)) #s(literal 2 binary64))
(/.f64 (-.f64 (*.f64 (cosh.f64 #s(literal -1 binary64)) (cosh.f64 #s(literal -1 binary64))) (*.f64 (sinh.f64 x) (sinh.f64 x))) (-.f64 (cosh.f64 #s(literal -1 binary64)) (sinh.f64 x)))
(/.f64 (+.f64 (pow.f64 (cosh.f64 #s(literal -1 binary64)) #s(literal 3 binary64)) (pow.f64 (sinh.f64 x) #s(literal 3 binary64))) (fma.f64 (cosh.f64 #s(literal -1 binary64)) (cosh.f64 #s(literal -1 binary64)) (-.f64 (*.f64 (sinh.f64 x) (sinh.f64 x)) (*.f64 (cosh.f64 #s(literal -1 binary64)) (sinh.f64 x)))))
(neg.f64 (neg.f64 (exp.f64 x)))
(fma.f64 (cosh.f64 #s(literal -1 binary64)) x (*.f64 (sinh.f64 x) x))
(fma.f64 x (cosh.f64 #s(literal -1 binary64)) (*.f64 x (sinh.f64 x)))
(+.f64 (*.f64 x (cosh.f64 #s(literal -1 binary64))) (*.f64 x (sinh.f64 x)))
(+.f64 (*.f64 (cosh.f64 #s(literal -1 binary64)) x) (*.f64 (sinh.f64 x) x))
(+.f64 (sinh.f64 x) (cosh.f64 #s(literal -1 binary64)))
(+.f64 (cosh.f64 #s(literal -1 binary64)) (sinh.f64 x))
(exp.f64 x)
#s(literal -1 binary64)
#s(approx (* (/ (exp x) (- (exp (+ x x)) 1)) (- (exp x) -1)) x)
#s(approx (* (/ (exp x) (- (exp (+ x x)) 1)) (- (exp x) -1)) #s(literal 3/2 binary64))
#s(approx (* (/ (exp x) (- (exp (+ x x)) 1)) (- (exp x) -1)) #s(literal 19/12 binary64))
#s(approx (* (/ (exp x) (- (exp (+ x x)) 1)) (- (exp x) -1)) #s(literal 1139/720 binary64))
#s(approx x x)
#s(approx (* (- (neg (/ (+ (/ 1 x) 1/2) x)) 1/12) x) #s(literal -1 binary64))
#s(approx (* (- (neg (/ (+ (/ 1 x) 1/2) x)) 1/12) x) #s(literal -3/2 binary64))
#s(approx (* (- (neg (/ (+ (/ 1 x) 1/2) x)) 1/12) x) #s(literal -19/12 binary64))
#s(approx (* (- (neg (/ (+ (/ 1 x) 1/2) x)) 1/12) x) #s(literal -1 binary64))
#s(approx (* (- (neg (/ (+ (/ 1 x) 1/2) x)) 1/12) x) #s(literal -3/2 binary64))
#s(approx (* (- (neg (/ (+ (/ 1 x) 1/2) x)) 1/12) x) #s(literal -19/12 binary64))
#s(approx (/ (+ (/ 1 x) 1/2) x) x)
#s(approx (/ (+ (/ 1 x) 1/2) x) #s(literal 3/2 binary64))
#s(approx (* 1/12 x) #s(literal 1/12 binary64))
#s(approx (/ (exp x) (- (exp (+ x x)) 1)) #s(literal 1/2 binary64))
#s(approx (/ (exp x) (- (exp (+ x x)) 1)) #s(literal 5/12 binary64))
#s(approx (/ (exp x) (- (exp (+ x x)) 1)) #s(literal 307/720 binary64))
#s(approx (/ (exp x) (- (exp (+ x x)) 1)) #s(literal 12863/30240 binary64))
#s(approx (- (exp x) -1) #s(literal 2 binary64))
#s(approx (- (exp x) -1) #s(literal 3 binary64))
#s(approx (- (exp x) -1) #s(literal 7/2 binary64))
#s(approx (- (exp x) -1) #s(literal 11/3 binary64))
#s(approx (exp x) x)
#s(approx (exp x) #s(literal 2 binary64))
#s(approx (exp x) #s(literal 5/2 binary64))
#s(approx (exp x) #s(literal 8/3 binary64))
#s(approx (* (/ (exp x) (- (exp (+ x x)) 1)) (- (exp x) -1)) (/.f64 (exp.f64 x) (expm1.f64 x)))
#s(approx (/ (+ (/ 1 x) 1/2) x) #s(literal 1/2 binary64))
#s(approx (/ (+ (/ 1 x) 1/2) x) #s(literal 3/2 binary64))
#s(approx (/ (+ (* (+ (* 1/12 x) 1/2) x) 1) x) #s(literal 7/12 binary64))
#s(approx (/ (+ (* (+ (* 1/12 x) 1/2) x) 1) x) #s(literal 19/12 binary64))
#s(approx (* (- (neg (/ (+ (/ 1 x) 1/2) x)) 1/12) x) #s(literal -1/12 binary64))
#s(approx (* (- (neg (/ (+ (/ 1 x) 1/2) x)) 1/12) x) #s(literal -7/12 binary64))
#s(approx (* (- (neg (/ (+ (/ 1 x) 1/2) x)) 1/12) x) #s(literal -19/12 binary64))
#s(approx (* (- (neg (/ (+ (/ 1 x) 1/2) x)) 1/12) x) #s(literal -1/12 binary64))
#s(approx (* (- (neg (/ (+ (/ 1 x) 1/2) x)) 1/12) x) #s(literal -7/12 binary64))
#s(approx (* (- (neg (/ (+ (/ 1 x) 1/2) x)) 1/12) x) #s(literal -19/12 binary64))
#s(approx (neg (/ (+ (/ 1 x) 1/2) x)) #s(literal -1/2 binary64))
#s(approx (neg (/ (+ (/ 1 x) 1/2) x)) #s(literal -3/2 binary64))
#s(approx (/ (+ (/ 1 x) 1/2) x) #s(literal 3/2 binary64))
#s(approx (* (/ (exp x) (- (exp (+ x x)) 1)) (- (exp x) -1)) (/.f64 (exp.f64 x) (expm1.f64 x)))
#s(approx (/ (exp x) (- (exp (+ x x)) 1)) (/.f64 (exp.f64 x) (expm1.f64 #s(literal 2 binary64))))
#s(approx (- (exp x) -1) (-.f64 (exp.f64 x) #s(literal -1 binary64)))
#s(approx (exp x) (exp.f64 x))
#s(approx (/ (+ (* (+ (* 1/12 x) 1/2) x) 1) x) #s(literal 19/12 binary64))
#s(approx (* (- (neg (/ (+ (/ 1 x) 1/2) x)) 1/12) x) #s(literal -19/12 binary64))
#s(approx (* (/ (exp x) (- (exp (+ x x)) 1)) (- (exp x) -1)) (/.f64 (exp.f64 x) (expm1.f64 x)))
#s(approx (/ (exp x) (- (exp (+ x x)) 1)) (/.f64 (exp.f64 x) (expm1.f64 #s(literal 2 binary64))))

eval29.0ms (1.6%)

Memory
-28.7MiB live, 18.6MiB allocated; 21ms collecting garbage
Compiler

Compiled 2 273 to 374 computations (83.5% saved)

prune6.0ms (0.4%)

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

12 alts after pruning (4 fresh and 8 done)

PrunedKeptTotal
New94498
Fresh000
Picked044
Done044
Total9412106
Accuracy
100.0%
Counts
106 → 12
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(/.f64 (exp.f64 x) (expm1.f64 x))
100.0%
(*.f64 (/.f64 (exp.f64 x) (expm1.f64 (+.f64 x x))) (-.f64 (exp.f64 x) #s(literal -1 binary64)))
68.1%
(*.f64 #s(approx (/ (exp x) (- (exp (+ x x)) 1)) (/.f64 #s(literal 1/2 binary64) x)) (-.f64 (exp.f64 x) #s(literal -1 binary64)))
67.0%
#s(approx (/ (exp x) (- (exp x) 1)) (/.f64 (fma.f64 (fma.f64 #s(literal 1/12 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x))
67.6%
#s(approx (/ (exp x) (- (exp x) 1)) (/.f64 #s(literal 1 binary64) x))
3.3%
#s(approx (/ (exp x) (- (exp x) 1)) #s(approx (/ (+ (* (+ (* 1/12 x) 1/2) x) 1) x) (*.f64 #s(literal 1/12 binary64) x)))
35.0%
#s(approx (/ (exp x) (- (exp x) 1)) #s(approx (/ (+ (* (+ (* 1/12 x) 1/2) x) 1) x) (neg.f64 (*.f64 (-.f64 (neg.f64 (/.f64 (+.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1/2 binary64)) x)) #s(literal 1/12 binary64)) x))))
3.4%
#s(approx (/ (exp x) (- (exp x) 1)) #s(approx (/ (+ (* (+ (* 1/12 x) 1/2) x) 1) x) #s(approx (* 1/12 x) #s(literal 1/12 binary64))))
3.4%
#s(approx (/ (exp x) (- (exp x) 1)) #s(approx (/ (+ (* (+ (* 1/12 x) 1/2) x) 1) x) #s(literal 19/12 binary64)))
67.2%
#s(approx (/ (exp x) (- (exp x) 1)) #s(approx (/ (+ (* 1/2 x) 1) x) (+.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1/2 binary64))))
3.1%
#s(approx (/ (exp x) (- (exp x) 1)) #s(approx (/ (+ (* 1/2 x) 1) x) (+.f64 x #s(literal 1/2 binary64))))
3.3%
#s(approx (* (/ (exp x) (- (exp (+ x x)) 1)) (- (exp x) -1)) x)
Compiler

Compiled 221 to 156 computations (29.4% saved)

series4.0ms (0.2%)

Memory
5.4MiB live, 5.4MiB allocated; 0ms collecting garbage
Counts
13 → 16
Calls
Call 1
Inputs
#s(approx (* (/ (exp x) (- (exp (+ x x)) 1)) (- (exp x) -1)) x)
x
#s(approx (/ (exp x) (- (exp x) 1)) #s(approx (/ (+ (* 1/2 x) 1) x) (+.f64 x #s(literal 1/2 binary64))))
#s(approx (/ (+ (* 1/2 x) 1) x) (+.f64 x #s(literal 1/2 binary64)))
(+.f64 x #s(literal 1/2 binary64))
#s(literal 1/2 binary64)
#s(approx (/ (exp x) (- (exp x) 1)) #s(approx (/ (+ (* (+ (* 1/12 x) 1/2) x) 1) x) #s(literal 19/12 binary64)))
#s(approx (/ (+ (* (+ (* 1/12 x) 1/2) x) 1) x) #s(literal 19/12 binary64))
#s(literal 19/12 binary64)
#s(approx (/ (exp x) (- (exp x) 1)) #s(approx (/ (+ (* (+ (* 1/12 x) 1/2) x) 1) x) #s(approx (* 1/12 x) #s(literal 1/12 binary64))))
#s(approx (/ (+ (* (+ (* 1/12 x) 1/2) x) 1) x) #s(approx (* 1/12 x) #s(literal 1/12 binary64)))
#s(approx (* 1/12 x) #s(literal 1/12 binary64))
#s(literal 1/12 binary64)
Outputs
#s(approx (* (/ (exp x) (- (exp (+ x x)) 1)) (- (exp x) -1)) #s(hole binary64 (/ 1 x)))
#s(approx (* (/ (exp x) (- (exp (+ x x)) 1)) (- (exp x) -1)) #s(hole binary64 (/ (+ 1 (* 1/2 x)) x)))
#s(approx (* (/ (exp x) (- (exp (+ x x)) 1)) (- (exp x) -1)) #s(hole binary64 (/ (+ 1 (* x (+ 1/2 (* 1/12 x)))) x)))
#s(approx (* (/ (exp x) (- (exp (+ x x)) 1)) (- (exp x) -1)) #s(hole binary64 (/ (+ 1 (* x (+ 1/2 (* x (+ 1/12 (* -1/720 (pow x 2))))))) x)))
#s(approx x #s(hole binary64 x))
#s(approx (+ x 1/2) #s(hole binary64 1/2))
#s(approx (+ x 1/2) #s(hole binary64 (+ 1/2 x)))
#s(approx (* 1/12 x) #s(hole binary64 (* 1/12 x)))
#s(approx (* (/ (exp x) (- (exp (+ x x)) 1)) (- (exp x) -1)) #s(hole binary64 (/ (* (exp x) (+ 1 (exp x))) (- (exp (* 2 x)) 1))))
#s(approx (/ (exp x) (- (exp x) 1)) #s(hole binary64 (/ (exp x) (- (exp x) 1))))
#s(approx (/ (+ (* 1/2 x) 1) x) #s(hole binary64 (+ 1/2 (/ 1 x))))
#s(approx (+ x 1/2) #s(hole binary64 (* x (+ 1 (* 1/2 (/ 1 x))))))
#s(approx (/ (+ (* (+ (* 1/12 x) 1/2) x) 1) x) #s(hole binary64 (* x (+ 1/12 (* 1/2 (/ 1 x))))))
#s(approx (/ (+ (* (+ (* 1/12 x) 1/2) x) 1) x) #s(hole binary64 (* x (+ 1/12 (+ (* 1/2 (/ 1 x)) (/ 1 (pow x 2)))))))
#s(approx (* (/ (exp x) (- (exp (+ x x)) 1)) (- (exp x) -1)) #s(hole binary64 (/ (* (exp x) (+ 1 (exp x))) (- (exp (neg (* -2 x))) 1))))
#s(approx (/ (+ (* (+ (* 1/12 x) 1/2) x) 1) x) #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 x)) 1)) (- (exp x) -1)) x (/ (exp x) (- (exp x) 1)) (/ (+ (* 1/2 x) 1) x) (+ x 1/2) 1/2 (/ (exp x) (- (exp x) 1)) (/ (+ (* (+ (* 1/12 x) 1/2) x) 1) x) 19/12 (/ (exp x) (- (exp x) 1)) (/ (+ (* (+ (* 1/12 x) 1/2) x) 1) x) (* 1/12 x) 1/12)
1.0ms
x
@inf
((* (/ (exp x) (- (exp (+ x x)) 1)) (- (exp x) -1)) x (/ (exp x) (- (exp x) 1)) (/ (+ (* 1/2 x) 1) x) (+ x 1/2) 1/2 (/ (exp x) (- (exp x) 1)) (/ (+ (* (+ (* 1/12 x) 1/2) x) 1) x) 19/12 (/ (exp x) (- (exp x) 1)) (/ (+ (* (+ (* 1/12 x) 1/2) x) 1) x) (* 1/12 x) 1/12)
1.0ms
x
@0
((* (/ (exp x) (- (exp (+ x x)) 1)) (- (exp x) -1)) x (/ (exp x) (- (exp x) 1)) (/ (+ (* 1/2 x) 1) x) (+ x 1/2) 1/2 (/ (exp x) (- (exp x) 1)) (/ (+ (* (+ (* 1/12 x) 1/2) x) 1) x) 19/12 (/ (exp x) (- (exp x) 1)) (/ (+ (* (+ (* 1/12 x) 1/2) x) 1) x) (* 1/12 x) 1/12)

rewrite114.0ms (6.3%)

Memory
5.9MiB live, 53.1MiB allocated; 6ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
094429
095408
1518171
05925143
Stop Event
iter-limit
iter-limit
node-limit
iter-limit
Counts
29 → 30
Calls
Call 1
Inputs
#s(approx (* (/ (exp x) (- (exp (+ x x)) 1)) (- (exp x) -1)) x)
x
#s(approx (/ (exp x) (- (exp x) 1)) #s(approx (/ (+ (* 1/2 x) 1) x) (+.f64 x #s(literal 1/2 binary64))))
#s(approx (/ (+ (* 1/2 x) 1) x) (+.f64 x #s(literal 1/2 binary64)))
(+.f64 x #s(literal 1/2 binary64))
#s(literal 1/2 binary64)
#s(approx (/ (exp x) (- (exp x) 1)) #s(approx (/ (+ (* (+ (* 1/12 x) 1/2) x) 1) x) #s(literal 19/12 binary64)))
#s(approx (/ (+ (* (+ (* 1/12 x) 1/2) x) 1) x) #s(literal 19/12 binary64))
#s(literal 19/12 binary64)
#s(approx (/ (exp x) (- (exp x) 1)) #s(approx (/ (+ (* (+ (* 1/12 x) 1/2) x) 1) x) #s(approx (* 1/12 x) #s(literal 1/12 binary64))))
#s(approx (/ (+ (* (+ (* 1/12 x) 1/2) x) 1) x) #s(approx (* 1/12 x) #s(literal 1/12 binary64)))
#s(approx (* 1/12 x) #s(literal 1/12 binary64))
#s(literal 1/12 binary64)
#s(approx (* (/ (exp x) (- (exp (+ x x)) 1)) (- (exp x) -1)) #s(hole binary64 (/ 1 x)))
#s(approx (* (/ (exp x) (- (exp (+ x x)) 1)) (- (exp x) -1)) #s(hole binary64 (/ (+ 1 (* 1/2 x)) x)))
#s(approx (* (/ (exp x) (- (exp (+ x x)) 1)) (- (exp x) -1)) #s(hole binary64 (/ (+ 1 (* x (+ 1/2 (* 1/12 x)))) x)))
#s(approx (* (/ (exp x) (- (exp (+ x x)) 1)) (- (exp x) -1)) #s(hole binary64 (/ (+ 1 (* x (+ 1/2 (* x (+ 1/12 (* -1/720 (pow x 2))))))) x)))
#s(approx x #s(hole binary64 x))
#s(approx (+ x 1/2) #s(hole binary64 1/2))
#s(approx (+ x 1/2) #s(hole binary64 (+ 1/2 x)))
#s(approx (* 1/12 x) #s(hole binary64 (* 1/12 x)))
#s(approx (* (/ (exp x) (- (exp (+ x x)) 1)) (- (exp x) -1)) #s(hole binary64 (/ (* (exp x) (+ 1 (exp x))) (- (exp (* 2 x)) 1))))
#s(approx (/ (exp x) (- (exp x) 1)) #s(hole binary64 (/ (exp x) (- (exp x) 1))))
#s(approx (/ (+ (* 1/2 x) 1) x) #s(hole binary64 (+ 1/2 (/ 1 x))))
#s(approx (+ x 1/2) #s(hole binary64 (* x (+ 1 (* 1/2 (/ 1 x))))))
#s(approx (/ (+ (* (+ (* 1/12 x) 1/2) x) 1) x) #s(hole binary64 (* x (+ 1/12 (* 1/2 (/ 1 x))))))
#s(approx (/ (+ (* (+ (* 1/12 x) 1/2) x) 1) x) #s(hole binary64 (* x (+ 1/12 (+ (* 1/2 (/ 1 x)) (/ 1 (pow x 2)))))))
#s(approx (* (/ (exp x) (- (exp (+ x x)) 1)) (- (exp x) -1)) #s(hole binary64 (/ (* (exp x) (+ 1 (exp x))) (- (exp (neg (* -2 x))) 1))))
#s(approx (/ (+ (* (+ (* 1/12 x) 1/2) x) 1) x) #s(hole binary64 (* -1 (* x (- (* -1 (/ (+ 1/2 (/ 1 x)) x)) 1/12)))))
Outputs
#s(approx (/ (exp x) (- (exp x) 1)) x)
x
#s(literal 1 binary64)
#s(approx (/ (exp x) (- (exp x) 1)) #s(approx (+ x 1/2) #s(literal 3/2 binary64)))
#s(approx (+ x 1/2) #s(literal 3/2 binary64))
#s(literal 3/2 binary64)
#s(literal 1/2 binary64)
#s(approx (/ (exp x) (- (exp x) 1)) #s(approx (/ (+ (* (+ (* 1/12 x) 1/2) x) 1) x) #s(literal 19/12 binary64)))
#s(approx (/ (+ (* (+ (* 1/12 x) 1/2) x) 1) x) #s(literal 19/12 binary64))
#s(literal 19/12 binary64)
#s(approx (/ (exp x) (- (exp x) 1)) #s(approx (/ (+ (* (+ (* 1/12 x) 1/2) x) 1) x) #s(approx (* 1/12 x) #s(literal 1/12 binary64))))
#s(approx (/ (+ (* (+ (* 1/12 x) 1/2) x) 1) x) #s(approx (* 1/12 x) #s(literal 1/12 binary64)))
#s(approx (* 1/12 x) #s(literal 1/12 binary64))
#s(literal 1/12 binary64)
#s(approx (/ (exp x) (- (exp x) 1)) x)
#s(approx (/ (exp x) (- (exp x) 1)) #s(literal 3/2 binary64))
#s(approx (/ (exp x) (- (exp x) 1)) #s(literal 19/12 binary64))
#s(approx (/ (exp x) (- (exp x) 1)) #s(literal 1139/720 binary64))
#s(approx x x)
#s(approx (+ x 1/2) #s(literal 1/2 binary64))
#s(approx (+ x 1/2) #s(literal 3/2 binary64))
#s(approx (* 1/12 x) #s(literal 1/12 binary64))
#s(approx (/ (exp x) (- (exp x) 1)) (/.f64 (exp.f64 x) (expm1.f64 x)))
#s(approx (/ (exp x) (- (exp x) 1)) (/.f64 (exp.f64 x) (expm1.f64 x)))
#s(approx (+ x 1/2) #s(literal 3/2 binary64))
#s(approx (+ x 1/2) #s(literal 3/2 binary64))
#s(approx (/ (+ (* (+ (* 1/12 x) 1/2) x) 1) x) #s(literal 7/12 binary64))
#s(approx (/ (+ (* (+ (* 1/12 x) 1/2) x) 1) x) #s(literal 19/12 binary64))
#s(approx (/ (exp x) (- (exp x) 1)) (/.f64 (exp.f64 x) (expm1.f64 x)))
#s(approx (/ (+ (* (+ (* 1/12 x) 1/2) x) 1) x) #s(literal 19/12 binary64))

eval1.0ms (0.1%)

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

Compiled 208 to 55 computations (73.6% saved)

prune5.0ms (0.3%)

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

12 alts after pruning (0 fresh and 12 done)

PrunedKeptTotal
New14014
Fresh000
Picked044
Done088
Total141226
Accuracy
100.0%
Counts
26 → 12
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(/.f64 (exp.f64 x) (expm1.f64 x))
100.0%
(*.f64 (/.f64 (exp.f64 x) (expm1.f64 (+.f64 x x))) (-.f64 (exp.f64 x) #s(literal -1 binary64)))
68.1%
(*.f64 #s(approx (/ (exp x) (- (exp (+ x x)) 1)) (/.f64 #s(literal 1/2 binary64) x)) (-.f64 (exp.f64 x) #s(literal -1 binary64)))
67.0%
#s(approx (/ (exp x) (- (exp x) 1)) (/.f64 (fma.f64 (fma.f64 #s(literal 1/12 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x))
67.6%
#s(approx (/ (exp x) (- (exp x) 1)) (/.f64 #s(literal 1 binary64) x))
3.3%
#s(approx (/ (exp x) (- (exp x) 1)) #s(approx (/ (+ (* (+ (* 1/12 x) 1/2) x) 1) x) (*.f64 #s(literal 1/12 binary64) x)))
35.0%
#s(approx (/ (exp x) (- (exp x) 1)) #s(approx (/ (+ (* (+ (* 1/12 x) 1/2) x) 1) x) (neg.f64 (*.f64 (-.f64 (neg.f64 (/.f64 (+.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1/2 binary64)) x)) #s(literal 1/12 binary64)) x))))
3.4%
#s(approx (/ (exp x) (- (exp x) 1)) #s(approx (/ (+ (* (+ (* 1/12 x) 1/2) x) 1) x) #s(approx (* 1/12 x) #s(literal 1/12 binary64))))
3.4%
#s(approx (/ (exp x) (- (exp x) 1)) #s(approx (/ (+ (* (+ (* 1/12 x) 1/2) x) 1) x) #s(literal 19/12 binary64)))
67.2%
#s(approx (/ (exp x) (- (exp x) 1)) #s(approx (/ (+ (* 1/2 x) 1) x) (+.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1/2 binary64))))
3.1%
#s(approx (/ (exp x) (- (exp x) 1)) #s(approx (/ (+ (* 1/2 x) 1) x) (+.f64 x #s(literal 1/2 binary64))))
3.3%
#s(approx (* (/ (exp x) (- (exp (+ x x)) 1)) (- (exp x) -1)) x)
Compiler

Compiled 477 to 230 computations (51.8% saved)

regimes14.0ms (0.8%)

Memory
-29.9MiB live, 15.7MiB allocated; 3ms collecting garbage
Counts
15 → 1
Calls
Call 1
Inputs
#s(approx (* (/ (exp x) (- (exp (+ x x)) 1)) (- (exp x) -1)) x)
#s(approx (/ (exp x) (- (exp x) 1)) #s(approx (/ (+ (* (+ (* 1/12 x) 1/2) x) 1) x) #s(literal 19/12 binary64)))
#s(approx (/ (exp x) (- (exp x) 1)) #s(approx (/ (+ (* (+ (* 1/12 x) 1/2) x) 1) x) #s(approx (* 1/12 x) #s(literal 1/12 binary64))))
#s(approx (/ (exp x) (- (exp x) 1)) #s(approx (/ (+ (* 1/2 x) 1) x) (+.f64 x #s(literal 1/2 binary64))))
#s(approx (/ (exp x) (- (exp x) 1)) #s(approx (/ (+ (* (+ (* 1/12 x) 1/2) x) 1) x) (*.f64 #s(literal 1/12 binary64) x)))
#s(approx (/ (exp x) (- (exp x) 1)) (/.f64 #s(literal 1 binary64) x))
#s(approx (/ (exp x) (- (exp x) 1)) #s(approx (/ (+ (* 1/2 x) 1) x) (+.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1/2 binary64))))
#s(approx (/ (exp x) (- (exp x) 1)) (/.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x))
#s(approx (/ (exp x) (- (exp x) 1)) (/.f64 (fma.f64 (fma.f64 #s(literal 1/12 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x))
#s(approx (/ (exp x) (- (exp x) 1)) #s(approx (/ (+ (* (+ (* 1/12 x) 1/2) x) 1) x) (neg.f64 (*.f64 (-.f64 (neg.f64 (/.f64 (+.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1/2 binary64)) x)) #s(literal 1/12 binary64)) x))))
(*.f64 #s(approx (/ (exp x) (- (exp (+ x x)) 1)) (/.f64 #s(literal 1/2 binary64) x)) (-.f64 (exp.f64 x) #s(literal -1 binary64)))
(/.f64 (exp.f64 x) (expm1.f64 x))
(/.f64 (exp.f64 x) #s(approx (- (exp x) 1) (*.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x)))
(/.f64 (exp.f64 x) (-.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)))
Outputs
(/.f64 (exp.f64 x) (expm1.f64 x))
Calls

3 calls:

8.0ms
x
3.0ms
(/.f64 (exp.f64 x) (-.f64 (exp.f64 x) #s(literal 1 binary64)))
3.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)

regimes9.0ms (0.5%)

Memory
12.3MiB live, 12.3MiB allocated; 0ms collecting garbage
Counts
11 → 1
Calls
Call 1
Inputs
#s(approx (* (/ (exp x) (- (exp (+ x x)) 1)) (- (exp x) -1)) x)
#s(approx (/ (exp x) (- (exp x) 1)) #s(approx (/ (+ (* (+ (* 1/12 x) 1/2) x) 1) x) #s(literal 19/12 binary64)))
#s(approx (/ (exp x) (- (exp x) 1)) #s(approx (/ (+ (* (+ (* 1/12 x) 1/2) x) 1) x) #s(approx (* 1/12 x) #s(literal 1/12 binary64))))
#s(approx (/ (exp x) (- (exp x) 1)) #s(approx (/ (+ (* 1/2 x) 1) x) (+.f64 x #s(literal 1/2 binary64))))
#s(approx (/ (exp x) (- (exp x) 1)) #s(approx (/ (+ (* (+ (* 1/12 x) 1/2) x) 1) x) (*.f64 #s(literal 1/12 binary64) x)))
#s(approx (/ (exp x) (- (exp x) 1)) (/.f64 #s(literal 1 binary64) x))
#s(approx (/ (exp x) (- (exp x) 1)) #s(approx (/ (+ (* 1/2 x) 1) x) (+.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1/2 binary64))))
#s(approx (/ (exp x) (- (exp x) 1)) (/.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x))
#s(approx (/ (exp x) (- (exp x) 1)) (/.f64 (fma.f64 (fma.f64 #s(literal 1/12 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x))
#s(approx (/ (exp x) (- (exp x) 1)) #s(approx (/ (+ (* (+ (* 1/12 x) 1/2) x) 1) x) (neg.f64 (*.f64 (-.f64 (neg.f64 (/.f64 (+.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1/2 binary64)) x)) #s(literal 1/12 binary64)) x))))
(*.f64 #s(approx (/ (exp x) (- (exp (+ x x)) 1)) (/.f64 #s(literal 1/2 binary64) x)) (-.f64 (exp.f64 x) #s(literal -1 binary64)))
Outputs
(*.f64 #s(approx (/ (exp x) (- (exp (+ x x)) 1)) (/.f64 #s(literal 1/2 binary64) x)) (-.f64 (exp.f64 x) #s(literal -1 binary64)))
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
68.1%1(exp.f64 x)
68.1%1(/.f64 (exp.f64 x) (-.f64 (exp.f64 x) #s(literal 1 binary64)))
68.1%1x
Compiler

Compiled 10 to 8 computations (20% saved)

regimes8.0ms (0.4%)

Memory
11.4MiB live, 11.4MiB allocated; 0ms collecting garbage
Counts
10 → 1
Calls
Call 1
Inputs
#s(approx (* (/ (exp x) (- (exp (+ x x)) 1)) (- (exp x) -1)) x)
#s(approx (/ (exp x) (- (exp x) 1)) #s(approx (/ (+ (* (+ (* 1/12 x) 1/2) x) 1) x) #s(literal 19/12 binary64)))
#s(approx (/ (exp x) (- (exp x) 1)) #s(approx (/ (+ (* (+ (* 1/12 x) 1/2) x) 1) x) #s(approx (* 1/12 x) #s(literal 1/12 binary64))))
#s(approx (/ (exp x) (- (exp x) 1)) #s(approx (/ (+ (* 1/2 x) 1) x) (+.f64 x #s(literal 1/2 binary64))))
#s(approx (/ (exp x) (- (exp x) 1)) #s(approx (/ (+ (* (+ (* 1/12 x) 1/2) x) 1) x) (*.f64 #s(literal 1/12 binary64) x)))
#s(approx (/ (exp x) (- (exp x) 1)) (/.f64 #s(literal 1 binary64) x))
#s(approx (/ (exp x) (- (exp x) 1)) #s(approx (/ (+ (* 1/2 x) 1) x) (+.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1/2 binary64))))
#s(approx (/ (exp x) (- (exp x) 1)) (/.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x))
#s(approx (/ (exp x) (- (exp x) 1)) (/.f64 (fma.f64 (fma.f64 #s(literal 1/12 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x))
#s(approx (/ (exp x) (- (exp x) 1)) #s(approx (/ (+ (* (+ (* 1/12 x) 1/2) x) 1) x) (neg.f64 (*.f64 (-.f64 (neg.f64 (/.f64 (+.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1/2 binary64)) x)) #s(literal 1/12 binary64)) x))))
Outputs
#s(approx (/ (exp x) (- (exp x) 1)) (/.f64 #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
67.6%1x
67.6%1(exp.f64 x)
67.6%1(/.f64 (exp.f64 x) (-.f64 (exp.f64 x) #s(literal 1 binary64)))
Compiler

Compiled 10 to 8 computations (20% saved)

regimes5.0ms (0.3%)

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

3 calls:

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

Compiled 10 to 8 computations (20% saved)

regimes4.0ms (0.2%)

Memory
-41.3MiB live, 5.4MiB allocated; 2ms 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 x)) 1)) (- (exp x) -1)) x)
Outputs
#s(approx (* (/ (exp x) (- (exp (+ x x)) 1)) (- (exp x) -1)) 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
3.3%1(exp.f64 x)
3.3%1(/.f64 (exp.f64 x) (-.f64 (exp.f64 x) #s(literal 1 binary64)))
3.3%1x
Compiler

Compiled 10 to 8 computations (20% saved)

derivations307.0ms (17.1%)

Memory
45.0MiB live, 90.7MiB allocated; 16ms collecting garbage
Stop Event
done
Compiler

Compiled 71 to 35 computations (50.7% saved)

preprocess52.0ms (2.9%)

Memory
-3.8MiB live, 87.8MiB allocated; 8ms collecting garbage
Compiler

Compiled 84 to 46 computations (45.2% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...