expm1 (example 3.7)

Time bar (total: 740.0ms)

start0.0ms (0%)

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

analyze0.0ms (0%)

Memory
0.4MiB live, 0.4MiB allocated; 0ms collecting garbage
Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%50%50%0%0%0%0
100%50%0%50%0%0%0%1
Compiler

Compiled 9 to 6 computations (33.3% saved)

sample337.0ms (45.5%)

Memory
-25.5MiB live, 258.8MiB allocated; 44ms collecting garbage
Samples
200.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 74.0ms
ival-expm1: 72.0ms (97.8% of total)
adjust: 1.0ms (1.4% of total)
Bogosity

preprocess32.0ms (4.4%)

Memory
-6.4MiB live, 38.7MiB allocated; 7ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0814
12714
28914
347114
Stop Event
node-limit
Alt Table
Click to see full alt table
StatusAccuracyProgram
9.9%
(-.f64 (exp.f64 x) #s(literal 1 binary64))
Compiler

Compiled 8 to 8 computations (0% saved)

series3.0ms (0.5%)

Memory
7.7MiB live, 7.7MiB allocated; 0ms collecting garbage
Counts
4 → 11
Calls
Call 1
Inputs
(-.f64 (exp.f64 x) #s(literal 1 binary64))
(exp.f64 x)
x
#s(literal 1 binary64)
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) #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 (- (exp x) 1)))
#s(approx (exp x) #s(hole binary64 (exp x)))
Calls

3 calls:

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

rewrite191.0ms (25.8%)

Memory
35.7MiB live, 224.3MiB allocated; 72ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
038117
040117
1249117
22477117
0848492
Stop Event
iter-limit
node-limit
iter-limit
Counts
15 → 90
Calls
Call 1
Inputs
(-.f64 (exp.f64 x) #s(literal 1 binary64))
(exp.f64 x)
x
#s(literal 1 binary64)
#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) #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 (- (exp x) 1)))
#s(approx (exp x) #s(hole binary64 (exp x)))
Outputs
(*.f64 (/.f64 (-.f64 (exp.f64 x) #s(literal -1 binary64)) #s(literal 1 binary64)) (/.f64 (expm1.f64 x) (-.f64 (exp.f64 x) #s(literal -1 binary64))))
(*.f64 (/.f64 (-.f64 (exp.f64 x) #s(literal -1 binary64)) (-.f64 (exp.f64 x) #s(literal -1 binary64))) (/.f64 (expm1.f64 x) #s(literal 1 binary64)))
(*.f64 (expm1.f64 (+.f64 x x)) (/.f64 #s(literal 1 binary64) (-.f64 (exp.f64 x) #s(literal -1 binary64))))
(*.f64 (expm1.f64 (*.f64 x #s(literal 3 binary64))) (/.f64 #s(literal 1 binary64) (+.f64 (-.f64 (exp.f64 x) #s(literal -1 binary64)) (exp.f64 (+.f64 x x)))))
(pow.f64 (/.f64 (-.f64 (exp.f64 x) #s(literal -1 binary64)) (expm1.f64 (+.f64 x x))) #s(literal -1 binary64))
(pow.f64 (/.f64 (+.f64 (-.f64 (exp.f64 x) #s(literal -1 binary64)) (exp.f64 (+.f64 x x))) (expm1.f64 (*.f64 x #s(literal 3 binary64)))) #s(literal -1 binary64))
(/.f64 (-.f64 (pow.f64 (/.f64 (exp.f64 (+.f64 x x)) (-.f64 (exp.f64 x) #s(literal -1 binary64))) #s(literal 3 binary64)) (pow.f64 (/.f64 #s(literal 1 binary64) (-.f64 (exp.f64 x) #s(literal -1 binary64))) #s(literal 3 binary64))) (fma.f64 (/.f64 (exp.f64 (+.f64 x x)) (-.f64 (exp.f64 x) #s(literal -1 binary64))) (/.f64 (exp.f64 (+.f64 x x)) (-.f64 (exp.f64 x) #s(literal -1 binary64))) (fma.f64 (/.f64 #s(literal 1 binary64) (-.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 x)) (-.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 (/.f64 (exp.f64 (*.f64 x #s(literal 3 binary64))) (+.f64 (-.f64 (exp.f64 x) #s(literal -1 binary64)) (exp.f64 (+.f64 x x)))) #s(literal 3 binary64)) (pow.f64 (/.f64 #s(literal 1 binary64) (+.f64 (-.f64 (exp.f64 x) #s(literal -1 binary64)) (exp.f64 (+.f64 x x)))) #s(literal 3 binary64))) (fma.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 (exp.f64 (*.f64 x #s(literal 3 binary64))) (+.f64 (-.f64 (exp.f64 x) #s(literal -1 binary64)) (exp.f64 (+.f64 x x)))) (fma.f64 (/.f64 #s(literal 1 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 (/.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 (-.f64 (*.f64 (exp.f64 (+.f64 x x)) (-.f64 (exp.f64 x) #s(literal -1 binary64))) (-.f64 (exp.f64 x) #s(literal -1 binary64))) (*.f64 (-.f64 #s(literal -1 binary64) (exp.f64 x)) (-.f64 #s(literal -1 binary64) (exp.f64 x))))
(/.f64 (-.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 (+.f64 (-.f64 (exp.f64 x) #s(literal -1 binary64)) (exp.f64 (+.f64 x x))) #s(literal 1 binary64))) (*.f64 (+.f64 (-.f64 (exp.f64 x) #s(literal -1 binary64)) (exp.f64 (+.f64 x x))) (+.f64 (-.f64 (exp.f64 x) #s(literal -1 binary64)) (exp.f64 (+.f64 x x)))))
(/.f64 (-.f64 #s(literal 2 binary64) (*.f64 (exp.f64 (neg.f64 x)) #s(literal 2 binary64))) (*.f64 (exp.f64 (neg.f64 x)) #s(literal 2 binary64)))
(/.f64 (-.f64 (*.f64 (+.f64 (pow.f64 (cosh.f64 x) #s(literal 3 binary64)) (pow.f64 (sinh.f64 x) #s(literal 3 binary64))) #s(literal 2 binary64)) (*.f64 (fma.f64 (cosh.f64 x) (cosh.f64 x) (-.f64 (*.f64 (sinh.f64 x) (sinh.f64 x)) (*.f64 (cosh.f64 x) (sinh.f64 x)))) #s(literal 2 binary64))) (*.f64 (fma.f64 (cosh.f64 x) (cosh.f64 x) (-.f64 (*.f64 (sinh.f64 x) (sinh.f64 x)) (*.f64 (cosh.f64 x) (sinh.f64 x)))) #s(literal 2 binary64)))
(/.f64 (neg.f64 (neg.f64 (expm1.f64 (+.f64 x x)))) (neg.f64 (neg.f64 (-.f64 (exp.f64 x) #s(literal -1 binary64)))))
(/.f64 (neg.f64 (neg.f64 (expm1.f64 (*.f64 x #s(literal 3 binary64))))) (neg.f64 (neg.f64 (+.f64 (-.f64 (exp.f64 x) #s(literal -1 binary64)) (exp.f64 (+.f64 x x))))))
(/.f64 (-.f64 #s(literal 1 binary64) (exp.f64 (+.f64 x x))) (-.f64 (neg.f64 (exp.f64 x)) #s(literal 1 binary64)))
(/.f64 (-.f64 #s(literal 1 binary64) (exp.f64 (+.f64 x x))) (-.f64 #s(literal -1 binary64) (exp.f64 x)))
(/.f64 (-.f64 #s(literal 1 binary64) (exp.f64 (*.f64 x #s(literal 3 binary64)))) (-.f64 (neg.f64 (exp.f64 (+.f64 x x))) (-.f64 (exp.f64 x) #s(literal -1 binary64))))
(/.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 (exp.f64 (+.f64 x x)) (-.f64 #s(literal 1 binary64) (*.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 #s(literal -1 binary64) (neg.f64 (/.f64 (-.f64 (exp.f64 x) #s(literal -1 binary64)) (expm1.f64 (+.f64 x x)))))
(/.f64 #s(literal -1 binary64) (neg.f64 (/.f64 (+.f64 (-.f64 (exp.f64 x) #s(literal -1 binary64)) (exp.f64 (+.f64 x x))) (expm1.f64 (*.f64 x #s(literal 3 binary64))))))
(/.f64 (expm1.f64 (+.f64 x x)) (-.f64 (exp.f64 x) #s(literal -1 binary64)))
(/.f64 (expm1.f64 (*.f64 x #s(literal 3 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 #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)) (expm1.f64 (+.f64 x x))))
(/.f64 #s(literal 1 binary64) (/.f64 (+.f64 (-.f64 (exp.f64 x) #s(literal -1 binary64)) (exp.f64 (+.f64 x x))) (expm1.f64 (*.f64 x #s(literal 3 binary64)))))
(neg.f64 (-.f64 (neg.f64 (exp.f64 x)) #s(literal -1 binary64)))
(neg.f64 (neg.f64 (expm1.f64 x)))
(fma.f64 (/.f64 (-.f64 (exp.f64 x) #s(literal -1 binary64)) #s(literal 1 binary64)) (/.f64 (expm1.f64 x) (-.f64 (exp.f64 x) #s(literal -1 binary64))) (/.f64 #s(literal 0 binary64) (/.f64 (-.f64 (exp.f64 x) #s(literal -1 binary64)) (expm1.f64 (+.f64 x x)))))
(fma.f64 (/.f64 (-.f64 (exp.f64 x) #s(literal -1 binary64)) #s(literal 1 binary64)) (/.f64 (expm1.f64 x) (-.f64 (exp.f64 x) #s(literal -1 binary64))) (/.f64 #s(literal 0 binary64) (/.f64 (+.f64 (-.f64 (exp.f64 x) #s(literal -1 binary64)) (exp.f64 (+.f64 x x))) (expm1.f64 (*.f64 x #s(literal 3 binary64))))))
(fma.f64 (/.f64 (fabs.f64 (exp.f64 x)) (-.f64 (exp.f64 x) #s(literal -1 binary64))) (/.f64 (fabs.f64 (exp.f64 x)) #s(literal 1 binary64)) (/.f64 #s(literal -1 binary64) (-.f64 (exp.f64 x) #s(literal -1 binary64))))
(fma.f64 (/.f64 (fabs.f64 (exp.f64 x)) #s(literal 1 binary64)) (/.f64 (fabs.f64 (exp.f64 x)) (-.f64 (exp.f64 x) #s(literal -1 binary64))) (/.f64 #s(literal -1 binary64) (-.f64 (exp.f64 x) #s(literal -1 binary64))))
(fma.f64 (/.f64 (neg.f64 (exp.f64 x)) (-.f64 (exp.f64 x) #s(literal -1 binary64))) (/.f64 (neg.f64 (exp.f64 x)) #s(literal 1 binary64)) (/.f64 #s(literal -1 binary64) (-.f64 (exp.f64 x) #s(literal -1 binary64))))
(fma.f64 (/.f64 (neg.f64 (exp.f64 x)) #s(literal 1 binary64)) (/.f64 (neg.f64 (exp.f64 x)) (-.f64 (exp.f64 x) #s(literal -1 binary64))) (/.f64 #s(literal -1 binary64) (-.f64 (exp.f64 x) #s(literal -1 binary64))))
(fma.f64 (/.f64 (exp.f64 x) (-.f64 (exp.f64 x) #s(literal -1 binary64))) (/.f64 (exp.f64 x) #s(literal 1 binary64)) (/.f64 #s(literal -1 binary64) (-.f64 (exp.f64 x) #s(literal -1 binary64))))
(fma.f64 (/.f64 (exp.f64 x) #s(literal 1 binary64)) (/.f64 (exp.f64 x) (-.f64 (exp.f64 x) #s(literal -1 binary64))) (/.f64 #s(literal -1 binary64) (-.f64 (exp.f64 x) #s(literal -1 binary64))))
(fma.f64 (/.f64 (-.f64 (exp.f64 x) #s(literal -1 binary64)) (-.f64 (exp.f64 x) #s(literal -1 binary64))) (/.f64 (expm1.f64 x) #s(literal 1 binary64)) (/.f64 #s(literal 0 binary64) (/.f64 (-.f64 (exp.f64 x) #s(literal -1 binary64)) (expm1.f64 (+.f64 x x)))))
(fma.f64 (/.f64 (-.f64 (exp.f64 x) #s(literal -1 binary64)) (-.f64 (exp.f64 x) #s(literal -1 binary64))) (/.f64 (expm1.f64 x) #s(literal 1 binary64)) (/.f64 #s(literal 0 binary64) (/.f64 (+.f64 (-.f64 (exp.f64 x) #s(literal -1 binary64)) (exp.f64 (+.f64 x x))) (expm1.f64 (*.f64 x #s(literal 3 binary64))))))
(fma.f64 (expm1.f64 (+.f64 x x)) (/.f64 #s(literal 1 binary64) (-.f64 (exp.f64 x) #s(literal -1 binary64))) (/.f64 #s(literal 0 binary64) (/.f64 (-.f64 (exp.f64 x) #s(literal -1 binary64)) (expm1.f64 (+.f64 x x)))))
(fma.f64 (expm1.f64 (+.f64 x x)) (/.f64 #s(literal 1 binary64) (-.f64 (exp.f64 x) #s(literal -1 binary64))) (/.f64 #s(literal 0 binary64) (/.f64 (+.f64 (-.f64 (exp.f64 x) #s(literal -1 binary64)) (exp.f64 (+.f64 x x))) (expm1.f64 (*.f64 x #s(literal 3 binary64))))))
(fma.f64 (expm1.f64 (*.f64 x #s(literal 3 binary64))) (/.f64 #s(literal 1 binary64) (+.f64 (-.f64 (exp.f64 x) #s(literal -1 binary64)) (exp.f64 (+.f64 x x)))) (/.f64 #s(literal 0 binary64) (/.f64 (-.f64 (exp.f64 x) #s(literal -1 binary64)) (expm1.f64 (+.f64 x x)))))
(fma.f64 (expm1.f64 (*.f64 x #s(literal 3 binary64))) (/.f64 #s(literal 1 binary64) (+.f64 (-.f64 (exp.f64 x) #s(literal -1 binary64)) (exp.f64 (+.f64 x x)))) (/.f64 #s(literal 0 binary64) (/.f64 (+.f64 (-.f64 (exp.f64 x) #s(literal -1 binary64)) (exp.f64 (+.f64 x x))) (expm1.f64 (*.f64 x #s(literal 3 binary64))))))
(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 x)
(-.f64 (/.f64 (exp.f64 (*.f64 x #s(literal 3 binary64))) (+.f64 (exp.f64 (+.f64 x x)) (-.f64 #s(literal 1 binary64) (*.f64 (exp.f64 x) #s(literal -1 binary64))))) (/.f64 #s(literal 1 binary64) (+.f64 (exp.f64 (+.f64 x x)) (-.f64 #s(literal 1 binary64) (*.f64 (exp.f64 x) #s(literal -1 binary64))))))
(-.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 (/.f64 (exp.f64 (*.f64 x #s(literal 3 binary64))) (+.f64 (exp.f64 (+.f64 x x)) (-.f64 #s(literal 1 binary64) (*.f64 (exp.f64 x) #s(literal -1 binary64))))) (/.f64 #s(literal -1 binary64) (+.f64 (exp.f64 (+.f64 x x)) (-.f64 #s(literal 1 binary64) (*.f64 (exp.f64 x) #s(literal -1 binary64))))))
(+.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 #s(literal -1 binary64) (exp.f64 x))
(+.f64 (cosh.f64 x) (+.f64 (sinh.f64 x) #s(literal -1 binary64)))
(+.f64 (cosh.f64 x) (-.f64 (sinh.f64 x) #s(literal 1 binary64)))
(+.f64 (expm1.f64 x) (/.f64 #s(literal 0 binary64) (/.f64 (-.f64 (exp.f64 x) #s(literal -1 binary64)) (expm1.f64 (+.f64 x x)))))
(+.f64 (expm1.f64 x) (/.f64 #s(literal 0 binary64) (/.f64 (+.f64 (-.f64 (exp.f64 x) #s(literal -1 binary64)) (exp.f64 (+.f64 x x))) (expm1.f64 (*.f64 x #s(literal 3 binary64))))))
(+.f64 (exp.f64 x) #s(literal -1 binary64))
(*.f64 (exp.f64 x) #s(literal 1 binary64))
(*.f64 #s(literal 1 binary64) (exp.f64 x))
(pow.f64 (exp.f64 #s(literal 1 binary64)) x)
(pow.f64 (exp.f64 x) #s(literal 1 binary64))
(/.f64 (fma.f64 #s(literal 2 binary64) (sinh.f64 x) (*.f64 #s(literal 2 binary64) (cosh.f64 x))) #s(literal 2 binary64))
(/.f64 (fma.f64 #s(literal 2 binary64) (cosh.f64 x) (*.f64 #s(literal 2 binary64) (sinh.f64 x))) #s(literal 2 binary64))
(/.f64 (fma.f64 (*.f64 #s(literal 2 binary64) (sinh.f64 x)) #s(literal 2 binary64) (*.f64 #s(literal 2 binary64) (*.f64 #s(literal 2 binary64) (cosh.f64 x)))) #s(literal 4 binary64))
(/.f64 (fma.f64 (*.f64 #s(literal 2 binary64) (cosh.f64 x)) #s(literal 2 binary64) (*.f64 #s(literal 2 binary64) (*.f64 #s(literal 2 binary64) (sinh.f64 x)))) #s(literal 4 binary64))
(/.f64 (neg.f64 (+.f64 (pow.f64 (cosh.f64 x) #s(literal 3 binary64)) (pow.f64 (sinh.f64 x) #s(literal 3 binary64)))) (neg.f64 (fma.f64 (cosh.f64 x) (cosh.f64 x) (-.f64 (*.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 #s(literal -1 binary64) (neg.f64 (exp.f64 (neg.f64 x))))
(/.f64 #s(literal 1 binary64) (exp.f64 (neg.f64 x)))
(neg.f64 (-.f64 (neg.f64 (cosh.f64 x)) (sinh.f64 x)))
(-.f64 (/.f64 (*.f64 (cosh.f64 x) (cosh.f64 x)) (exp.f64 (neg.f64 x))) (/.f64 (*.f64 (sinh.f64 x) (sinh.f64 x)) (exp.f64 (neg.f64 x))))
(exp.f64 x)
(+.f64 (/.f64 (pow.f64 (cosh.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 (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))
x
#s(literal 1 binary64)
#s(approx (- (exp x) 1) 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) #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) (expm1.f64 x))
#s(approx (exp x) (exp.f64 x))

eval13.0ms (1.8%)

Memory
-37.6MiB live, 19.3MiB allocated; 4ms collecting garbage
Compiler

Compiled 870 to 247 computations (71.6% saved)

prune3.0ms (0.3%)

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

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New82486
Fresh000
Picked101
Done000
Total83487
Accuracy
100.0%
Counts
87 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(/.f64 (expm1.f64 (+.f64 x x)) (-.f64 (exp.f64 x) #s(literal -1 binary64)))
8.5%
(-.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) #s(literal 1 binary64))
100.0%
(expm1.f64 x)
97.0%
#s(approx (- (exp x) 1) x)
Compiler

Compiled 21 to 21 computations (0% saved)

series4.0ms (0.5%)

Memory
7.8MiB live, 7.8MiB allocated; 0ms collecting garbage
Counts
13 → 33
Calls
Call 1
Inputs
#s(approx (- (exp x) 1) x)
x
(expm1.f64 x)
(-.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) #s(literal 1 binary64))
#s(approx (exp x) (-.f64 x #s(literal -1 binary64)))
(-.f64 x #s(literal -1 binary64))
#s(literal -1 binary64)
#s(literal 1 binary64)
(/.f64 (expm1.f64 (+.f64 x x)) (-.f64 (exp.f64 x) #s(literal -1 binary64)))
(expm1.f64 (+.f64 x x))
(+.f64 x 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 x #s(hole binary64 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 -1) #s(hole binary64 1))
#s(approx (- x -1) #s(hole binary64 (+ 1 x)))
#s(approx (/ (- (exp (+ x x)) 1) (- (exp x) -1)) #s(hole binary64 x))
#s(approx (/ (- (exp (+ x x)) 1) (- (exp x) -1)) #s(hole binary64 (* x (+ 1 (* 1/2 x)))))
#s(approx (/ (- (exp (+ x x)) 1) (- (exp x) -1)) #s(hole binary64 (* x (+ 1 (* x (+ 1/2 (* 1/6 x)))))))
#s(approx (/ (- (exp (+ x x)) 1) (- (exp x) -1)) #s(hole binary64 (* x (+ 1 (* x (+ 1/2 (* x (+ 1/6 (* 1/24 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 (+ x x) #s(hole binary64 (* 2 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) 1) #s(hole binary64 (- (exp x) 1)))
#s(approx (exp x) #s(hole binary64 (exp x)))
#s(approx (- x -1) #s(hole binary64 x))
#s(approx (- x -1) #s(hole binary64 (* x (+ 1 (/ 1 x)))))
#s(approx (/ (- (exp (+ x x)) 1) (- (exp x) -1)) #s(hole binary64 (/ (- (exp (* 2 x)) 1) (+ 1 (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 x)) 1) (- (exp x) -1)) #s(hole binary64 (/ (- (exp (neg (* -2 x))) 1) (+ 1 (exp x)))))
#s(approx (- (exp (+ x x)) 1) #s(hole binary64 (- (exp (neg (* -2 x))) 1)))
Calls

3 calls:

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

rewrite55.0ms (7.5%)

Memory
21.4MiB live, 61.9MiB allocated; 9ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0108431
0117358
0670330
Stop Event
iter-limit
iter-limit
node-limit
iter-limit
Counts
46 → 96
Calls
Call 1
Inputs
#s(approx (- (exp x) 1) x)
x
(expm1.f64 x)
(-.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) #s(literal 1 binary64))
#s(approx (exp x) (-.f64 x #s(literal -1 binary64)))
(-.f64 x #s(literal -1 binary64))
#s(literal -1 binary64)
#s(literal 1 binary64)
(/.f64 (expm1.f64 (+.f64 x x)) (-.f64 (exp.f64 x) #s(literal -1 binary64)))
(expm1.f64 (+.f64 x x))
(+.f64 x x)
(-.f64 (exp.f64 x) #s(literal -1 binary64))
(exp.f64 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 x #s(hole binary64 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 -1) #s(hole binary64 1))
#s(approx (- x -1) #s(hole binary64 (+ 1 x)))
#s(approx (/ (- (exp (+ x x)) 1) (- (exp x) -1)) #s(hole binary64 x))
#s(approx (/ (- (exp (+ x x)) 1) (- (exp x) -1)) #s(hole binary64 (* x (+ 1 (* 1/2 x)))))
#s(approx (/ (- (exp (+ x x)) 1) (- (exp x) -1)) #s(hole binary64 (* x (+ 1 (* x (+ 1/2 (* 1/6 x)))))))
#s(approx (/ (- (exp (+ x x)) 1) (- (exp x) -1)) #s(hole binary64 (* x (+ 1 (* x (+ 1/2 (* x (+ 1/6 (* 1/24 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 (+ x x) #s(hole binary64 (* 2 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) 1) #s(hole binary64 (- (exp x) 1)))
#s(approx (exp x) #s(hole binary64 (exp x)))
#s(approx (- x -1) #s(hole binary64 x))
#s(approx (- x -1) #s(hole binary64 (* x (+ 1 (/ 1 x)))))
#s(approx (/ (- (exp (+ x x)) 1) (- (exp x) -1)) #s(hole binary64 (/ (- (exp (* 2 x)) 1) (+ 1 (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 x)) 1) (- (exp x) -1)) #s(hole binary64 (/ (- (exp (neg (* -2 x))) 1) (+ 1 (exp x)))))
#s(approx (- (exp (+ x x)) 1) #s(hole binary64 (- (exp (neg (* -2 x))) 1)))
Outputs
#s(approx (- (exp x) 1) x)
x
(*.f64 (expm1.f64 (+.f64 x x)) (/.f64 #s(literal 1 binary64) (-.f64 (exp.f64 x) #s(literal -1 binary64))))
(/.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 (neg.f64 (expm1.f64 (+.f64 x x))) (neg.f64 (-.f64 (exp.f64 x) #s(literal -1 binary64))))
(/.f64 (expm1.f64 (+.f64 x x)) (-.f64 (exp.f64 x) #s(literal -1 binary64)))
(/.f64 #s(literal 1 binary64) (/.f64 (-.f64 (exp.f64 x) #s(literal -1 binary64)) (expm1.f64 (+.f64 x x))))
(neg.f64 (-.f64 #s(literal 1 binary64) (exp.f64 x)))
(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 (exp.f64 x) #s(literal 1 binary64))
(+.f64 (exp.f64 x) #s(literal -1 binary64))
(/.f64 (-.f64 (*.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) #s(approx (exp x) (-.f64 x #s(literal -1 binary64)))) #s(literal 1 binary64)) (+.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) #s(literal 1 binary64)))
(/.f64 (-.f64 (pow.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) #s(literal 3 binary64)) #s(literal 1 binary64)) (fma.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) (+.f64 #s(literal 1 binary64) (*.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) #s(literal 1 binary64)))))
(neg.f64 (-.f64 #s(literal 1 binary64) #s(approx (exp x) (-.f64 x #s(literal -1 binary64)))))
(-.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) #s(literal 1 binary64))
(+.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) #s(literal -1 binary64))
#s(approx (exp x) (-.f64 x #s(literal -1 binary64)))
(/.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) (-.f64 #s(literal 1 binary64) x))
(/.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64)) (+.f64 x #s(literal -1 binary64)))
(/.f64 (+.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64))) (+.f64 #s(literal 1 binary64) (-.f64 (*.f64 x x) (*.f64 #s(literal 1 binary64) x))))
(/.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1 binary64)) (fma.f64 x x (+.f64 #s(literal 1 binary64) (*.f64 x #s(literal -1 binary64)))))
(neg.f64 (-.f64 #s(literal -1 binary64) x))
(-.f64 x #s(literal -1 binary64))
(+.f64 #s(literal 1 binary64) x)
(+.f64 x #s(literal 1 binary64))
#s(literal -1 binary64)
#s(literal 1 binary64)
(*.f64 (expm1.f64 (+.f64 x x)) (/.f64 #s(literal 1 binary64) (-.f64 (exp.f64 x) #s(literal -1 binary64))))
(/.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 (neg.f64 (expm1.f64 (+.f64 x x))) (neg.f64 (-.f64 (exp.f64 x) #s(literal -1 binary64))))
(/.f64 (expm1.f64 (+.f64 x x)) (-.f64 (exp.f64 x) #s(literal -1 binary64)))
(/.f64 #s(literal 1 binary64) (/.f64 (-.f64 (exp.f64 x) #s(literal -1 binary64)) (expm1.f64 (+.f64 x x))))
(neg.f64 (-.f64 #s(literal 1 binary64) (exp.f64 x)))
(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 (exp.f64 x) #s(literal 1 binary64))
(+.f64 (exp.f64 x) #s(literal -1 binary64))
(/.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)))))
(neg.f64 (-.f64 #s(literal 1 binary64) (exp.f64 (+.f64 x x))))
(fma.f64 (exp.f64 x) (exp.f64 x) #s(literal -1 binary64))
(expm1.f64 (+.f64 x x))
(-.f64 (exp.f64 (+.f64 x x)) #s(literal 1 binary64))
(+.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 (neg.f64 x) x))
(neg.f64 (*.f64 #s(literal -2 binary64) x))
(+.f64 x x)
(/.f64 (-.f64 #s(literal 1 binary64) (exp.f64 (+.f64 x x))) (-.f64 #s(literal 1 binary64) (exp.f64 x)))
(/.f64 (+.f64 #s(literal 1 binary64) (pow.f64 (exp.f64 x) #s(literal 3 binary64))) (+.f64 #s(literal 1 binary64) (-.f64 (exp.f64 (+.f64 x x)) (*.f64 #s(literal 1 binary64) (exp.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)) (expm1.f64 x))
(neg.f64 (-.f64 #s(literal -1 binary64) (exp.f64 x)))
(-.f64 (exp.f64 x) #s(literal -1 binary64))
(+.f64 #s(literal 1 binary64) (exp.f64 x))
(+.f64 (exp.f64 x) #s(literal 1 binary64))
(exp.f64 x)
(+.f64 (cosh.f64 x) (sinh.f64 x))
#s(approx (- (exp x) 1) 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 x 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 -1) #s(literal 1 binary64))
#s(approx (- x -1) (-.f64 x #s(literal -1 binary64)))
#s(approx (- (exp x) 1) 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 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 (+ x x) (+.f64 x 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 (- (exp x) 1) (expm1.f64 x))
#s(approx (exp x) (exp.f64 x))
#s(approx (- x -1) x)
#s(approx (- x -1) (*.f64 (+.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) x))
#s(approx (- (exp x) 1) (expm1.f64 x))
#s(approx (- (exp (+ x x)) 1) (expm1.f64 (+.f64 x x)))
#s(approx (- (exp x) -1) (-.f64 (exp.f64 x) #s(literal -1 binary64)))
#s(approx (- (exp x) 1) (expm1.f64 x))
#s(approx (- (exp (+ x x)) 1) (expm1.f64 (+.f64 x x)))

eval17.0ms (2.4%)

Memory
-35.2MiB live, 8.2MiB allocated; 13ms collecting garbage
Compiler

Compiled 418 to 257 computations (38.5% saved)

prune3.0ms (0.4%)

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

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New67067
Fresh000
Picked044
Done000
Total67471
Accuracy
100.0%
Counts
71 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(/.f64 (expm1.f64 (+.f64 x x)) (-.f64 (exp.f64 x) #s(literal -1 binary64)))
8.5%
(-.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) #s(literal 1 binary64))
100.0%
(expm1.f64 x)
97.0%
#s(approx (- (exp x) 1) x)
Compiler

Compiled 40 to 38 computations (5% saved)

regimes5.0ms (0.6%)

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

3 calls:

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

Compiled 7 to 7 computations (0% saved)

regimes3.0ms (0.4%)

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

Total -56.6b remaining (-2984.5%)

Threshold costs -56.6b (-2984.5%)

Counts
2 → 1
Calls
Call 1
Inputs
#s(approx (- (exp x) 1) x)
(-.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) #s(literal 1 binary64))
Outputs
#s(approx (- (exp x) 1) x)
Calls

3 calls:

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

Compiled 7 to 7 computations (0% saved)

derivations57.0ms (7.7%)

Memory
22.9MiB live, 22.9MiB allocated; 0ms collecting garbage
Stop Event
done
Compiler

Compiled 6 to 6 computations (0% saved)

preprocess16.0ms (2.2%)

Memory
-27.9MiB live, 19.3MiB allocated; 3ms collecting garbage
Compiler

Compiled 12 to 12 computations (0% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...