exp2 (problem 3.3.7)

Time bar (total: 2.9s)

start0.0ms (0%)

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

analyze0.0ms (0%)

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

Compiled 13 to 11 computations (15.4% saved)

sample2.5s (84.7%)

Memory
68.6MiB live, 847.4MiB allocated; 129ms collecting garbage
Samples
1.9s5 739×2valid
267.0ms2 379×1valid
7.0ms138×0valid
Precisions
Click to see histograms. Total time spent on operations: 2.0s
ival-exp: 1.5s (77% of total)
adjust: 297.0ms (15.2% of total)
ival-sub!: 70.0ms (3.6% of total)
ival-add!: 50.0ms (2.6% of total)
ival-neg: 33.0ms (1.7% of total)
Bogosity

preprocess47.0ms (1.6%)

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

Useful iterations: 2 (0.0ms)

IterNodesCost
01225
15424
220218
3136418
Stop Event
node-limit
Alt Table
Click to see full alt table
StatusAccuracyProgram
51.0%
(+.f64 (-.f64 (exp.f64 x) #s(literal 2 binary64)) (exp.f64 (neg.f64 x)))
Symmetry

(abs x)

Compiler

Compiled 14 to 14 computations (0% saved)

series6.0ms (0.2%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
084286
Stop Event
iter-limit
Counts
7 → 23
Calls
Call 1
Inputs
(+.f64 (-.f64 (exp.f64 x) #s(literal 2 binary64)) (exp.f64 (neg.f64 x)))
(-.f64 (exp.f64 x) #s(literal 2 binary64))
(exp.f64 x)
x
#s(literal 2 binary64)
(exp.f64 (neg.f64 x))
(neg.f64 x)
Outputs
#s(approx (+ (- (exp x) 2) (exp (neg x))) (pow.f64 x #s(literal 2 binary64)))
#s(approx (+ (- (exp x) 2) (exp (neg x))) (*.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/12 binary64) (pow.f64 x #s(literal 2 binary64))))))
#s(approx (+ (- (exp x) 2) (exp (neg x))) (*.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 1 binary64) (*.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 1/12 binary64) (*.f64 #s(literal 1/360 binary64) (pow.f64 x #s(literal 2 binary64))))))))
#s(approx (+ (- (exp x) 2) (exp (neg x))) (*.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 1 binary64) (*.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 1/12 binary64) (*.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 1/360 binary64) (*.f64 #s(literal 1/20160 binary64) (pow.f64 x #s(literal 2 binary64))))))))))
#s(approx (- (exp x) 2) #s(literal -1 binary64))
#s(approx (- (exp x) 2) (-.f64 x #s(literal 1 binary64)))
#s(approx (- (exp x) 2) (-.f64 (*.f64 x (+.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/2 binary64) x))) #s(literal 1 binary64)))
#s(approx (- (exp x) 2) (-.f64 (*.f64 x (+.f64 #s(literal 1 binary64) (*.f64 x (+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal 1/6 binary64) x))))) #s(literal 1 binary64)))
#s(approx (exp x) #s(literal 1 binary64))
#s(approx (exp x) (+.f64 #s(literal 1 binary64) x))
#s(approx (exp x) (+.f64 #s(literal 1 binary64) (*.f64 x (+.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/2 binary64) x)))))
#s(approx (exp x) (+.f64 #s(literal 1 binary64) (*.f64 x (+.f64 #s(literal 1 binary64) (*.f64 x (+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal 1/6 binary64) x)))))))
#s(approx x x)
#s(approx (exp (neg x)) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) x)))
#s(approx (exp (neg x)) (+.f64 #s(literal 1 binary64) (*.f64 x (-.f64 (*.f64 #s(literal 1/2 binary64) x) #s(literal 1 binary64)))))
#s(approx (exp (neg x)) (+.f64 #s(literal 1 binary64) (*.f64 x (-.f64 (*.f64 x (+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal -1/6 binary64) x))) #s(literal 1 binary64)))))
#s(approx (neg x) (*.f64 #s(literal -1 binary64) x))
#s(approx (+ (- (exp x) 2) (exp (neg x))) (-.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) #s(literal 2 binary64)))
#s(approx (- (exp x) 2) (-.f64 (exp.f64 x) #s(literal 2 binary64)))
#s(approx (exp x) (exp.f64 x))
#s(approx (exp (neg x)) (exp.f64 (neg.f64 x)))
#s(approx (+ (- (exp x) 2) (exp (neg x))) (-.f64 (+.f64 (exp.f64 x) (exp.f64 (*.f64 #s(literal -1 binary64) x))) #s(literal 2 binary64)))
#s(approx (exp (neg x)) (exp.f64 (*.f64 #s(literal -1 binary64) x)))
Calls

3 calls:

TimeVariablePointExpression
1.0ms
x
@-inf
((+ (- (exp x) 2) (exp (neg x))) (- (exp x) 2) (exp x) x 2 (exp (neg x)) (neg x))
1.0ms
x
@0
((+ (- (exp x) 2) (exp (neg x))) (- (exp x) 2) (exp x) x 2 (exp (neg x)) (neg x))
1.0ms
x
@inf
((+ (- (exp x) 2) (exp (neg x))) (- (exp x) 2) (exp x) x 2 (exp (neg x)) (neg x))

rewrite42.0ms (1.4%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0721
01221
16721
059921
1168221
Stop Event
saturated
iter-limit
node-limit
iter-limit
Counts
7 → 49
Calls
Call 1
Inputs
(+.f64 (-.f64 (exp.f64 x) #s(literal 2 binary64)) (exp.f64 (neg.f64 x)))
(-.f64 (exp.f64 x) #s(literal 2 binary64))
(exp.f64 x)
x
#s(literal 2 binary64)
(exp.f64 (neg.f64 x))
(neg.f64 x)
Outputs
(/.f64 (fma.f64 (-.f64 (expm1.f64 x) #s(literal 1 binary64)) (exp.f64 x) #s(literal 1 binary64)) (exp.f64 x))
(neg.f64 (-.f64 (neg.f64 (exp.f64 (neg.f64 x))) (-.f64 (expm1.f64 x) #s(literal 1 binary64))))
(neg.f64 (-.f64 (-.f64 #s(literal 2 binary64) (exp.f64 (neg.f64 x))) (exp.f64 x)))
(fma.f64 #s(literal 1 binary64) (exp.f64 (neg.f64 x)) (-.f64 (expm1.f64 x) #s(literal 1 binary64)))
(-.f64 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) #s(literal 2 binary64))
(-.f64 (+.f64 (-.f64 (expm1.f64 x) #s(literal 1 binary64)) (cosh.f64 x)) (sinh.f64 x))
(-.f64 (cosh.f64 x) (-.f64 (sinh.f64 x) (-.f64 (expm1.f64 x) #s(literal 1 binary64))))
(-.f64 (exp.f64 (neg.f64 x)) (neg.f64 (-.f64 (expm1.f64 x) #s(literal 1 binary64))))
(-.f64 (-.f64 (expm1.f64 x) #s(literal 1 binary64)) (neg.f64 (exp.f64 (neg.f64 x))))
(-.f64 (exp.f64 x) (-.f64 #s(literal 2 binary64) (exp.f64 (neg.f64 x))))
(+.f64 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) #s(literal -2 binary64))
(+.f64 (+.f64 (-.f64 (expm1.f64 x) #s(literal 1 binary64)) (cosh.f64 x)) (sinh.f64 (neg.f64 x)))
(+.f64 (cosh.f64 x) (+.f64 (sinh.f64 (neg.f64 x)) (-.f64 (expm1.f64 x) #s(literal 1 binary64))))
(+.f64 (cosh.f64 x) (-.f64 (sinh.f64 x) (-.f64 #s(literal 2 binary64) (exp.f64 (neg.f64 x)))))
(+.f64 (exp.f64 (neg.f64 x)) (-.f64 (expm1.f64 x) #s(literal 1 binary64)))
(+.f64 (-.f64 (expm1.f64 x) #s(literal 1 binary64)) (exp.f64 (neg.f64 x)))
(+.f64 (exp.f64 x) (+.f64 #s(literal -2 binary64) (exp.f64 (neg.f64 x))))
(+.f64 (exp.f64 x) (-.f64 #s(literal -2 binary64) (neg.f64 (exp.f64 (neg.f64 x)))))
(+.f64 (exp.f64 x) (neg.f64 (-.f64 #s(literal 2 binary64) (exp.f64 (neg.f64 x)))))
(neg.f64 (neg.f64 (-.f64 (expm1.f64 x) #s(literal 1 binary64))))
(-.f64 (expm1.f64 x) #s(literal 1 binary64))
(-.f64 (exp.f64 x) #s(literal 2 binary64))
(+.f64 #s(literal -2 binary64) (exp.f64 x))
(+.f64 (cosh.f64 x) (+.f64 (sinh.f64 x) #s(literal -2 binary64)))
(+.f64 (cosh.f64 x) (-.f64 (sinh.f64 x) #s(literal 2 binary64)))
(+.f64 (exp.f64 x) #s(literal -2 binary64))
(sqrt.f64 (exp.f64 (+.f64 x x)))
(-.f64 (cosh.f64 x) (sinh.f64 (neg.f64 x)))
(fabs.f64 (neg.f64 (exp.f64 x)))
(fabs.f64 (exp.f64 x))
(exp.f64 x)
(+.f64 (sinh.f64 x) (cosh.f64 x))
(+.f64 (cosh.f64 x) (sinh.f64 x))
x
#s(literal 2 binary64)
(*.f64 #s(literal 1 binary64) (exp.f64 (neg.f64 x)))
(pow.f64 (exp.f64 x) #s(literal -1 binary64))
(/.f64 #s(literal -1 binary64) (neg.f64 (exp.f64 x)))
(/.f64 #s(literal 1 binary64) (exp.f64 x))
(neg.f64 (neg.f64 (exp.f64 (neg.f64 x))))
(sqrt.f64 (exp.f64 (*.f64 (neg.f64 x) #s(literal 2 binary64))))
(-.f64 (cosh.f64 x) (neg.f64 (sinh.f64 (neg.f64 x))))
(-.f64 (cosh.f64 x) (sinh.f64 x))
(fabs.f64 (neg.f64 (exp.f64 (neg.f64 x))))
(fabs.f64 (exp.f64 (neg.f64 x)))
(exp.f64 (neg.f64 x))
(+.f64 (sinh.f64 (neg.f64 x)) (cosh.f64 x))
(+.f64 (cosh.f64 x) (sinh.f64 (neg.f64 x)))
(neg.f64 x)

eval5.0ms (0.2%)

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

Compiled 418 to 215 computations (48.6% saved)

prune4.0ms (0.1%)

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

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New61566
Fresh000
Picked101
Done000
Total62567
Accuracy
100.0%
Counts
67 → 5
Alt Table
Click to see full alt table
StatusAccuracyProgram
51.0%
(+.f64 (-.f64 (expm1.f64 x) #s(literal 1 binary64)) (exp.f64 (neg.f64 x)))
50.5%
(+.f64 (-.f64 (exp.f64 x) #s(literal 2 binary64)) #s(approx (exp (neg x)) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) x))))
50.1%
(+.f64 #s(approx (- (exp x) 2) #s(literal -1 binary64)) (exp.f64 (neg.f64 x)))
99.5%
#s(approx (+ (- (exp x) 2) (exp (neg x))) (pow.f64 x #s(literal 2 binary64)))
99.7%
#s(approx (+ (- (exp x) 2) (exp (neg x))) (*.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/12 binary64) (pow.f64 x #s(literal 2 binary64))))))
Compiler

Compiled 108 to 106 computations (1.9% saved)

series9.0ms (0.3%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0117451
Stop Event
iter-limit
Counts
24 → 34
Calls
Call 1
Inputs
#s(approx (+ (- (exp x) 2) (exp (neg x))) (*.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/12 binary64) (pow.f64 x #s(literal 2 binary64))))))
(*.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/12 binary64) (pow.f64 x #s(literal 2 binary64)))))
(pow.f64 x #s(literal 2 binary64))
x
#s(literal 2 binary64)
(+.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/12 binary64) (pow.f64 x #s(literal 2 binary64))))
#s(literal 1 binary64)
(*.f64 #s(literal 1/12 binary64) (pow.f64 x #s(literal 2 binary64)))
#s(literal 1/12 binary64)
(+.f64 #s(approx (- (exp x) 2) #s(literal -1 binary64)) (exp.f64 (neg.f64 x)))
#s(approx (- (exp x) 2) #s(literal -1 binary64))
#s(literal -1 binary64)
(exp.f64 (neg.f64 x))
(neg.f64 x)
#s(approx (+ (- (exp x) 2) (exp (neg x))) (pow.f64 x #s(literal 2 binary64)))
(+.f64 (-.f64 (exp.f64 x) #s(literal 2 binary64)) #s(approx (exp (neg x)) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) x))))
(-.f64 (exp.f64 x) #s(literal 2 binary64))
(exp.f64 x)
#s(approx (exp (neg x)) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) x)))
(+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) x))
(*.f64 #s(literal -1 binary64) x)
(+.f64 (-.f64 (expm1.f64 x) #s(literal 1 binary64)) (exp.f64 (neg.f64 x)))
(-.f64 (expm1.f64 x) #s(literal 1 binary64))
(expm1.f64 x)
Outputs
#s(approx (+ (- (exp x) 2) (exp (neg x))) (pow.f64 x #s(literal 2 binary64)))
#s(approx (+ (- (exp x) 2) (exp (neg x))) (*.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/12 binary64) (pow.f64 x #s(literal 2 binary64))))))
#s(approx (+ (- (exp x) 2) (exp (neg x))) (*.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 1 binary64) (*.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 1/12 binary64) (*.f64 #s(literal 1/360 binary64) (pow.f64 x #s(literal 2 binary64))))))))
#s(approx (+ (- (exp x) 2) (exp (neg x))) (*.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 1 binary64) (*.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 1/12 binary64) (*.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 1/360 binary64) (*.f64 #s(literal 1/20160 binary64) (pow.f64 x #s(literal 2 binary64))))))))))
#s(approx x x)
#s(approx (+ 1 (* 1/12 (pow x 2))) #s(literal 1 binary64))
#s(approx (+ 1 (* 1/12 (pow x 2))) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/12 binary64) (pow.f64 x #s(literal 2 binary64)))))
#s(approx (* 1/12 (pow x 2)) (*.f64 #s(literal 1/12 binary64) (pow.f64 x #s(literal 2 binary64))))
#s(approx (- (exp x) 2) #s(literal -1 binary64))
#s(approx (- (exp x) 2) (-.f64 x #s(literal 1 binary64)))
#s(approx (- (exp x) 2) (-.f64 (*.f64 x (+.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/2 binary64) x))) #s(literal 1 binary64)))
#s(approx (- (exp x) 2) (-.f64 (*.f64 x (+.f64 #s(literal 1 binary64) (*.f64 x (+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal 1/6 binary64) x))))) #s(literal 1 binary64)))
#s(approx (exp (neg x)) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) x)))
#s(approx (exp (neg x)) (+.f64 #s(literal 1 binary64) (*.f64 x (-.f64 (*.f64 #s(literal 1/2 binary64) x) #s(literal 1 binary64)))))
#s(approx (exp (neg x)) (+.f64 #s(literal 1 binary64) (*.f64 x (-.f64 (*.f64 x (+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal -1/6 binary64) x))) #s(literal 1 binary64)))))
#s(approx (neg x) (*.f64 #s(literal -1 binary64) x))
#s(approx (exp x) (+.f64 #s(literal 1 binary64) x))
#s(approx (exp x) (+.f64 #s(literal 1 binary64) (*.f64 x (+.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/2 binary64) x)))))
#s(approx (exp x) (+.f64 #s(literal 1 binary64) (*.f64 x (+.f64 #s(literal 1 binary64) (*.f64 x (+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal 1/6 binary64) x)))))))
#s(approx (- (exp x) 1) (*.f64 x (+.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/2 binary64) x))))
#s(approx (- (exp x) 1) (*.f64 x (+.f64 #s(literal 1 binary64) (*.f64 x (+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal 1/6 binary64) x))))))
#s(approx (- (exp x) 1) (*.f64 x (+.f64 #s(literal 1 binary64) (*.f64 x (+.f64 #s(literal 1/2 binary64) (*.f64 x (+.f64 #s(literal 1/6 binary64) (*.f64 #s(literal 1/24 binary64) x))))))))
#s(approx (+ (- (exp x) 2) (exp (neg x))) (-.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) #s(literal 2 binary64)))
#s(approx (* (pow x 2) (+ 1 (* 1/12 (pow x 2)))) (*.f64 #s(literal 1/12 binary64) (pow.f64 x #s(literal 4 binary64))))
#s(approx (* (pow x 2) (+ 1 (* 1/12 (pow x 2)))) (*.f64 (pow.f64 x #s(literal 4 binary64)) (+.f64 #s(literal 1/12 binary64) (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 2 binary64))))))
#s(approx (+ 1 (* 1/12 (pow x 2))) (*.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 1/12 binary64) (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 2 binary64))))))
#s(approx (- (exp x) 2) (-.f64 (exp.f64 x) #s(literal 2 binary64)))
#s(approx (exp (neg x)) (exp.f64 (neg.f64 x)))
#s(approx (exp x) (exp.f64 x))
#s(approx (+ 1 (* -1 x)) (*.f64 x (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))))
#s(approx (- (exp x) 1) (expm1.f64 x))
#s(approx (+ (- (exp x) 2) (exp (neg x))) (-.f64 (+.f64 (exp.f64 x) (exp.f64 (*.f64 #s(literal -1 binary64) x))) #s(literal 2 binary64)))
#s(approx (exp (neg x)) (exp.f64 (*.f64 #s(literal -1 binary64) x)))
#s(approx (+ 1 (* -1 x)) (*.f64 #s(literal -1 binary64) (*.f64 x (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) x)))))
Calls

3 calls:

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

rewrite88.0ms (3%)

Memory
-20.2MiB live, 26.7MiB allocated; 3ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
029135
046131
1249128
02103122
15972122
Stop Event
saturated
iter-limit
node-limit
iter-limit
Counts
24 → 257
Calls
Call 1
Inputs
#s(approx (+ (- (exp x) 2) (exp (neg x))) (*.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/12 binary64) (pow.f64 x #s(literal 2 binary64))))))
(*.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/12 binary64) (pow.f64 x #s(literal 2 binary64)))))
(pow.f64 x #s(literal 2 binary64))
x
#s(literal 2 binary64)
(+.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/12 binary64) (pow.f64 x #s(literal 2 binary64))))
#s(literal 1 binary64)
(*.f64 #s(literal 1/12 binary64) (pow.f64 x #s(literal 2 binary64)))
#s(literal 1/12 binary64)
(+.f64 #s(approx (- (exp x) 2) #s(literal -1 binary64)) (exp.f64 (neg.f64 x)))
#s(approx (- (exp x) 2) #s(literal -1 binary64))
#s(literal -1 binary64)
(exp.f64 (neg.f64 x))
(neg.f64 x)
#s(approx (+ (- (exp x) 2) (exp (neg x))) (pow.f64 x #s(literal 2 binary64)))
(+.f64 (-.f64 (exp.f64 x) #s(literal 2 binary64)) #s(approx (exp (neg x)) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) x))))
(-.f64 (exp.f64 x) #s(literal 2 binary64))
(exp.f64 x)
#s(approx (exp (neg x)) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) x)))
(+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) x))
(*.f64 #s(literal -1 binary64) x)
(+.f64 (-.f64 (expm1.f64 x) #s(literal 1 binary64)) (exp.f64 (neg.f64 x)))
(-.f64 (expm1.f64 x) #s(literal 1 binary64))
(expm1.f64 x)
Outputs
#s(approx (+ (- (exp x) 2) (exp (neg x))) (*.f64 (*.f64 (fma.f64 #s(literal 1/12 binary64) (*.f64 x x) #s(literal 1 binary64)) x) x))
(*.f64 (*.f64 (fma.f64 #s(literal 1/12 binary64) (*.f64 x x) #s(literal 1 binary64)) x) x)
(*.f64 (*.f64 (*.f64 (fma.f64 #s(literal 1/12 binary64) (*.f64 x x) #s(literal 1 binary64)) x) x) #s(literal 1 binary64))
(*.f64 (fma.f64 #s(literal 1/12 binary64) (*.f64 x x) #s(literal 1 binary64)) (*.f64 x x))
(*.f64 (*.f64 x x) (fma.f64 #s(literal 1/12 binary64) (*.f64 x x) #s(literal 1 binary64)))
(*.f64 x (*.f64 x (fma.f64 #s(literal 1/12 binary64) (*.f64 x x) #s(literal 1 binary64))))
(fma.f64 (*.f64 (*.f64 #s(literal 1/12 binary64) (*.f64 x x)) x) x (*.f64 x x))
(fma.f64 (*.f64 (neg.f64 x) x) #s(literal -1 binary64) (*.f64 (*.f64 (*.f64 #s(literal 1/12 binary64) (*.f64 x x)) x) x))
(fma.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal 1/12 binary64) (*.f64 x x))
(fma.f64 (fabs.f64 (neg.f64 x)) (fabs.f64 (neg.f64 x)) (*.f64 (*.f64 (*.f64 #s(literal 1/12 binary64) (*.f64 x x)) x) x))
(fma.f64 (fabs.f64 x) (fabs.f64 x) (*.f64 (*.f64 (*.f64 #s(literal 1/12 binary64) (*.f64 x x)) x) x))
(fma.f64 (neg.f64 x) (neg.f64 x) (*.f64 (*.f64 (*.f64 #s(literal 1/12 binary64) (*.f64 x x)) x) x))
(fma.f64 #s(literal -1 binary64) (*.f64 x (neg.f64 x)) (*.f64 (*.f64 (*.f64 #s(literal 1/12 binary64) (*.f64 x x)) x) x))
(fma.f64 (*.f64 #s(literal 1/12 binary64) (*.f64 x x)) (*.f64 x x) (*.f64 x x))
(fma.f64 #s(literal 1/12 binary64) (*.f64 (*.f64 x x) (*.f64 x x)) (*.f64 x x))
(fma.f64 #s(literal 1 binary64) (*.f64 x x) (*.f64 (*.f64 (*.f64 #s(literal 1/12 binary64) (*.f64 x x)) x) x))
(fma.f64 (*.f64 x x) (*.f64 #s(literal 1/12 binary64) (*.f64 x x)) (*.f64 x x))
(fma.f64 (*.f64 x x) #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 #s(literal 1/12 binary64) (*.f64 x x)) x) x))
(fma.f64 x (*.f64 x (*.f64 #s(literal 1/12 binary64) (*.f64 x x))) (*.f64 x x))
(fma.f64 x x (*.f64 (*.f64 (*.f64 #s(literal 1/12 binary64) (*.f64 x x)) x) x))
(-.f64 (*.f64 x x) (*.f64 (neg.f64 (*.f64 x x)) (*.f64 #s(literal 1/12 binary64) (*.f64 x x))))
(-.f64 (*.f64 x x) (*.f64 (*.f64 #s(literal -1/12 binary64) (*.f64 x x)) (*.f64 x x)))
(-.f64 (*.f64 x x) (neg.f64 (*.f64 (*.f64 (*.f64 #s(literal 1/12 binary64) (*.f64 x x)) x) x)))
(+.f64 (*.f64 (*.f64 (*.f64 #s(literal 1/12 binary64) (*.f64 x x)) x) x) (*.f64 x x))
(+.f64 (*.f64 x x) (*.f64 (*.f64 (*.f64 #s(literal 1/12 binary64) (*.f64 x x)) x) x))
(*.f64 (*.f64 (neg.f64 x) x) #s(literal -1 binary64))
(*.f64 (fabs.f64 (neg.f64 x)) (fabs.f64 (neg.f64 x)))
(*.f64 (fabs.f64 x) (fabs.f64 x))
(*.f64 (neg.f64 x) (neg.f64 x))
(*.f64 #s(literal -1 binary64) (*.f64 x (neg.f64 x)))
(*.f64 #s(literal 1 binary64) (*.f64 x x))
(*.f64 (*.f64 x x) #s(literal 1 binary64))
(*.f64 x x)
(pow.f64 (neg.f64 x) #s(literal 2 binary64))
(pow.f64 x #s(literal 2 binary64))
(/.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 2 binary64))
(/.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 2 binary64))
(neg.f64 (*.f64 #s(literal -1 binary64) (*.f64 x x)))
(neg.f64 (*.f64 (neg.f64 x) x))
(neg.f64 (*.f64 (*.f64 x x) #s(literal -1 binary64)))
(neg.f64 (*.f64 x (neg.f64 x)))
(fabs.f64 (*.f64 x x))
x
#s(literal 2 binary64)
(*.f64 (fma.f64 #s(literal 1/12 binary64) (*.f64 x x) #s(literal 1 binary64)) #s(literal 1 binary64))
(*.f64 #s(literal 1 binary64) (fma.f64 #s(literal 1/12 binary64) (*.f64 x x) #s(literal 1 binary64)))
(/.f64 (*.f64 (fma.f64 #s(literal 1/12 binary64) (*.f64 x x) #s(literal 1 binary64)) #s(literal 2 binary64)) #s(literal 2 binary64))
(/.f64 (fma.f64 (*.f64 #s(literal 1/12 binary64) (*.f64 x x)) #s(literal 2 binary64) #s(literal 2 binary64)) #s(literal 2 binary64))
(neg.f64 (*.f64 (fma.f64 #s(literal 1/12 binary64) (*.f64 x x) #s(literal 1 binary64)) #s(literal -1 binary64)))
(neg.f64 (-.f64 (*.f64 #s(literal -1/12 binary64) (*.f64 x x)) #s(literal 1 binary64)))
(fma.f64 (*.f64 #s(literal 1/12 binary64) x) x #s(literal 1 binary64))
(fma.f64 (*.f64 #s(literal 1/12 binary64) (*.f64 x x)) #s(literal 1 binary64) #s(literal 1 binary64))
(fma.f64 #s(literal 1/12 binary64) (*.f64 x x) #s(literal 1 binary64))
(fma.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/12 binary64) (*.f64 x x)) #s(literal 1 binary64))
(fma.f64 (*.f64 x x) #s(literal 1/12 binary64) #s(literal 1 binary64))
(fma.f64 x (*.f64 x #s(literal 1/12 binary64)) #s(literal 1 binary64))
(-.f64 (*.f64 #s(literal 1/12 binary64) (*.f64 x x)) #s(literal -1 binary64))
(-.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/12 binary64) (*.f64 x x)))
(+.f64 (*.f64 #s(literal 1/12 binary64) (*.f64 x x)) #s(literal 1 binary64))
(+.f64 #s(literal 1 binary64) (neg.f64 (*.f64 #s(literal -1/12 binary64) (*.f64 x x))))
(+.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/12 binary64) (*.f64 x x)))
#s(literal 1 binary64)
(*.f64 (*.f64 #s(literal 1/12 binary64) x) x)
(*.f64 (*.f64 #s(literal 1/12 binary64) (*.f64 x x)) #s(literal 1 binary64))
(*.f64 #s(literal 1/12 binary64) (*.f64 x x))
(*.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/12 binary64) (*.f64 x x)))
(*.f64 (*.f64 x x) #s(literal 1/12 binary64))
(*.f64 x (*.f64 x #s(literal 1/12 binary64)))
(/.f64 (*.f64 #s(literal 2 binary64) (*.f64 #s(literal 1/12 binary64) (*.f64 x x))) #s(literal 2 binary64))
(neg.f64 (*.f64 #s(literal -1 binary64) (*.f64 #s(literal 1/12 binary64) (*.f64 x x))))
#s(literal 1/12 binary64)
(/.f64 (fma.f64 #s(approx (- (exp x) 2) #s(literal -1 binary64)) (exp.f64 x) #s(literal 1 binary64)) (exp.f64 x))
(neg.f64 (-.f64 (neg.f64 (exp.f64 (neg.f64 x))) #s(approx (- (exp x) 2) #s(literal -1 binary64))))
(fma.f64 #s(literal 1 binary64) (exp.f64 (neg.f64 x)) #s(approx (- (exp x) 2) #s(literal -1 binary64)))
(-.f64 (+.f64 #s(approx (- (exp x) 2) #s(literal -1 binary64)) (cosh.f64 x)) (sinh.f64 x))
(-.f64 (cosh.f64 x) (-.f64 (sinh.f64 x) #s(approx (- (exp x) 2) #s(literal -1 binary64))))
(-.f64 (exp.f64 (neg.f64 x)) (neg.f64 #s(approx (- (exp x) 2) #s(literal -1 binary64))))
(-.f64 #s(approx (- (exp x) 2) #s(literal -1 binary64)) (neg.f64 (exp.f64 (neg.f64 x))))
(+.f64 (+.f64 #s(approx (- (exp x) 2) #s(literal -1 binary64)) (cosh.f64 x)) (sinh.f64 (neg.f64 x)))
(+.f64 (cosh.f64 x) (+.f64 (sinh.f64 (neg.f64 x)) #s(approx (- (exp x) 2) #s(literal -1 binary64))))
(+.f64 (exp.f64 (neg.f64 x)) #s(approx (- (exp x) 2) #s(literal -1 binary64)))
(+.f64 #s(approx (- (exp x) 2) #s(literal -1 binary64)) (exp.f64 (neg.f64 x)))
#s(approx (- (exp x) 2) #s(literal -1 binary64))
#s(literal -1 binary64)
(*.f64 #s(literal 1 binary64) (exp.f64 (neg.f64 x)))
(pow.f64 (exp.f64 #s(literal -1 binary64)) x)
(pow.f64 (exp.f64 x) #s(literal -1 binary64))
(/.f64 #s(literal -1 binary64) (neg.f64 (exp.f64 x)))
(/.f64 #s(literal 1 binary64) (exp.f64 x))
(/.f64 #s(literal 2 binary64) (*.f64 (exp.f64 x) #s(literal 2 binary64)))
(neg.f64 (neg.f64 (exp.f64 (neg.f64 x))))
(sqrt.f64 (exp.f64 (*.f64 (neg.f64 x) #s(literal 2 binary64))))
(-.f64 (cosh.f64 x) (neg.f64 (sinh.f64 (neg.f64 x))))
(-.f64 (cosh.f64 x) (sinh.f64 x))
(fabs.f64 (neg.f64 (exp.f64 (neg.f64 x))))
(fabs.f64 (exp.f64 (neg.f64 x)))
(exp.f64 (-.f64 #s(literal 0 binary64) x))
(exp.f64 (neg.f64 x))
(+.f64 (sinh.f64 (neg.f64 x)) (cosh.f64 x))
(+.f64 (cosh.f64 x) (sinh.f64 (neg.f64 x)))
(*.f64 (neg.f64 x) #s(literal 1 binary64))
(*.f64 #s(literal -1 binary64) x)
(*.f64 #s(literal 1 binary64) (neg.f64 x))
(*.f64 x #s(literal -1 binary64))
(/.f64 (*.f64 #s(literal 2 binary64) (neg.f64 x)) #s(literal 2 binary64))
(neg.f64 x)
#s(approx (+ (- (exp x) 2) (exp (neg x))) (*.f64 x x))
(neg.f64 (-.f64 (neg.f64 #s(approx (exp (neg x)) (-.f64 #s(literal 1 binary64) x))) (-.f64 (expm1.f64 x) #s(literal 1 binary64))))
(neg.f64 (-.f64 (-.f64 #s(literal 2 binary64) #s(approx (exp (neg x)) (-.f64 #s(literal 1 binary64) x))) (exp.f64 x)))
(fma.f64 (expm1.f64 x) #s(literal 1 binary64) (+.f64 #s(literal -1 binary64) #s(approx (exp (neg x)) (-.f64 #s(literal 1 binary64) x))))
(fma.f64 (expm1.f64 x) #s(literal 1 binary64) (-.f64 #s(literal -1 binary64) (neg.f64 #s(approx (exp (neg x)) (-.f64 #s(literal 1 binary64) x)))))
(fma.f64 (exp.f64 x) #s(literal 1 binary64) (+.f64 #s(literal -2 binary64) #s(approx (exp (neg x)) (-.f64 #s(literal 1 binary64) x))))
(fma.f64 (exp.f64 x) #s(literal 1 binary64) (-.f64 #s(literal -2 binary64) (neg.f64 #s(approx (exp (neg x)) (-.f64 #s(literal 1 binary64) x)))))
(fma.f64 (exp.f64 x) #s(literal 1 binary64) (neg.f64 (-.f64 #s(literal 2 binary64) #s(approx (exp (neg x)) (-.f64 #s(literal 1 binary64) x)))))
(fma.f64 #s(literal 1 binary64) (expm1.f64 x) (+.f64 #s(literal -1 binary64) #s(approx (exp (neg x)) (-.f64 #s(literal 1 binary64) x))))
(fma.f64 #s(literal 1 binary64) (expm1.f64 x) (-.f64 #s(literal -1 binary64) (neg.f64 #s(approx (exp (neg x)) (-.f64 #s(literal 1 binary64) x)))))
(fma.f64 #s(literal 1 binary64) (exp.f64 x) (+.f64 #s(literal -2 binary64) #s(approx (exp (neg x)) (-.f64 #s(literal 1 binary64) x))))
(fma.f64 #s(literal 1 binary64) (exp.f64 x) (-.f64 #s(literal -2 binary64) (neg.f64 #s(approx (exp (neg x)) (-.f64 #s(literal 1 binary64) x)))))
(fma.f64 #s(literal 1 binary64) (exp.f64 x) (neg.f64 (-.f64 #s(literal 2 binary64) #s(approx (exp (neg x)) (-.f64 #s(literal 1 binary64) x)))))
(-.f64 (+.f64 #s(approx (exp (neg x)) (-.f64 #s(literal 1 binary64) x)) (expm1.f64 x)) #s(literal 1 binary64))
(-.f64 (+.f64 #s(approx (exp (neg x)) (-.f64 #s(literal 1 binary64) x)) (exp.f64 x)) #s(literal 2 binary64))
(-.f64 (expm1.f64 x) (-.f64 #s(literal 1 binary64) #s(approx (exp (neg x)) (-.f64 #s(literal 1 binary64) x))))
(-.f64 (expm1.f64 x) (+.f64 #s(literal 1 binary64) (neg.f64 #s(approx (exp (neg x)) (-.f64 #s(literal 1 binary64) x)))))
(-.f64 #s(approx (exp (neg x)) (-.f64 #s(literal 1 binary64) x)) (-.f64 #s(literal 1 binary64) (expm1.f64 x)))
(-.f64 (-.f64 (expm1.f64 x) #s(literal 1 binary64)) (neg.f64 #s(approx (exp (neg x)) (-.f64 #s(literal 1 binary64) x))))
(-.f64 (exp.f64 x) (-.f64 #s(literal 2 binary64) #s(approx (exp (neg x)) (-.f64 #s(literal 1 binary64) x))))
(+.f64 (+.f64 #s(approx (exp (neg x)) (-.f64 #s(literal 1 binary64) x)) (expm1.f64 x)) #s(literal -1 binary64))
(+.f64 (+.f64 #s(approx (exp (neg x)) (-.f64 #s(literal 1 binary64) x)) (exp.f64 x)) #s(literal -2 binary64))
(+.f64 (cosh.f64 x) (-.f64 (sinh.f64 x) (-.f64 #s(literal 2 binary64) #s(approx (exp (neg x)) (-.f64 #s(literal 1 binary64) x)))))
(+.f64 (expm1.f64 x) (+.f64 #s(literal -1 binary64) #s(approx (exp (neg x)) (-.f64 #s(literal 1 binary64) x))))
(+.f64 (expm1.f64 x) (-.f64 #s(literal -1 binary64) (neg.f64 #s(approx (exp (neg x)) (-.f64 #s(literal 1 binary64) x)))))
(+.f64 #s(approx (exp (neg x)) (-.f64 #s(literal 1 binary64) x)) (-.f64 (expm1.f64 x) #s(literal 1 binary64)))
(+.f64 (-.f64 (expm1.f64 x) #s(literal 1 binary64)) (neg.f64 (neg.f64 #s(approx (exp (neg x)) (-.f64 #s(literal 1 binary64) x)))))
(+.f64 (-.f64 (expm1.f64 x) #s(literal 1 binary64)) #s(approx (exp (neg x)) (-.f64 #s(literal 1 binary64) x)))
(+.f64 (exp.f64 x) (+.f64 #s(literal -2 binary64) #s(approx (exp (neg x)) (-.f64 #s(literal 1 binary64) x))))
(+.f64 (exp.f64 x) (-.f64 #s(literal -2 binary64) (neg.f64 #s(approx (exp (neg x)) (-.f64 #s(literal 1 binary64) x)))))
(+.f64 (exp.f64 x) (neg.f64 (-.f64 #s(literal 2 binary64) #s(approx (exp (neg x)) (-.f64 #s(literal 1 binary64) x)))))
(/.f64 (-.f64 (*.f64 (expm1.f64 x) #s(literal 2 binary64)) #s(literal 2 binary64)) #s(literal 2 binary64))
(neg.f64 (-.f64 #s(literal 1 binary64) (expm1.f64 x)))
(fma.f64 (expm1.f64 x) #s(literal 1 binary64) #s(literal -1 binary64))
(fma.f64 (exp.f64 x) #s(literal 1 binary64) #s(literal -2 binary64))
(fma.f64 #s(literal 1 binary64) (expm1.f64 x) #s(literal -1 binary64))
(fma.f64 #s(literal 1 binary64) (exp.f64 x) #s(literal -2 binary64))
(-.f64 (expm1.f64 x) #s(literal 1 binary64))
(-.f64 (exp.f64 x) #s(literal 2 binary64))
(+.f64 #s(literal -2 binary64) (exp.f64 x))
(+.f64 (cosh.f64 x) (+.f64 (sinh.f64 x) #s(literal -2 binary64)))
(+.f64 (cosh.f64 x) (-.f64 (sinh.f64 x) #s(literal 2 binary64)))
(+.f64 (expm1.f64 x) #s(literal -1 binary64))
(+.f64 (exp.f64 x) #s(literal -2 binary64))
(+.f64 #s(literal -1 binary64) (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))
(neg.f64 (*.f64 (exp.f64 x) #s(literal -1 binary64)))
(sqrt.f64 (exp.f64 (+.f64 x x)))
(-.f64 (cosh.f64 x) (sinh.f64 (neg.f64 x)))
(fabs.f64 (neg.f64 (exp.f64 x)))
(fabs.f64 (exp.f64 x))
(exp.f64 (+.f64 x #s(literal 0 binary64)))
(exp.f64 x)
(+.f64 (sinh.f64 x) (cosh.f64 x))
(+.f64 (cosh.f64 x) (sinh.f64 x))
#s(approx (exp (neg x)) (-.f64 #s(literal 1 binary64) x))
(*.f64 (-.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))
(*.f64 #s(literal 1 binary64) (-.f64 #s(literal 1 binary64) x))
(/.f64 (*.f64 (-.f64 #s(literal 1 binary64) x) #s(literal 2 binary64)) #s(literal 2 binary64))
(/.f64 (fma.f64 (neg.f64 x) #s(literal 2 binary64) #s(literal 2 binary64)) #s(literal 2 binary64))
(neg.f64 (*.f64 (-.f64 #s(literal 1 binary64) x) #s(literal -1 binary64)))
(neg.f64 (+.f64 x #s(literal -1 binary64)))
(neg.f64 (+.f64 #s(literal -1 binary64) x))
(neg.f64 (-.f64 x #s(literal 1 binary64)))
(fma.f64 (neg.f64 x) #s(literal 1 binary64) #s(literal 1 binary64))
(fma.f64 #s(literal -1 binary64) x #s(literal 1 binary64))
(fma.f64 #s(literal 1 binary64) (neg.f64 x) #s(literal 1 binary64))
(fma.f64 x #s(literal -1 binary64) #s(literal 1 binary64))
(-.f64 (neg.f64 x) #s(literal -1 binary64))
(-.f64 #s(literal 1 binary64) x)
(+.f64 (neg.f64 x) #s(literal 1 binary64))
(+.f64 #s(literal 1 binary64) (neg.f64 x))
(*.f64 (neg.f64 x) #s(literal 1 binary64))
(*.f64 #s(literal -1 binary64) x)
(*.f64 #s(literal 1 binary64) (neg.f64 x))
(*.f64 x #s(literal -1 binary64))
(/.f64 (*.f64 #s(literal 2 binary64) (neg.f64 x)) #s(literal 2 binary64))
(neg.f64 x)
(/.f64 (fma.f64 (-.f64 (expm1.f64 x) #s(literal 1 binary64)) (exp.f64 x) #s(literal 1 binary64)) (exp.f64 x))
(neg.f64 (-.f64 (neg.f64 (expm1.f64 (neg.f64 x))) (expm1.f64 x)))
(neg.f64 (-.f64 (neg.f64 (exp.f64 (neg.f64 x))) (-.f64 (expm1.f64 x) #s(literal 1 binary64))))
(neg.f64 (-.f64 (+.f64 #s(literal 1 binary64) (neg.f64 (expm1.f64 (neg.f64 x)))) (exp.f64 x)))
(fma.f64 (expm1.f64 x) #s(literal 1 binary64) (+.f64 #s(literal -1 binary64) (exp.f64 (neg.f64 x))))
(fma.f64 (expm1.f64 x) #s(literal 1 binary64) (-.f64 #s(literal -1 binary64) (neg.f64 (exp.f64 (neg.f64 x)))))
(fma.f64 (expm1.f64 x) #s(literal 1 binary64) (neg.f64 (neg.f64 (expm1.f64 (neg.f64 x)))))
(fma.f64 (exp.f64 x) #s(literal 1 binary64) (+.f64 #s(literal -2 binary64) (exp.f64 (neg.f64 x))))
(fma.f64 (exp.f64 x) #s(literal 1 binary64) (-.f64 #s(literal -1 binary64) (neg.f64 (expm1.f64 (neg.f64 x)))))
(fma.f64 (exp.f64 x) #s(literal 1 binary64) (-.f64 #s(literal -2 binary64) (neg.f64 (exp.f64 (neg.f64 x)))))
(fma.f64 (exp.f64 x) #s(literal 1 binary64) (neg.f64 (+.f64 #s(literal 1 binary64) (neg.f64 (expm1.f64 (neg.f64 x))))))
(fma.f64 #s(literal 1 binary64) (expm1.f64 x) (+.f64 #s(literal -1 binary64) (exp.f64 (neg.f64 x))))
(fma.f64 #s(literal 1 binary64) (expm1.f64 x) (-.f64 #s(literal -1 binary64) (neg.f64 (exp.f64 (neg.f64 x)))))
(fma.f64 #s(literal 1 binary64) (expm1.f64 x) (neg.f64 (neg.f64 (expm1.f64 (neg.f64 x)))))
(fma.f64 #s(literal 1 binary64) (exp.f64 x) (+.f64 #s(literal -2 binary64) (exp.f64 (neg.f64 x))))
(fma.f64 #s(literal 1 binary64) (exp.f64 x) (-.f64 #s(literal -1 binary64) (neg.f64 (expm1.f64 (neg.f64 x)))))
(fma.f64 #s(literal 1 binary64) (exp.f64 x) (-.f64 #s(literal -2 binary64) (neg.f64 (exp.f64 (neg.f64 x)))))
(fma.f64 #s(literal 1 binary64) (exp.f64 x) (neg.f64 (+.f64 #s(literal 1 binary64) (neg.f64 (expm1.f64 (neg.f64 x))))))
(fma.f64 #s(literal 1 binary64) (exp.f64 (neg.f64 x)) (-.f64 (expm1.f64 x) #s(literal 1 binary64)))
(-.f64 (+.f64 (-.f64 (expm1.f64 x) #s(literal 1 binary64)) (cosh.f64 x)) (sinh.f64 x))
(-.f64 (+.f64 (exp.f64 (neg.f64 x)) (expm1.f64 x)) #s(literal 1 binary64))
(-.f64 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) #s(literal 2 binary64))
(-.f64 (cosh.f64 x) (-.f64 (sinh.f64 x) (-.f64 (expm1.f64 x) #s(literal 1 binary64))))
(-.f64 (expm1.f64 x) (neg.f64 (expm1.f64 (neg.f64 x))))
(-.f64 (-.f64 (expm1.f64 x) #s(literal 1 binary64)) (neg.f64 (exp.f64 (neg.f64 x))))
(-.f64 (exp.f64 x) (+.f64 #s(literal 1 binary64) (neg.f64 (expm1.f64 (neg.f64 x)))))
(-.f64 (exp.f64 (neg.f64 x)) (-.f64 #s(literal 1 binary64) (expm1.f64 x)))
(+.f64 (+.f64 (-.f64 (expm1.f64 x) #s(literal 1 binary64)) (cosh.f64 x)) (sinh.f64 (neg.f64 x)))
(+.f64 (+.f64 (exp.f64 (neg.f64 x)) (expm1.f64 x)) #s(literal -1 binary64))
(+.f64 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) #s(literal -2 binary64))
(+.f64 (cosh.f64 x) (+.f64 (sinh.f64 (neg.f64 x)) (-.f64 (expm1.f64 x) #s(literal 1 binary64))))
(+.f64 (cosh.f64 x) (-.f64 (sinh.f64 x) (+.f64 #s(literal 1 binary64) (neg.f64 (expm1.f64 (neg.f64 x))))))
(+.f64 (expm1.f64 x) (+.f64 #s(literal -1 binary64) (exp.f64 (neg.f64 x))))
(+.f64 (expm1.f64 x) (-.f64 #s(literal -1 binary64) (neg.f64 (exp.f64 (neg.f64 x)))))
(+.f64 (expm1.f64 x) (neg.f64 (neg.f64 (expm1.f64 (neg.f64 x)))))
(+.f64 (-.f64 (expm1.f64 x) #s(literal 1 binary64)) (exp.f64 (neg.f64 x)))
(+.f64 (exp.f64 x) (+.f64 #s(literal -2 binary64) (exp.f64 (neg.f64 x))))
(+.f64 (exp.f64 x) (-.f64 #s(literal -1 binary64) (neg.f64 (expm1.f64 (neg.f64 x)))))
(+.f64 (exp.f64 x) (-.f64 #s(literal -2 binary64) (neg.f64 (exp.f64 (neg.f64 x)))))
(+.f64 (exp.f64 x) (neg.f64 (+.f64 #s(literal 1 binary64) (neg.f64 (expm1.f64 (neg.f64 x))))))
(+.f64 (exp.f64 (neg.f64 x)) (-.f64 (expm1.f64 x) #s(literal 1 binary64)))
(/.f64 (-.f64 (*.f64 (expm1.f64 x) #s(literal 2 binary64)) #s(literal 2 binary64)) #s(literal 2 binary64))
(neg.f64 (-.f64 #s(literal 1 binary64) (expm1.f64 x)))
(fma.f64 (expm1.f64 x) #s(literal 1 binary64) #s(literal -1 binary64))
(fma.f64 (exp.f64 x) #s(literal 1 binary64) #s(literal -2 binary64))
(fma.f64 #s(literal 1 binary64) (expm1.f64 x) #s(literal -1 binary64))
(fma.f64 #s(literal 1 binary64) (exp.f64 x) #s(literal -2 binary64))
(-.f64 (expm1.f64 x) #s(literal 1 binary64))
(-.f64 (exp.f64 x) #s(literal 2 binary64))
(+.f64 #s(literal -2 binary64) (exp.f64 x))
(+.f64 (cosh.f64 x) (+.f64 (sinh.f64 x) #s(literal -2 binary64)))
(+.f64 (cosh.f64 x) (-.f64 (sinh.f64 x) #s(literal 2 binary64)))
(+.f64 (expm1.f64 x) #s(literal -1 binary64))
(+.f64 (exp.f64 x) #s(literal -2 binary64))
(+.f64 #s(literal -1 binary64) (expm1.f64 x))
(*.f64 (expm1.f64 x) #s(literal 1 binary64))
(*.f64 #s(literal 1 binary64) (expm1.f64 x))
(/.f64 (*.f64 (expm1.f64 x) #s(literal 2 binary64)) #s(literal 2 binary64))
(/.f64 (-.f64 (*.f64 (exp.f64 x) #s(literal 2 binary64)) #s(literal 2 binary64)) #s(literal 2 binary64))
(neg.f64 (*.f64 (neg.f64 (expm1.f64 x)) #s(literal 1 binary64)))
(neg.f64 (*.f64 (expm1.f64 x) #s(literal -1 binary64)))
(neg.f64 (neg.f64 (expm1.f64 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 (exp.f64 x) #s(literal 1 binary64))
(+.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 (exp.f64 x) #s(literal -1 binary64))
(+.f64 #s(literal -1 binary64) (exp.f64 x))

eval23.0ms (0.8%)

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

Compiled 1 832 to 815 computations (55.5% saved)

prune8.0ms (0.3%)

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

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New2973300
Fresh000
Picked505
Done000
Total3023305
Accuracy
100.0%
Counts
305 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
52.8%
(-.f64 (expm1.f64 x) (neg.f64 (expm1.f64 (neg.f64 x))))
99.7%
#s(approx (+ (- (exp x) 2) (exp (neg x))) (*.f64 (fma.f64 #s(literal 1/12 binary64) (*.f64 x x) #s(literal 1 binary64)) (*.f64 x x)))
99.5%
#s(approx (+ (- (exp x) 2) (exp (neg x))) (*.f64 x x))
Compiler

Compiled 29 to 28 computations (3.4% saved)

series16.0ms (0.6%)

Memory
-48.6MiB live, 5.6MiB allocated; 6ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0127401
Stop Event
iter-limit
Counts
13 → 28
Calls
Call 1
Inputs
#s(approx (+ (- (exp x) 2) (exp (neg x))) (*.f64 x x))
(*.f64 x x)
x
#s(approx (+ (- (exp x) 2) (exp (neg x))) (*.f64 (fma.f64 #s(literal 1/12 binary64) (*.f64 x x) #s(literal 1 binary64)) (*.f64 x x)))
(*.f64 (fma.f64 #s(literal 1/12 binary64) (*.f64 x x) #s(literal 1 binary64)) (*.f64 x x))
(fma.f64 #s(literal 1/12 binary64) (*.f64 x x) #s(literal 1 binary64))
#s(literal 1/12 binary64)
#s(literal 1 binary64)
(-.f64 (expm1.f64 x) (neg.f64 (expm1.f64 (neg.f64 x))))
(expm1.f64 x)
(neg.f64 (expm1.f64 (neg.f64 x)))
(expm1.f64 (neg.f64 x))
(neg.f64 x)
Outputs
#s(approx (+ (- (exp x) 2) (exp (neg x))) (pow.f64 x #s(literal 2 binary64)))
#s(approx (+ (- (exp x) 2) (exp (neg x))) (*.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/12 binary64) (pow.f64 x #s(literal 2 binary64))))))
#s(approx (+ (- (exp x) 2) (exp (neg x))) (*.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 1 binary64) (*.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 1/12 binary64) (*.f64 #s(literal 1/360 binary64) (pow.f64 x #s(literal 2 binary64))))))))
#s(approx (+ (- (exp x) 2) (exp (neg x))) (*.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 1 binary64) (*.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 1/12 binary64) (*.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 1/360 binary64) (*.f64 #s(literal 1/20160 binary64) (pow.f64 x #s(literal 2 binary64))))))))))
#s(approx x x)
#s(approx (+ (* 1/12 (* x x)) 1) #s(literal 1 binary64))
#s(approx (+ (* 1/12 (* x x)) 1) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/12 binary64) (pow.f64 x #s(literal 2 binary64)))))
#s(approx (- (exp x) 1) (*.f64 x (+.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/2 binary64) x))))
#s(approx (- (exp x) 1) (*.f64 x (+.f64 #s(literal 1 binary64) (*.f64 x (+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal 1/6 binary64) x))))))
#s(approx (- (exp x) 1) (*.f64 x (+.f64 #s(literal 1 binary64) (*.f64 x (+.f64 #s(literal 1/2 binary64) (*.f64 x (+.f64 #s(literal 1/6 binary64) (*.f64 #s(literal 1/24 binary64) x))))))))
#s(approx (neg (- (exp (neg x)) 1)) (*.f64 x (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/2 binary64) x))))
#s(approx (neg (- (exp (neg x)) 1)) (*.f64 x (+.f64 #s(literal 1 binary64) (*.f64 x (-.f64 (*.f64 #s(literal 1/6 binary64) x) #s(literal 1/2 binary64))))))
#s(approx (neg (- (exp (neg x)) 1)) (*.f64 x (+.f64 #s(literal 1 binary64) (*.f64 x (-.f64 (*.f64 x (+.f64 #s(literal 1/6 binary64) (*.f64 #s(literal -1/24 binary64) x))) #s(literal 1/2 binary64))))))
#s(approx (- (exp (neg x)) 1) (*.f64 #s(literal -1 binary64) x))
#s(approx (- (exp (neg x)) 1) (*.f64 x (-.f64 (*.f64 #s(literal 1/2 binary64) x) #s(literal 1 binary64))))
#s(approx (- (exp (neg x)) 1) (*.f64 x (-.f64 (*.f64 x (+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal -1/6 binary64) x))) #s(literal 1 binary64))))
#s(approx (- (exp (neg x)) 1) (*.f64 x (-.f64 (*.f64 x (+.f64 #s(literal 1/2 binary64) (*.f64 x (-.f64 (*.f64 #s(literal 1/24 binary64) x) #s(literal 1/6 binary64))))) #s(literal 1 binary64))))
#s(approx (+ (- (exp x) 2) (exp (neg x))) (-.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) #s(literal 2 binary64)))
#s(approx (* (+ (* 1/12 (* x x)) 1) (* x x)) (*.f64 #s(literal 1/12 binary64) (pow.f64 x #s(literal 4 binary64))))
#s(approx (* (+ (* 1/12 (* x x)) 1) (* x x)) (*.f64 (pow.f64 x #s(literal 4 binary64)) (+.f64 #s(literal 1/12 binary64) (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 2 binary64))))))
#s(approx (+ (* 1/12 (* x x)) 1) (*.f64 #s(literal 1/12 binary64) (pow.f64 x #s(literal 2 binary64))))
#s(approx (+ (* 1/12 (* x x)) 1) (*.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 1/12 binary64) (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 2 binary64))))))
#s(approx (- (exp x) 1) (expm1.f64 x))
#s(approx (neg (- (exp (neg x)) 1)) (-.f64 #s(literal 1 binary64) (exp.f64 (neg.f64 x))))
#s(approx (- (exp (neg x)) 1) (expm1.f64 (neg.f64 x)))
#s(approx (+ (- (exp x) 2) (exp (neg x))) (-.f64 (+.f64 (exp.f64 x) (exp.f64 (*.f64 #s(literal -1 binary64) x))) #s(literal 2 binary64)))
#s(approx (neg (- (exp (neg x)) 1)) (-.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -1 binary64) x))))
#s(approx (- (exp (neg x)) 1) (expm1.f64 (*.f64 #s(literal -1 binary64) x)))
Calls

3 calls:

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

rewrite62.0ms (2.1%)

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

Useful iterations: 1 (0.0ms)

IterNodesCost
01971
02970
116566
0146466
1423266
Stop Event
saturated
iter-limit
node-limit
iter-limit
Counts
13 → 123
Calls
Call 1
Inputs
#s(approx (+ (- (exp x) 2) (exp (neg x))) (*.f64 x x))
(*.f64 x x)
x
#s(approx (+ (- (exp x) 2) (exp (neg x))) (*.f64 (fma.f64 #s(literal 1/12 binary64) (*.f64 x x) #s(literal 1 binary64)) (*.f64 x x)))
(*.f64 (fma.f64 #s(literal 1/12 binary64) (*.f64 x x) #s(literal 1 binary64)) (*.f64 x x))
(fma.f64 #s(literal 1/12 binary64) (*.f64 x x) #s(literal 1 binary64))
#s(literal 1/12 binary64)
#s(literal 1 binary64)
(-.f64 (expm1.f64 x) (neg.f64 (expm1.f64 (neg.f64 x))))
(expm1.f64 x)
(neg.f64 (expm1.f64 (neg.f64 x)))
(expm1.f64 (neg.f64 x))
(neg.f64 x)
Outputs
#s(approx (+ (- (exp x) 2) (exp (neg x))) (*.f64 x x))
(*.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)))
(*.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)))
(*.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)))
(*.f64 (fabs.f64 x) (fabs.f64 x))
(*.f64 (neg.f64 x) (neg.f64 x))
(*.f64 x x)
(pow.f64 (fabs.f64 x) #s(literal 2 binary64))
(pow.f64 (neg.f64 x) #s(literal 2 binary64))
(pow.f64 x #s(literal 2 binary64))
(neg.f64 (*.f64 x (neg.f64 x)))
(neg.f64 (*.f64 (neg.f64 x) x))
(fabs.f64 (*.f64 x x))
x
#s(approx (+ (- (exp x) 2) (exp (neg x))) (*.f64 (*.f64 (fma.f64 #s(literal 1/12 binary64) (*.f64 x x) #s(literal 1 binary64)) x) x))
(*.f64 (*.f64 (fma.f64 #s(literal 1/12 binary64) (*.f64 x x) #s(literal 1 binary64)) (fabs.f64 x)) (fabs.f64 x))
(*.f64 (*.f64 (fma.f64 #s(literal 1/12 binary64) (*.f64 x x) #s(literal 1 binary64)) (neg.f64 x)) (neg.f64 x))
(*.f64 (*.f64 (fma.f64 #s(literal 1/12 binary64) (*.f64 x x) #s(literal 1 binary64)) x) x)
(*.f64 (fabs.f64 x) (*.f64 (fabs.f64 x) (fma.f64 #s(literal 1/12 binary64) (*.f64 x x) #s(literal 1 binary64))))
(*.f64 (neg.f64 x) (*.f64 (neg.f64 x) (fma.f64 #s(literal 1/12 binary64) (*.f64 x x) #s(literal 1 binary64))))
(*.f64 (fma.f64 #s(literal 1/12 binary64) (*.f64 x x) #s(literal 1 binary64)) (*.f64 x x))
(*.f64 (*.f64 x x) (fma.f64 #s(literal 1/12 binary64) (*.f64 x x) #s(literal 1 binary64)))
(*.f64 x (*.f64 (fma.f64 #s(literal 1/12 binary64) (*.f64 x x) #s(literal 1 binary64)) x))
(fma.f64 (*.f64 #s(literal 1/12 binary64) (*.f64 x x)) (*.f64 x x) (*.f64 #s(literal 1 binary64) (*.f64 x x)))
(fma.f64 #s(literal 1 binary64) (*.f64 x x) (*.f64 (*.f64 #s(literal 1/12 binary64) (*.f64 x x)) (*.f64 x x)))
(fma.f64 (*.f64 x x) (*.f64 #s(literal 1/12 binary64) (*.f64 x x)) (*.f64 (*.f64 x x) #s(literal 1 binary64)))
(fma.f64 (*.f64 x x) #s(literal 1 binary64) (*.f64 (*.f64 x x) (*.f64 #s(literal 1/12 binary64) (*.f64 x x))))
(+.f64 (*.f64 (*.f64 x x) (*.f64 #s(literal 1/12 binary64) (*.f64 x x))) (*.f64 (*.f64 x x) #s(literal 1 binary64)))
(+.f64 (*.f64 (*.f64 x x) #s(literal 1 binary64)) (*.f64 (*.f64 x x) (*.f64 #s(literal 1/12 binary64) (*.f64 x x))))
(+.f64 (*.f64 (*.f64 #s(literal 1/12 binary64) (*.f64 x x)) (*.f64 x x)) (*.f64 #s(literal 1 binary64) (*.f64 x x)))
(+.f64 (*.f64 #s(literal 1 binary64) (*.f64 x x)) (*.f64 (*.f64 #s(literal 1/12 binary64) (*.f64 x x)) (*.f64 x x)))
(neg.f64 (-.f64 #s(literal -1 binary64) (*.f64 #s(literal 1/12 binary64) (*.f64 x x))))
(fma.f64 (*.f64 #s(literal 1/12 binary64) (fabs.f64 x)) (fabs.f64 x) #s(literal 1 binary64))
(fma.f64 (*.f64 #s(literal 1/12 binary64) (neg.f64 x)) (neg.f64 x) #s(literal 1 binary64))
(fma.f64 (*.f64 #s(literal 1/12 binary64) x) (*.f64 x #s(literal 1 binary64)) #s(literal 1 binary64))
(fma.f64 (*.f64 #s(literal 1/12 binary64) x) x #s(literal 1 binary64))
(fma.f64 (fabs.f64 x) (*.f64 (fabs.f64 x) #s(literal 1/12 binary64)) #s(literal 1 binary64))
(fma.f64 (*.f64 #s(literal 1/12 binary64) (*.f64 x x)) #s(literal 1 binary64) #s(literal 1 binary64))
(fma.f64 (neg.f64 x) (*.f64 (neg.f64 x) #s(literal 1/12 binary64)) #s(literal 1 binary64))
(fma.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/12 binary64) (*.f64 x x)) #s(literal 1 binary64))
(fma.f64 #s(literal 1/12 binary64) (*.f64 (*.f64 x x) #s(literal 1 binary64)) #s(literal 1 binary64))
(fma.f64 #s(literal 1/12 binary64) (*.f64 x x) #s(literal 1 binary64))
(fma.f64 (*.f64 x x) #s(literal 1/12 binary64) #s(literal 1 binary64))
(fma.f64 x (*.f64 #s(literal 1/12 binary64) x) #s(literal 1 binary64))
(-.f64 (*.f64 #s(literal 1/12 binary64) (*.f64 x x)) #s(literal -1 binary64))
(-.f64 #s(literal 1 binary64) (*.f64 (neg.f64 (*.f64 #s(literal 1/12 binary64) x)) x))
(-.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/12 binary64) (*.f64 x x)))
(-.f64 #s(literal 1 binary64) (*.f64 (neg.f64 (*.f64 x x)) #s(literal 1/12 binary64)))
(-.f64 #s(literal 1 binary64) (neg.f64 (*.f64 #s(literal 1/12 binary64) (*.f64 x x))))
(+.f64 (*.f64 #s(literal 1/12 binary64) (*.f64 x x)) #s(literal 1 binary64))
(+.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/12 binary64) (*.f64 x x)))
#s(literal 1/12 binary64)
#s(literal 1 binary64)
(/.f64 (fma.f64 (-.f64 (expm1.f64 x) #s(literal 1 binary64)) (exp.f64 x) #s(literal 1 binary64)) (exp.f64 x))
(neg.f64 (+.f64 (neg.f64 (expm1.f64 x)) (neg.f64 (expm1.f64 (neg.f64 x)))))
(neg.f64 (-.f64 (neg.f64 (exp.f64 (neg.f64 x))) (-.f64 (expm1.f64 x) #s(literal 1 binary64))))
(neg.f64 (-.f64 (-.f64 #s(literal 1 binary64) (expm1.f64 (neg.f64 x))) (exp.f64 x)))
(neg.f64 (-.f64 (neg.f64 (expm1.f64 (neg.f64 x))) (expm1.f64 x)))
(fma.f64 (exp.f64 (neg.f64 x)) #s(literal 1 binary64) (-.f64 (expm1.f64 x) #s(literal 1 binary64)))
(fma.f64 #s(literal 1 binary64) (exp.f64 (neg.f64 x)) (-.f64 (expm1.f64 x) #s(literal 1 binary64)))
(fma.f64 #s(literal 1 binary64) (exp.f64 x) (+.f64 #s(literal -1 binary64) (expm1.f64 (neg.f64 x))))
(fma.f64 #s(literal 1 binary64) (exp.f64 x) (+.f64 #s(literal -2 binary64) (exp.f64 (neg.f64 x))))
(fma.f64 #s(literal 1 binary64) (exp.f64 x) (-.f64 #s(literal -2 binary64) (neg.f64 (exp.f64 (neg.f64 x)))))
(fma.f64 #s(literal 1 binary64) (exp.f64 x) (-.f64 #s(literal -1 binary64) (neg.f64 (expm1.f64 (neg.f64 x)))))
(fma.f64 #s(literal 1 binary64) (exp.f64 x) (neg.f64 (-.f64 #s(literal 1 binary64) (expm1.f64 (neg.f64 x)))))
(fma.f64 (exp.f64 x) #s(literal 1 binary64) (+.f64 #s(literal -1 binary64) (expm1.f64 (neg.f64 x))))
(fma.f64 (exp.f64 x) #s(literal 1 binary64) (+.f64 #s(literal -2 binary64) (exp.f64 (neg.f64 x))))
(fma.f64 (exp.f64 x) #s(literal 1 binary64) (-.f64 #s(literal -2 binary64) (neg.f64 (exp.f64 (neg.f64 x)))))
(fma.f64 (exp.f64 x) #s(literal 1 binary64) (-.f64 #s(literal -1 binary64) (neg.f64 (expm1.f64 (neg.f64 x)))))
(fma.f64 (exp.f64 x) #s(literal 1 binary64) (neg.f64 (-.f64 #s(literal 1 binary64) (expm1.f64 (neg.f64 x)))))
(-.f64 (+.f64 (expm1.f64 x) (exp.f64 (neg.f64 x))) #s(literal 1 binary64))
(-.f64 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) #s(literal 2 binary64))
(-.f64 (+.f64 (-.f64 (expm1.f64 x) #s(literal 1 binary64)) (cosh.f64 x)) (sinh.f64 x))
(-.f64 (cosh.f64 x) (-.f64 (sinh.f64 x) (-.f64 (expm1.f64 x) #s(literal 1 binary64))))
(-.f64 (exp.f64 (neg.f64 x)) (neg.f64 (-.f64 (expm1.f64 x) #s(literal 1 binary64))))
(-.f64 (expm1.f64 x) (neg.f64 (expm1.f64 (neg.f64 x))))
(-.f64 (-.f64 (expm1.f64 x) #s(literal 1 binary64)) (neg.f64 (exp.f64 (neg.f64 x))))
(-.f64 (exp.f64 x) (-.f64 #s(literal 1 binary64) (expm1.f64 (neg.f64 x))))
(+.f64 (+.f64 (expm1.f64 x) (exp.f64 (neg.f64 x))) #s(literal -1 binary64))
(+.f64 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) #s(literal -2 binary64))
(+.f64 (+.f64 (-.f64 (expm1.f64 x) #s(literal 1 binary64)) (cosh.f64 x)) (sinh.f64 (neg.f64 x)))
(+.f64 (cosh.f64 x) (+.f64 (sinh.f64 (neg.f64 x)) (-.f64 (expm1.f64 x) #s(literal 1 binary64))))
(+.f64 (cosh.f64 x) (-.f64 (sinh.f64 x) (-.f64 #s(literal 1 binary64) (expm1.f64 (neg.f64 x)))))
(+.f64 (exp.f64 (neg.f64 x)) (-.f64 (expm1.f64 x) #s(literal 1 binary64)))
(+.f64 (expm1.f64 (neg.f64 x)) (expm1.f64 x))
(+.f64 (expm1.f64 x) (expm1.f64 (neg.f64 x)))
(+.f64 (-.f64 (expm1.f64 x) #s(literal 1 binary64)) (exp.f64 (neg.f64 x)))
(+.f64 (exp.f64 x) (+.f64 #s(literal -1 binary64) (expm1.f64 (neg.f64 x))))
(+.f64 (exp.f64 x) (+.f64 #s(literal -2 binary64) (exp.f64 (neg.f64 x))))
(+.f64 (exp.f64 x) (-.f64 #s(literal -2 binary64) (neg.f64 (exp.f64 (neg.f64 x)))))
(+.f64 (exp.f64 x) (-.f64 #s(literal -1 binary64) (neg.f64 (expm1.f64 (neg.f64 x)))))
(+.f64 (exp.f64 x) (neg.f64 (-.f64 #s(literal 1 binary64) (expm1.f64 (neg.f64 x)))))
(neg.f64 (neg.f64 (expm1.f64 x)))
(fma.f64 #s(literal 1 binary64) (exp.f64 x) #s(literal -1 binary64))
(fma.f64 (exp.f64 x) #s(literal 1 binary64) #s(literal -1 binary64))
(expm1.f64 (+.f64 x #s(literal 0 binary64)))
(expm1.f64 x)
(-.f64 (exp.f64 x) #s(literal 1 binary64))
(+.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 (exp.f64 x) #s(literal -1 binary64))
(/.f64 (expm1.f64 x) (exp.f64 x))
(neg.f64 (expm1.f64 (neg.f64 x)))
(-.f64 (-.f64 #s(literal 1 binary64) (cosh.f64 x)) (sinh.f64 (neg.f64 x)))
(-.f64 #s(literal 1 binary64) (exp.f64 (neg.f64 x)))
(+.f64 (-.f64 #s(literal 1 binary64) (cosh.f64 x)) (sinh.f64 x))
(+.f64 (neg.f64 (exp.f64 (neg.f64 x))) #s(literal 1 binary64))
(+.f64 #s(literal 1 binary64) (neg.f64 (exp.f64 (neg.f64 x))))
(neg.f64 (neg.f64 (expm1.f64 (neg.f64 x))))
(fma.f64 (exp.f64 (neg.f64 x)) #s(literal 1 binary64) #s(literal -1 binary64))
(fma.f64 #s(literal 1 binary64) (exp.f64 (neg.f64 x)) #s(literal -1 binary64))
(expm1.f64 (+.f64 (neg.f64 x) #s(literal 0 binary64)))
(expm1.f64 (-.f64 #s(literal 0 binary64) x))
(expm1.f64 (neg.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 (exp.f64 (neg.f64 x)) #s(literal 1 binary64))
(+.f64 #s(literal -1 binary64) (exp.f64 (neg.f64 x)))
(+.f64 (cosh.f64 x) (+.f64 (sinh.f64 (neg.f64 x)) #s(literal -1 binary64)))
(+.f64 (cosh.f64 x) (-.f64 (sinh.f64 (neg.f64 x)) #s(literal 1 binary64)))
(+.f64 (exp.f64 (neg.f64 x)) #s(literal -1 binary64))
(neg.f64 x)

eval13.0ms (0.4%)

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

Compiled 1 020 to 488 computations (52.2% saved)

prune5.0ms (0.2%)

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

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1502152
Fresh000
Picked123
Done000
Total1514155
Accuracy
100.0%
Counts
155 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
51.0%
(-.f64 (expm1.f64 x) (neg.f64 #s(approx (- (exp (neg x)) 1) (*.f64 #s(literal -1 binary64) x))))
52.8%
(+.f64 (expm1.f64 (neg.f64 x)) (expm1.f64 x))
99.7%
#s(approx (+ (- (exp x) 2) (exp (neg x))) (*.f64 (fma.f64 #s(literal 1/12 binary64) (*.f64 x x) #s(literal 1 binary64)) (*.f64 x x)))
99.5%
#s(approx (+ (- (exp x) 2) (exp (neg x))) (*.f64 x x))
Compiler

Compiled 39 to 38 computations (2.6% saved)

series5.0ms (0.2%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0109299
Stop Event
iter-limit
Counts
10 → 22
Calls
Call 1
Inputs
(+.f64 (expm1.f64 (neg.f64 x)) (expm1.f64 x))
(expm1.f64 (neg.f64 x))
(neg.f64 x)
x
(expm1.f64 x)
(-.f64 (expm1.f64 x) (neg.f64 #s(approx (- (exp (neg x)) 1) (*.f64 #s(literal -1 binary64) x))))
(neg.f64 #s(approx (- (exp (neg x)) 1) (*.f64 #s(literal -1 binary64) x)))
#s(approx (- (exp (neg x)) 1) (*.f64 #s(literal -1 binary64) x))
(*.f64 #s(literal -1 binary64) x)
#s(literal -1 binary64)
Outputs
#s(approx (+ (- (exp (neg x)) 1) (- (exp x) 1)) (pow.f64 x #s(literal 2 binary64)))
#s(approx (+ (- (exp (neg x)) 1) (- (exp x) 1)) (*.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/12 binary64) (pow.f64 x #s(literal 2 binary64))))))
#s(approx (+ (- (exp (neg x)) 1) (- (exp x) 1)) (*.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 1 binary64) (*.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 1/12 binary64) (*.f64 #s(literal 1/360 binary64) (pow.f64 x #s(literal 2 binary64))))))))
#s(approx (+ (- (exp (neg x)) 1) (- (exp x) 1)) (*.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 1 binary64) (*.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 1/12 binary64) (*.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 1/360 binary64) (*.f64 #s(literal 1/20160 binary64) (pow.f64 x #s(literal 2 binary64))))))))))
#s(approx (- (exp (neg x)) 1) (*.f64 #s(literal -1 binary64) x))
#s(approx (- (exp (neg x)) 1) (*.f64 x (-.f64 (*.f64 #s(literal 1/2 binary64) x) #s(literal 1 binary64))))
#s(approx (- (exp (neg x)) 1) (*.f64 x (-.f64 (*.f64 x (+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal -1/6 binary64) x))) #s(literal 1 binary64))))
#s(approx (- (exp (neg x)) 1) (*.f64 x (-.f64 (*.f64 x (+.f64 #s(literal 1/2 binary64) (*.f64 x (-.f64 (*.f64 #s(literal 1/24 binary64) x) #s(literal 1/6 binary64))))) #s(literal 1 binary64))))
#s(approx x x)
#s(approx (- (exp x) 1) (*.f64 x (+.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/2 binary64) x))))
#s(approx (- (exp x) 1) (*.f64 x (+.f64 #s(literal 1 binary64) (*.f64 x (+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal 1/6 binary64) x))))))
#s(approx (- (exp x) 1) (*.f64 x (+.f64 #s(literal 1 binary64) (*.f64 x (+.f64 #s(literal 1/2 binary64) (*.f64 x (+.f64 #s(literal 1/6 binary64) (*.f64 #s(literal 1/24 binary64) x))))))))
#s(approx (neg (- (exp (neg x)) 1)) (*.f64 x (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/2 binary64) x))))
#s(approx (neg (- (exp (neg x)) 1)) (*.f64 x (+.f64 #s(literal 1 binary64) (*.f64 x (-.f64 (*.f64 #s(literal 1/6 binary64) x) #s(literal 1/2 binary64))))))
#s(approx (neg (- (exp (neg x)) 1)) (*.f64 x (+.f64 #s(literal 1 binary64) (*.f64 x (-.f64 (*.f64 x (+.f64 #s(literal 1/6 binary64) (*.f64 #s(literal -1/24 binary64) x))) #s(literal 1/2 binary64))))))
#s(approx (+ (- (exp (neg x)) 1) (- (exp x) 1)) (-.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) #s(literal 2 binary64)))
#s(approx (- (exp (neg x)) 1) (expm1.f64 (neg.f64 x)))
#s(approx (- (exp x) 1) (expm1.f64 x))
#s(approx (neg (- (exp (neg x)) 1)) (-.f64 #s(literal 1 binary64) (exp.f64 (neg.f64 x))))
#s(approx (+ (- (exp (neg x)) 1) (- (exp x) 1)) (-.f64 (+.f64 (exp.f64 x) (exp.f64 (*.f64 #s(literal -1 binary64) x))) #s(literal 2 binary64)))
#s(approx (- (exp (neg x)) 1) (expm1.f64 (*.f64 #s(literal -1 binary64) x)))
#s(approx (neg (- (exp (neg x)) 1)) (-.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -1 binary64) x))))
Calls

3 calls:

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

rewrite59.0ms (2%)

Memory
-29.4MiB live, 17.3MiB allocated; 2ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01444
02339
111639
0104139
1301039
Stop Event
saturated
iter-limit
node-limit
iter-limit
Counts
10 → 84
Calls
Call 1
Inputs
(+.f64 (expm1.f64 (neg.f64 x)) (expm1.f64 x))
(expm1.f64 (neg.f64 x))
(neg.f64 x)
x
(expm1.f64 x)
(-.f64 (expm1.f64 x) (neg.f64 #s(approx (- (exp (neg x)) 1) (*.f64 #s(literal -1 binary64) x))))
(neg.f64 #s(approx (- (exp (neg x)) 1) (*.f64 #s(literal -1 binary64) x)))
#s(approx (- (exp (neg x)) 1) (*.f64 #s(literal -1 binary64) x))
(*.f64 #s(literal -1 binary64) x)
#s(literal -1 binary64)
Outputs
(neg.f64 (+.f64 (neg.f64 (expm1.f64 x)) (neg.f64 (expm1.f64 (neg.f64 x)))))
(neg.f64 (+.f64 (neg.f64 (expm1.f64 (neg.f64 x))) (neg.f64 (expm1.f64 x))))
(neg.f64 (-.f64 #s(literal 1 binary64) (+.f64 (exp.f64 x) (expm1.f64 (neg.f64 x)))))
(neg.f64 (-.f64 (-.f64 #s(literal 1 binary64) (expm1.f64 x)) (exp.f64 (neg.f64 x))))
(neg.f64 (-.f64 (neg.f64 (expm1.f64 x)) (expm1.f64 (neg.f64 x))))
(fma.f64 (exp.f64 x) #s(literal 1 binary64) (+.f64 #s(literal -1 binary64) (expm1.f64 (neg.f64 x))))
(fma.f64 (exp.f64 (neg.f64 x)) #s(literal 1 binary64) (+.f64 #s(literal -1 binary64) (expm1.f64 x)))
(fma.f64 (exp.f64 (neg.f64 x)) #s(literal 1 binary64) (-.f64 #s(literal -1 binary64) (neg.f64 (expm1.f64 x))))
(fma.f64 (exp.f64 (neg.f64 x)) #s(literal 1 binary64) (neg.f64 (-.f64 #s(literal 1 binary64) (expm1.f64 x))))
(fma.f64 #s(literal 1 binary64) (exp.f64 x) (+.f64 #s(literal -1 binary64) (expm1.f64 (neg.f64 x))))
(fma.f64 #s(literal 1 binary64) (exp.f64 (neg.f64 x)) (+.f64 #s(literal -1 binary64) (expm1.f64 x)))
(fma.f64 #s(literal 1 binary64) (exp.f64 (neg.f64 x)) (-.f64 #s(literal -1 binary64) (neg.f64 (expm1.f64 x))))
(fma.f64 #s(literal 1 binary64) (exp.f64 (neg.f64 x)) (neg.f64 (-.f64 #s(literal 1 binary64) (expm1.f64 x))))
(-.f64 (+.f64 (expm1.f64 x) (exp.f64 (neg.f64 x))) #s(literal 1 binary64))
(-.f64 (+.f64 (exp.f64 x) (expm1.f64 (neg.f64 x))) #s(literal 1 binary64))
(-.f64 (cosh.f64 x) (+.f64 (sinh.f64 x) (-.f64 #s(literal 1 binary64) (expm1.f64 x))))
(-.f64 (exp.f64 x) (-.f64 #s(literal 1 binary64) (expm1.f64 (neg.f64 x))))
(-.f64 (exp.f64 (neg.f64 x)) (-.f64 #s(literal 1 binary64) (expm1.f64 x)))
(-.f64 (expm1.f64 x) (neg.f64 (expm1.f64 (neg.f64 x))))
(-.f64 (expm1.f64 (neg.f64 x)) (neg.f64 (expm1.f64 x)))
(+.f64 (+.f64 (expm1.f64 x) (exp.f64 (neg.f64 x))) #s(literal -1 binary64))
(+.f64 (+.f64 (exp.f64 x) (expm1.f64 (neg.f64 x))) #s(literal -1 binary64))
(+.f64 (cosh.f64 x) (-.f64 (sinh.f64 (neg.f64 x)) (-.f64 #s(literal 1 binary64) (expm1.f64 x))))
(+.f64 (exp.f64 x) (+.f64 #s(literal -1 binary64) (expm1.f64 (neg.f64 x))))
(+.f64 (exp.f64 (neg.f64 x)) (+.f64 #s(literal -1 binary64) (expm1.f64 x)))
(+.f64 (exp.f64 (neg.f64 x)) (-.f64 #s(literal -1 binary64) (neg.f64 (expm1.f64 x))))
(+.f64 (exp.f64 (neg.f64 x)) (neg.f64 (-.f64 #s(literal 1 binary64) (expm1.f64 x))))
(+.f64 (expm1.f64 x) (expm1.f64 (neg.f64 x)))
(+.f64 (expm1.f64 (neg.f64 x)) (expm1.f64 x))
(neg.f64 (neg.f64 (expm1.f64 (neg.f64 x))))
(fma.f64 (exp.f64 (neg.f64 x)) #s(literal 1 binary64) #s(literal -1 binary64))
(fma.f64 #s(literal 1 binary64) (exp.f64 (neg.f64 x)) #s(literal -1 binary64))
(expm1.f64 (+.f64 (neg.f64 x) #s(literal 0 binary64)))
(expm1.f64 (-.f64 #s(literal 0 binary64) x))
(expm1.f64 (neg.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 (exp.f64 (neg.f64 x)) #s(literal 1 binary64))
(+.f64 (cosh.f64 x) (+.f64 (sinh.f64 (neg.f64 x)) #s(literal -1 binary64)))
(+.f64 (cosh.f64 x) (-.f64 (sinh.f64 (neg.f64 x)) #s(literal 1 binary64)))
(+.f64 (exp.f64 (neg.f64 x)) #s(literal -1 binary64))
(+.f64 #s(literal -1 binary64) (exp.f64 (neg.f64 x)))
(*.f64 #s(literal -1 binary64) x)
(*.f64 x #s(literal -1 binary64))
(neg.f64 (*.f64 #s(literal 1 binary64) x))
(neg.f64 (*.f64 x #s(literal 1 binary64)))
(neg.f64 x)
x
(neg.f64 (neg.f64 (expm1.f64 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 (exp.f64 x) #s(literal 1 binary64))
(+.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 (exp.f64 x) #s(literal -1 binary64))
(+.f64 #s(literal -1 binary64) (exp.f64 x))
(neg.f64 (+.f64 (neg.f64 (expm1.f64 x)) (neg.f64 #s(approx (- (exp (neg x)) 1) (neg.f64 x)))))
(neg.f64 (-.f64 (-.f64 #s(literal 1 binary64) #s(approx (- (exp (neg x)) 1) (neg.f64 x))) (exp.f64 x)))
(neg.f64 (-.f64 (neg.f64 #s(approx (- (exp (neg x)) 1) (neg.f64 x))) (expm1.f64 x)))
(fma.f64 (exp.f64 x) #s(literal 1 binary64) (+.f64 #s(literal -1 binary64) #s(approx (- (exp (neg x)) 1) (neg.f64 x))))
(fma.f64 (exp.f64 x) #s(literal 1 binary64) (-.f64 #s(literal -1 binary64) (neg.f64 #s(approx (- (exp (neg x)) 1) (neg.f64 x)))))
(fma.f64 (exp.f64 x) #s(literal 1 binary64) (neg.f64 (-.f64 #s(literal 1 binary64) #s(approx (- (exp (neg x)) 1) (neg.f64 x)))))
(fma.f64 #s(literal 1 binary64) (exp.f64 x) (+.f64 #s(literal -1 binary64) #s(approx (- (exp (neg x)) 1) (neg.f64 x))))
(fma.f64 #s(literal 1 binary64) (exp.f64 x) (-.f64 #s(literal -1 binary64) (neg.f64 #s(approx (- (exp (neg x)) 1) (neg.f64 x)))))
(fma.f64 #s(literal 1 binary64) (exp.f64 x) (neg.f64 (-.f64 #s(literal 1 binary64) #s(approx (- (exp (neg x)) 1) (neg.f64 x)))))
(-.f64 (exp.f64 x) (-.f64 #s(literal 1 binary64) #s(approx (- (exp (neg x)) 1) (neg.f64 x))))
(-.f64 (expm1.f64 x) (neg.f64 #s(approx (- (exp (neg x)) 1) (neg.f64 x))))
(+.f64 (cosh.f64 x) (-.f64 (sinh.f64 x) (-.f64 #s(literal 1 binary64) #s(approx (- (exp (neg x)) 1) (neg.f64 x)))))
(+.f64 (exp.f64 x) (+.f64 #s(literal -1 binary64) #s(approx (- (exp (neg x)) 1) (neg.f64 x))))
(+.f64 (exp.f64 x) (-.f64 #s(literal -1 binary64) (neg.f64 #s(approx (- (exp (neg x)) 1) (neg.f64 x)))))
(+.f64 (exp.f64 x) (neg.f64 (-.f64 #s(literal 1 binary64) #s(approx (- (exp (neg x)) 1) (neg.f64 x)))))
(+.f64 #s(approx (- (exp (neg x)) 1) (neg.f64 x)) (expm1.f64 x))
(+.f64 (expm1.f64 x) #s(approx (- (exp (neg x)) 1) (neg.f64 x)))
(neg.f64 #s(approx (- (exp (neg x)) 1) (neg.f64 x)))
#s(approx (- (exp (neg x)) 1) (neg.f64 x))
(neg.f64 (neg.f64 #s(approx (- (exp (neg x)) 1) (neg.f64 x))))
(*.f64 #s(literal -1 binary64) x)
(*.f64 x #s(literal -1 binary64))
(neg.f64 (*.f64 #s(literal 1 binary64) x))
(neg.f64 (*.f64 x #s(literal 1 binary64)))
(neg.f64 x)
#s(literal -1 binary64)

eval9.0ms (0.3%)

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

Compiled 736 to 294 computations (60.1% saved)

prune5.0ms (0.2%)

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

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1081109
Fresh000
Picked112
Done022
Total1094113
Accuracy
100.0%
Counts
113 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
52.8%
(+.f64 (expm1.f64 (neg.f64 x)) (expm1.f64 x))
51.0%
(+.f64 (expm1.f64 x) #s(approx (- (exp (neg x)) 1) (neg.f64 x)))
99.7%
#s(approx (+ (- (exp x) 2) (exp (neg x))) (*.f64 (fma.f64 #s(literal 1/12 binary64) (*.f64 x x) #s(literal 1 binary64)) (*.f64 x x)))
99.5%
#s(approx (+ (- (exp x) 2) (exp (neg x))) (*.f64 x x))
Compiler

Compiled 111 to 83 computations (25.2% saved)

regimes6.0ms (0.2%)

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

2 calls:

3.0ms
x
2.0ms
(+.f64 (-.f64 (exp.f64 x) #s(literal 2 binary64)) (exp.f64 (neg.f64 x)))
Results
AccuracySegmentsBranch
99.7%1(+.f64 (-.f64 (exp.f64 x) #s(literal 2 binary64)) (exp.f64 (neg.f64 x)))
99.7%1x
Compiler

Compiled 8 to 8 computations (0% saved)

regimes3.0ms (0.1%)

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

Total -31.7b remaining (-10556.3%)

Threshold costs -31.7b (-10556.3%)

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

2 calls:

2.0ms
x
1.0ms
(+.f64 (-.f64 (exp.f64 x) #s(literal 2 binary64)) (exp.f64 (neg.f64 x)))
Results
AccuracySegmentsBranch
99.5%1(+.f64 (-.f64 (exp.f64 x) #s(literal 2 binary64)) (exp.f64 (neg.f64 x)))
99.5%1x
Compiler

Compiled 8 to 8 computations (0% saved)

derivations11.0ms (0.4%)

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

Compiled 21 to 14 computations (33.3% saved)

preprocess23.0ms (0.8%)

Memory
-27.5MiB live, 19.1MiB allocated; 3ms collecting garbage
Remove

(abs x)

Compiler

Compiled 84 to 72 computations (14.3% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...