Hyperbolic sine

Time bar (total: 3.5s)

start0.0ms (0%)

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

analyze0.0ms (0%)

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

Compiled 10 to 9 computations (10% saved)

sample1.7s (49.9%)

Memory
44.5MiB live, 2 595.6MiB allocated; 512ms collecting garbage
Samples
713.0ms1 671×2valid
379.0ms2 361×1valid
226.0ms4 224×0valid
Precisions
Click to see histograms. Total time spent on operations: 1.1s
ival-exp: 786.0ms (71.3% of total)
ival-div!: 129.0ms (11.7% of total)
adjust: 83.0ms (7.5% of total)
ival-sub!: 57.0ms (5.2% of total)
ival-neg: 47.0ms (4.3% of total)
Bogosity

preprocess70.0ms (2%)

Memory
-43.0MiB live, 61.7MiB allocated; 23ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0127
1627
22607
350957
Stop Event
node-limit
Alt Table
Click to see full alt table
StatusAccuracyProgram
58.4%
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) #s(literal 2 binary64))
Symmetry

(negabs x)

Compiler

Compiled 16 to 14 computations (12.5% saved)

series7.0ms (0.2%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
098323
Stop Event
iter-limit
Counts
7 → 23
Calls
Call 1
Inputs
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) #s(literal 2 binary64))
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
(exp.f64 x)
x
(exp.f64 (neg.f64 x))
(neg.f64 x)
#s(literal 2 binary64)
Outputs
#s(approx (/ (- (exp x) (exp (neg x))) 2) x)
#s(approx (/ (- (exp x) (exp (neg x))) 2) (*.f64 x (+.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/6 binary64) (pow.f64 x #s(literal 2 binary64))))))
#s(approx (/ (- (exp x) (exp (neg x))) 2) (*.f64 x (+.f64 #s(literal 1 binary64) (*.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 1/6 binary64) (*.f64 #s(literal 1/120 binary64) (pow.f64 x #s(literal 2 binary64))))))))
#s(approx (/ (- (exp x) (exp (neg x))) 2) (*.f64 x (+.f64 #s(literal 1 binary64) (*.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 1/6 binary64) (*.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 1/120 binary64) (*.f64 #s(literal 1/5040 binary64) (pow.f64 x #s(literal 2 binary64))))))))))
#s(approx (- (exp x) (exp (neg x))) (*.f64 #s(literal 2 binary64) x))
#s(approx (- (exp x) (exp (neg x))) (*.f64 x (+.f64 #s(literal 2 binary64) (*.f64 #s(literal 1/3 binary64) (pow.f64 x #s(literal 2 binary64))))))
#s(approx (- (exp x) (exp (neg x))) (*.f64 x (+.f64 #s(literal 2 binary64) (*.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 1/3 binary64) (*.f64 #s(literal 1/60 binary64) (pow.f64 x #s(literal 2 binary64))))))))
#s(approx (- (exp x) (exp (neg x))) (*.f64 x (+.f64 #s(literal 2 binary64) (*.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 1/3 binary64) (*.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 1/60 binary64) (*.f64 #s(literal 1/2520 binary64) (pow.f64 x #s(literal 2 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 (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) (exp (neg x))) 2) (*.f64 #s(literal 1/2 binary64) (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))))
#s(approx (- (exp x) (exp (neg x))) (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
#s(approx (exp x) (exp.f64 x))
#s(approx (exp (neg x)) (exp.f64 (neg.f64 x)))
#s(approx (/ (- (exp x) (exp (neg x))) 2) (*.f64 #s(literal 1/2 binary64) (-.f64 (exp.f64 x) (exp.f64 (*.f64 #s(literal -1 binary64) x)))))
#s(approx (- (exp x) (exp (neg x))) (-.f64 (exp.f64 x) (exp.f64 (*.f64 #s(literal -1 binary64) x))))
#s(approx (exp (neg x)) (exp.f64 (*.f64 #s(literal -1 binary64) x)))
Calls

3 calls:

TimeVariablePoint
1.0ms
x
inf
1.0ms
x
-inf
1.0ms
x
0

rewrite59.0ms (1.7%)

Memory
19.8MiB live, 59.6MiB allocated; 15ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0723
01215
15715
054915
Stop Event
iter-limit
iter-limit
node-limit
iter-limit
Counts
7 → 128
Calls
Call 1
Inputs
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) #s(literal 2 binary64))
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
(exp.f64 x)
x
(exp.f64 (neg.f64 x))
(neg.f64 x)
#s(literal 2 binary64)
Outputs
(*.f64 (-.f64 #s(literal 1 binary64) (/.f64 (*.f64 (exp.f64 (neg.f64 x)) #s(literal 1/2 binary64)) (*.f64 (exp.f64 x) #s(literal 1/2 binary64)))) (*.f64 (exp.f64 x) #s(literal 1/2 binary64)))
(*.f64 #s(literal 1/2 binary64) (*.f64 (sinh.f64 x) #s(literal 2 binary64)))
(*.f64 (neg.f64 (expm1.f64 (-.f64 (neg.f64 x) x))) (*.f64 (exp.f64 x) #s(literal 1/2 binary64)))
(*.f64 (*.f64 #s(literal -2 binary64) (sinh.f64 x)) #s(literal -1/2 binary64))
(*.f64 #s(literal 1 binary64) (sinh.f64 x))
(*.f64 #s(literal 2 binary64) (*.f64 (sinh.f64 x) #s(literal 1/2 binary64)))
(*.f64 #s(literal 2 binary64) (/.f64 (sinh.f64 x) #s(literal 2 binary64)))
(*.f64 (*.f64 (sinh.f64 x) #s(literal 2 binary64)) #s(literal 1/2 binary64))
(pow.f64 (/.f64 #s(literal 1 binary64) (sinh.f64 x)) #s(literal -1 binary64))
(/.f64 (*.f64 (*.f64 (sinh.f64 x) #s(literal 2 binary64)) #s(literal 1 binary64)) #s(literal 2 binary64))
(/.f64 (*.f64 (-.f64 (exp.f64 (+.f64 x x)) (exp.f64 (-.f64 (neg.f64 x) x))) #s(literal 1/2 binary64)) (*.f64 #s(literal 2 binary64) (cosh.f64 x)))
(/.f64 (*.f64 (-.f64 (exp.f64 (*.f64 x #s(literal 3 binary64))) (exp.f64 (*.f64 (neg.f64 x) #s(literal 3 binary64)))) #s(literal 1/2 binary64)) (+.f64 (-.f64 (exp.f64 (-.f64 (neg.f64 x) x)) #s(literal -1 binary64)) (exp.f64 (+.f64 x x))))
(/.f64 (-.f64 (*.f64 (*.f64 (exp.f64 x) #s(literal 1/2 binary64)) #s(literal 2 binary64)) (exp.f64 (neg.f64 x))) #s(literal 2 binary64))
(/.f64 (-.f64 (*.f64 (*.f64 (exp.f64 x) #s(literal 1/2 binary64)) (*.f64 (exp.f64 x) #s(literal 1/2 binary64))) (*.f64 (*.f64 (exp.f64 (neg.f64 x)) #s(literal 1/2 binary64)) (*.f64 (exp.f64 (neg.f64 x)) #s(literal 1/2 binary64)))) (fma.f64 (exp.f64 x) #s(literal 1/2 binary64) (*.f64 (exp.f64 (neg.f64 x)) #s(literal 1/2 binary64))))
(/.f64 (-.f64 (pow.f64 (*.f64 (exp.f64 x) #s(literal 1/2 binary64)) #s(literal 3 binary64)) (pow.f64 (*.f64 (exp.f64 (neg.f64 x)) #s(literal 1/2 binary64)) #s(literal 3 binary64))) (fma.f64 (*.f64 (exp.f64 x) #s(literal 1/2 binary64)) (*.f64 (exp.f64 x) #s(literal 1/2 binary64)) (fma.f64 (*.f64 (exp.f64 (neg.f64 x)) #s(literal 1/2 binary64)) (*.f64 (exp.f64 (neg.f64 x)) #s(literal 1/2 binary64)) (*.f64 (*.f64 (exp.f64 x) #s(literal 1/2 binary64)) (*.f64 (exp.f64 (neg.f64 x)) #s(literal 1/2 binary64))))))
(/.f64 (-.f64 (*.f64 (exp.f64 x) #s(literal 2 binary64)) (*.f64 #s(literal 2 binary64) (exp.f64 (neg.f64 x)))) #s(literal 4 binary64))
(/.f64 (*.f64 (-.f64 (exp.f64 (+.f64 x x)) (exp.f64 (-.f64 (neg.f64 x) x))) #s(literal 1 binary64)) (*.f64 (*.f64 #s(literal 2 binary64) (cosh.f64 x)) #s(literal 2 binary64)))
(/.f64 (*.f64 (-.f64 (exp.f64 (*.f64 x #s(literal 3 binary64))) (exp.f64 (*.f64 (neg.f64 x) #s(literal 3 binary64)))) #s(literal 1 binary64)) (*.f64 (+.f64 (-.f64 (exp.f64 (-.f64 (neg.f64 x) x)) #s(literal -1 binary64)) (exp.f64 (+.f64 x x))) #s(literal 2 binary64)))
(/.f64 #s(literal -1 binary64) (neg.f64 (/.f64 #s(literal 1 binary64) (sinh.f64 x))))
(/.f64 (-.f64 (exp.f64 (+.f64 x x)) (exp.f64 (-.f64 (neg.f64 x) x))) (*.f64 (*.f64 #s(literal 2 binary64) (cosh.f64 x)) #s(literal 2 binary64)))
(/.f64 (-.f64 (exp.f64 (*.f64 x #s(literal 3 binary64))) (exp.f64 (*.f64 (neg.f64 x) #s(literal 3 binary64)))) (*.f64 (+.f64 (-.f64 (exp.f64 (-.f64 (neg.f64 x) x)) #s(literal -1 binary64)) (exp.f64 (+.f64 x x))) #s(literal 2 binary64)))
(/.f64 (*.f64 #s(literal -2 binary64) (sinh.f64 x)) #s(literal -2 binary64))
(/.f64 #s(literal 1 binary64) (/.f64 (/.f64 #s(literal 1 binary64) (sinh.f64 x)) #s(literal 1 binary64)))
(/.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (sinh.f64 x)))
(/.f64 (*.f64 (sinh.f64 x) #s(literal 2 binary64)) #s(literal 2 binary64))
(sinh.f64 x)
(neg.f64 (/.f64 (*.f64 (sinh.f64 x) #s(literal 2 binary64)) #s(literal -2 binary64)))
(neg.f64 (/.f64 (*.f64 #s(literal -2 binary64) (sinh.f64 x)) #s(literal 2 binary64)))
(neg.f64 (*.f64 (*.f64 #s(literal -2 binary64) (sinh.f64 x)) #s(literal 1/2 binary64)))
(neg.f64 (-.f64 (*.f64 (exp.f64 (neg.f64 x)) #s(literal 1/2 binary64)) (*.f64 (exp.f64 x) #s(literal 1/2 binary64))))
(fma.f64 (exp.f64 x) #s(literal 1/2 binary64) (neg.f64 (*.f64 (exp.f64 (neg.f64 x)) #s(literal 1/2 binary64))))
(fma.f64 (exp.f64 x) #s(literal 1/2 binary64) (/.f64 (neg.f64 (exp.f64 (neg.f64 x))) #s(literal 2 binary64)))
(-.f64 (*.f64 (exp.f64 x) #s(literal 1/2 binary64)) (*.f64 (exp.f64 (neg.f64 x)) #s(literal 1/2 binary64)))
(+.f64 (*.f64 (exp.f64 x) #s(literal 1/2 binary64)) (neg.f64 (*.f64 (exp.f64 (neg.f64 x)) #s(literal 1/2 binary64))))
(+.f64 (*.f64 (exp.f64 x) #s(literal 1/2 binary64)) (/.f64 (neg.f64 (exp.f64 (neg.f64 x))) #s(literal 2 binary64)))
(*.f64 (*.f64 #s(literal 2 binary64) (*.f64 (sinh.f64 x) #s(literal 2 binary64))) #s(literal 1/2 binary64))
(*.f64 (+.f64 #s(literal 1 binary64) (/.f64 (neg.f64 (exp.f64 (neg.f64 x))) (exp.f64 x))) (exp.f64 x))
(*.f64 (neg.f64 (expm1.f64 (-.f64 (neg.f64 x) x))) (exp.f64 x))
(*.f64 (-.f64 (exp.f64 (+.f64 x x)) (exp.f64 (-.f64 (neg.f64 x) x))) (/.f64 #s(literal 1 binary64) (*.f64 #s(literal 2 binary64) (cosh.f64 x))))
(*.f64 (-.f64 (exp.f64 (*.f64 x #s(literal 3 binary64))) (exp.f64 (*.f64 (neg.f64 x) #s(literal 3 binary64)))) (/.f64 #s(literal 1 binary64) (+.f64 (-.f64 (exp.f64 (-.f64 (neg.f64 x) x)) #s(literal -1 binary64)) (exp.f64 (+.f64 x x)))))
(*.f64 (sinh.f64 x) #s(literal 2 binary64))
(*.f64 #s(literal 2 binary64) (sinh.f64 x))
(*.f64 (exp.f64 x) (neg.f64 (expm1.f64 (-.f64 (neg.f64 x) x))))
(/.f64 (*.f64 #s(literal 2 binary64) (*.f64 #s(literal -2 binary64) (sinh.f64 x))) #s(literal -2 binary64))
(/.f64 (*.f64 #s(literal 2 binary64) (*.f64 (sinh.f64 x) #s(literal 2 binary64))) #s(literal 2 binary64))
(/.f64 (expm1.f64 (+.f64 x x)) (exp.f64 x))
(/.f64 (+.f64 (exp.f64 (*.f64 x #s(literal 3 binary64))) (pow.f64 (neg.f64 (exp.f64 (neg.f64 x))) #s(literal 3 binary64))) (+.f64 (exp.f64 (+.f64 x x)) (-.f64 (exp.f64 (-.f64 (neg.f64 x) x)) (*.f64 (exp.f64 x) (neg.f64 (exp.f64 (neg.f64 x)))))))
(/.f64 (neg.f64 (-.f64 (exp.f64 (+.f64 x x)) (exp.f64 (-.f64 (neg.f64 x) x)))) (neg.f64 (*.f64 #s(literal 2 binary64) (cosh.f64 x))))
(/.f64 (neg.f64 (-.f64 (exp.f64 (*.f64 x #s(literal 3 binary64))) (exp.f64 (*.f64 (neg.f64 x) #s(literal 3 binary64))))) (neg.f64 (+.f64 (-.f64 (exp.f64 (-.f64 (neg.f64 x) x)) #s(literal -1 binary64)) (exp.f64 (+.f64 x x)))))
(/.f64 (-.f64 (exp.f64 (+.f64 x x)) (exp.f64 (-.f64 (neg.f64 x) x))) (*.f64 #s(literal 2 binary64) (cosh.f64 x)))
(/.f64 (-.f64 (exp.f64 (*.f64 x #s(literal 3 binary64))) (exp.f64 (*.f64 (neg.f64 x) #s(literal 3 binary64)))) (+.f64 (-.f64 (exp.f64 (-.f64 (neg.f64 x) x)) #s(literal -1 binary64)) (exp.f64 (+.f64 x x))))
(/.f64 #s(literal 1 binary64) (/.f64 (*.f64 #s(literal 2 binary64) (cosh.f64 x)) (-.f64 (exp.f64 (+.f64 x x)) (exp.f64 (-.f64 (neg.f64 x) x)))))
(/.f64 #s(literal 1 binary64) (/.f64 (+.f64 (-.f64 (exp.f64 (-.f64 (neg.f64 x) x)) #s(literal -1 binary64)) (exp.f64 (+.f64 x x))) (-.f64 (exp.f64 (*.f64 x #s(literal 3 binary64))) (exp.f64 (*.f64 (neg.f64 x) #s(literal 3 binary64))))))
(/.f64 #s(literal 2 binary64) (/.f64 #s(literal 1 binary64) (sinh.f64 x)))
(neg.f64 (*.f64 #s(literal -2 binary64) (sinh.f64 x)))
(fma.f64 (+.f64 #s(literal 1 binary64) (/.f64 (sinh.f64 x) (cosh.f64 x))) (cosh.f64 x) (neg.f64 (exp.f64 (neg.f64 x))))
(fma.f64 (-.f64 #s(literal 1 binary64) (/.f64 (*.f64 (exp.f64 (neg.f64 x)) #s(literal 1/2 binary64)) (*.f64 (exp.f64 x) #s(literal 1/2 binary64)))) (*.f64 (exp.f64 x) #s(literal 1/2 binary64)) (sinh.f64 x))
(fma.f64 #s(literal 1/2 binary64) (*.f64 (sinh.f64 x) #s(literal 2 binary64)) (sinh.f64 x))
(fma.f64 (neg.f64 (expm1.f64 (-.f64 (neg.f64 x) x))) (*.f64 (exp.f64 x) #s(literal 1/2 binary64)) (sinh.f64 x))
(fma.f64 (neg.f64 (expm1.f64 (-.f64 (neg.f64 x) x))) (cosh.f64 x) (*.f64 (neg.f64 (expm1.f64 (-.f64 (neg.f64 x) x))) (sinh.f64 x)))
(fma.f64 (*.f64 #s(literal -2 binary64) (sinh.f64 x)) #s(literal -1/2 binary64) (sinh.f64 x))
(fma.f64 #s(literal 1 binary64) (sinh.f64 x) (sinh.f64 x))
(fma.f64 (cosh.f64 x) (neg.f64 (expm1.f64 (-.f64 (neg.f64 x) x))) (*.f64 (sinh.f64 x) (neg.f64 (expm1.f64 (-.f64 (neg.f64 x) x)))))
(fma.f64 #s(literal 2 binary64) (*.f64 (sinh.f64 x) #s(literal 1/2 binary64)) (sinh.f64 x))
(fma.f64 #s(literal 2 binary64) (/.f64 (sinh.f64 x) #s(literal 2 binary64)) (sinh.f64 x))
(fma.f64 (*.f64 (sinh.f64 x) #s(literal 2 binary64)) #s(literal 1/2 binary64) (sinh.f64 x))
(-.f64 (-.f64 (exp.f64 x) (cosh.f64 x)) (sinh.f64 (neg.f64 x)))
(-.f64 (/.f64 (exp.f64 (+.f64 x x)) (*.f64 #s(literal 2 binary64) (cosh.f64 x))) (/.f64 (exp.f64 (-.f64 (neg.f64 x) x)) (*.f64 #s(literal 2 binary64) (cosh.f64 x))))
(-.f64 (/.f64 (exp.f64 (*.f64 x #s(literal 3 binary64))) (+.f64 (-.f64 (exp.f64 (-.f64 (neg.f64 x) x)) #s(literal -1 binary64)) (exp.f64 (+.f64 x x)))) (/.f64 (exp.f64 (*.f64 (neg.f64 x) #s(literal 3 binary64))) (+.f64 (-.f64 (exp.f64 (-.f64 (neg.f64 x) x)) #s(literal -1 binary64)) (exp.f64 (+.f64 x x)))))
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
(+.f64 (-.f64 (exp.f64 x) (cosh.f64 x)) (sinh.f64 x))
(+.f64 (*.f64 (neg.f64 (expm1.f64 (-.f64 (neg.f64 x) x))) (cosh.f64 x)) (*.f64 (neg.f64 (expm1.f64 (-.f64 (neg.f64 x) x))) (sinh.f64 x)))
(+.f64 (*.f64 (cosh.f64 x) (neg.f64 (expm1.f64 (-.f64 (neg.f64 x) x)))) (*.f64 (sinh.f64 x) (neg.f64 (expm1.f64 (-.f64 (neg.f64 x) x)))))
(+.f64 (neg.f64 (exp.f64 (neg.f64 x))) (exp.f64 x))
(+.f64 (cosh.f64 x) (+.f64 (sinh.f64 x) (neg.f64 (exp.f64 (neg.f64 x)))))
(+.f64 (cosh.f64 x) (-.f64 (sinh.f64 x) (exp.f64 (neg.f64 x))))
(+.f64 (sinh.f64 x) (sinh.f64 x))
(+.f64 (exp.f64 x) (neg.f64 (exp.f64 (neg.f64 x))))
(*.f64 (+.f64 #s(literal 1 binary64) (/.f64 (sinh.f64 x) (cosh.f64 x))) (cosh.f64 x))
(/.f64 (fma.f64 (cosh.f64 x) #s(literal -2 binary64) (*.f64 #s(literal -2 binary64) (sinh.f64 x))) #s(literal -2 binary64))
(/.f64 (fma.f64 (cosh.f64 x) (/.f64 #s(literal 1 binary64) (sinh.f64 x)) #s(literal 1 binary64)) (/.f64 #s(literal 1 binary64) (sinh.f64 x)))
(/.f64 (fma.f64 (cosh.f64 x) #s(literal 2 binary64) (*.f64 (sinh.f64 x) #s(literal 2 binary64))) #s(literal 2 binary64))
(/.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) (exp.f64 (neg.f64 x)))
(fma.f64 (-.f64 #s(literal 1 binary64) (/.f64 (*.f64 (exp.f64 (neg.f64 x)) #s(literal 1/2 binary64)) (*.f64 (exp.f64 x) #s(literal 1/2 binary64)))) (*.f64 (exp.f64 x) #s(literal 1/2 binary64)) (cosh.f64 x))
(fma.f64 #s(literal 1/2 binary64) (*.f64 (sinh.f64 x) #s(literal 2 binary64)) (cosh.f64 x))
(fma.f64 (neg.f64 (expm1.f64 (-.f64 (neg.f64 x) x))) (*.f64 (exp.f64 x) #s(literal 1/2 binary64)) (cosh.f64 x))
(fma.f64 (*.f64 #s(literal -2 binary64) (sinh.f64 x)) #s(literal -1/2 binary64) (cosh.f64 x))
(fma.f64 #s(literal 1 binary64) (sinh.f64 x) (cosh.f64 x))
(fma.f64 #s(literal 2 binary64) (*.f64 (sinh.f64 x) #s(literal 1/2 binary64)) (cosh.f64 x))
(fma.f64 #s(literal 2 binary64) (/.f64 (sinh.f64 x) #s(literal 2 binary64)) (cosh.f64 x))
(fma.f64 (*.f64 (sinh.f64 x) #s(literal 2 binary64)) #s(literal 1/2 binary64) (cosh.f64 x))
(sqrt.f64 (exp.f64 (+.f64 x x)))
(-.f64 (+.f64 (cosh.f64 x) (*.f64 (exp.f64 x) #s(literal 1/2 binary64))) (*.f64 (exp.f64 (neg.f64 x)) #s(literal 1/2 binary64)))
(-.f64 (cosh.f64 x) (*.f64 (*.f64 #s(literal -2 binary64) (sinh.f64 x)) #s(literal 1/2 binary64)))
(-.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 (cosh.f64 x) (sinh.f64 x))
(+.f64 (sinh.f64 x) (cosh.f64 x))
x
(*.f64 (+.f64 #s(literal 1 binary64) (/.f64 (sinh.f64 (neg.f64 x)) (cosh.f64 x))) (cosh.f64 x))
(*.f64 (-.f64 #s(literal 1 binary64) (/.f64 (sinh.f64 x) (cosh.f64 x))) (cosh.f64 x))
(*.f64 #s(literal 1 binary64) (exp.f64 (neg.f64 x)))
(pow.f64 (exp.f64 x) #s(literal -1 binary64))
(/.f64 (-.f64 (*.f64 (cosh.f64 x) #s(literal -2 binary64)) (*.f64 #s(literal -2 binary64) (sinh.f64 x))) #s(literal -2 binary64))
(/.f64 (-.f64 (*.f64 (cosh.f64 x) (/.f64 #s(literal 1 binary64) (sinh.f64 x))) #s(literal 1 binary64)) (/.f64 #s(literal 1 binary64) (sinh.f64 x)))
(/.f64 (-.f64 (*.f64 (cosh.f64 x) #s(literal 2 binary64)) (*.f64 (sinh.f64 x) #s(literal 2 binary64))) #s(literal 2 binary64))
(/.f64 (-.f64 (*.f64 (cosh.f64 x) (cosh.f64 x)) (*.f64 (sinh.f64 (neg.f64 x)) (sinh.f64 (neg.f64 x)))) (exp.f64 x))
(/.f64 (+.f64 (pow.f64 (cosh.f64 x) #s(literal 3 binary64)) (pow.f64 (sinh.f64 (neg.f64 x)) #s(literal 3 binary64))) (fma.f64 (cosh.f64 x) (cosh.f64 x) (-.f64 (*.f64 (sinh.f64 (neg.f64 x)) (sinh.f64 (neg.f64 x))) (*.f64 (cosh.f64 x) (sinh.f64 (neg.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) (fma.f64 (sinh.f64 x) (sinh.f64 x) (*.f64 (cosh.f64 x) (sinh.f64 x)))))
(/.f64 #s(literal -1 binary64) (neg.f64 (exp.f64 x)))
(/.f64 #s(literal 1 binary64) (/.f64 (exp.f64 x) #s(literal 1 binary64)))
(/.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) x)))
(-.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 (-.f64 (cosh.f64 x) (*.f64 (exp.f64 x) #s(literal 1/2 binary64))) (*.f64 (exp.f64 (neg.f64 x)) #s(literal 1/2 binary64)))
(+.f64 (sinh.f64 (neg.f64 x)) (cosh.f64 x))
(+.f64 (cosh.f64 x) (*.f64 (*.f64 #s(literal -2 binary64) (sinh.f64 x)) #s(literal 1/2 binary64)))
(+.f64 (cosh.f64 x) (sinh.f64 (neg.f64 x)))
(neg.f64 x)
#s(literal 2 binary64)

eval27.0ms (0.8%)

Memory
-5.9MiB live, 34.9MiB allocated; 13ms collecting garbage
Compiler

Compiled 2 123 to 511 computations (75.9% saved)

prune4.0ms (0.1%)

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

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1423145
Fresh000
Picked101
Done000
Total1433146
Accuracy
100.0%
Counts
146 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 (neg.f64 (expm1.f64 (-.f64 (neg.f64 x) x))) (*.f64 (exp.f64 x) #s(literal 1/2 binary64)))
100.0%
(sinh.f64 x)
48.8%
#s(approx (/ (- (exp x) (exp (neg x))) 2) x)
Compiler

Compiled 23 to 19 computations (17.4% saved)

series21.0ms (0.6%)

Memory
-18.0MiB live, 25.6MiB allocated; 12ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0147454
Stop Event
iter-limit
Counts
11 → 32
Calls
Call 1
Inputs
#s(approx (/ (- (exp x) (exp (neg x))) 2) x)
x
(sinh.f64 x)
(*.f64 (neg.f64 (expm1.f64 (-.f64 (neg.f64 x) x))) (*.f64 (exp.f64 x) #s(literal 1/2 binary64)))
(neg.f64 (expm1.f64 (-.f64 (neg.f64 x) x)))
(expm1.f64 (-.f64 (neg.f64 x) x))
(-.f64 (neg.f64 x) x)
(neg.f64 x)
(*.f64 (exp.f64 x) #s(literal 1/2 binary64))
(exp.f64 x)
#s(literal 1/2 binary64)
Outputs
#s(approx (/ (- (exp x) (exp (neg x))) 2) x)
#s(approx (/ (- (exp x) (exp (neg x))) 2) (*.f64 x (+.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/6 binary64) (pow.f64 x #s(literal 2 binary64))))))
#s(approx (/ (- (exp x) (exp (neg x))) 2) (*.f64 x (+.f64 #s(literal 1 binary64) (*.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 1/6 binary64) (*.f64 #s(literal 1/120 binary64) (pow.f64 x #s(literal 2 binary64))))))))
#s(approx (/ (- (exp x) (exp (neg x))) 2) (*.f64 x (+.f64 #s(literal 1 binary64) (*.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 1/6 binary64) (*.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 1/120 binary64) (*.f64 #s(literal 1/5040 binary64) (pow.f64 x #s(literal 2 binary64))))))))))
#s(approx (neg (- (exp (- (neg x) x)) 1)) (*.f64 #s(literal 2 binary64) x))
#s(approx (neg (- (exp (- (neg x) x)) 1)) (*.f64 x (+.f64 #s(literal 2 binary64) (*.f64 #s(literal -2 binary64) x))))
#s(approx (neg (- (exp (- (neg x) x)) 1)) (*.f64 x (+.f64 #s(literal 2 binary64) (*.f64 x (-.f64 (*.f64 #s(literal 4/3 binary64) x) #s(literal 2 binary64))))))
#s(approx (neg (- (exp (- (neg x) x)) 1)) (*.f64 x (+.f64 #s(literal 2 binary64) (*.f64 x (-.f64 (*.f64 x (+.f64 #s(literal 4/3 binary64) (*.f64 #s(literal -2/3 binary64) x))) #s(literal 2 binary64))))))
#s(approx (- (exp (- (neg x) x)) 1) (*.f64 #s(literal -2 binary64) x))
#s(approx (- (exp (- (neg x) x)) 1) (*.f64 x (-.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 2 binary64))))
#s(approx (- (exp (- (neg x) x)) 1) (*.f64 x (-.f64 (*.f64 x (+.f64 #s(literal 2 binary64) (*.f64 #s(literal -4/3 binary64) x))) #s(literal 2 binary64))))
#s(approx (- (exp (- (neg x) x)) 1) (*.f64 x (-.f64 (*.f64 x (+.f64 #s(literal 2 binary64) (*.f64 x (-.f64 (*.f64 #s(literal 2/3 binary64) x) #s(literal 4/3 binary64))))) #s(literal 2 binary64))))
#s(approx (neg x) (*.f64 #s(literal -1 binary64) x))
#s(approx (* (exp x) 1/2) #s(literal 1/2 binary64))
#s(approx (* (exp x) 1/2) (+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal 1/2 binary64) x)))
#s(approx (* (exp x) 1/2) (+.f64 #s(literal 1/2 binary64) (*.f64 x (+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal 1/4 binary64) x)))))
#s(approx (* (exp x) 1/2) (+.f64 #s(literal 1/2 binary64) (*.f64 x (+.f64 #s(literal 1/2 binary64) (*.f64 x (+.f64 #s(literal 1/4 binary64) (*.f64 #s(literal 1/12 binary64) x)))))))
#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 (/ (- (exp x) (exp (neg x))) 2) (*.f64 #s(literal 1/2 binary64) (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))))
#s(approx (sinh x) (*.f64 #s(literal 1/2 binary64) (-.f64 (exp.f64 x) (/.f64 #s(literal 1 binary64) (exp.f64 x)))))
#s(approx (* (neg (- (exp (- (neg x) x)) 1)) (* (exp x) 1/2)) (*.f64 #s(literal 1/2 binary64) (*.f64 (exp.f64 x) (-.f64 #s(literal 1 binary64) (exp.f64 (neg.f64 (*.f64 #s(literal 2 binary64) x)))))))
#s(approx (neg (- (exp (- (neg x) x)) 1)) (-.f64 #s(literal 1 binary64) (exp.f64 (neg.f64 (*.f64 #s(literal 2 binary64) x)))))
#s(approx (- (exp (- (neg x) x)) 1) (expm1.f64 (neg.f64 (*.f64 #s(literal 2 binary64) x))))
#s(approx (* (exp x) 1/2) (*.f64 #s(literal 1/2 binary64) (exp.f64 x)))
#s(approx (exp x) (exp.f64 x))
#s(approx (/ (- (exp x) (exp (neg x))) 2) (*.f64 #s(literal 1/2 binary64) (-.f64 (exp.f64 x) (exp.f64 (*.f64 #s(literal -1 binary64) x)))))
#s(approx (* (neg (- (exp (- (neg x) x)) 1)) (* (exp x) 1/2)) (*.f64 #s(literal 1/2 binary64) (*.f64 (exp.f64 x) (-.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x))))))
#s(approx (neg (- (exp (- (neg x) x)) 1)) (-.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x))))
#s(approx (- (exp (- (neg x) x)) 1) (expm1.f64 (*.f64 #s(literal -2 binary64) x)))
Calls

3 calls:

TimeVariablePoint
3.0ms
x
-inf
2.0ms
x
inf
1.0ms
x
0

rewrite140.0ms (4%)

Memory
22.4MiB live, 113.1MiB allocated; 52ms collecting garbage
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01748
02723
112116
0144816
Stop Event
iter-limit
iter-limit
iter-limit
unsound
iter-limit
Counts
11 → 34
Calls
Call 1
Inputs
#s(approx (/ (- (exp x) (exp (neg x))) 2) x)
x
(sinh.f64 x)
(*.f64 (neg.f64 (expm1.f64 (-.f64 (neg.f64 x) x))) (*.f64 (exp.f64 x) #s(literal 1/2 binary64)))
(neg.f64 (expm1.f64 (-.f64 (neg.f64 x) x)))
(expm1.f64 (-.f64 (neg.f64 x) x))
(-.f64 (neg.f64 x) x)
(neg.f64 x)
(*.f64 (exp.f64 x) #s(literal 1/2 binary64))
(exp.f64 x)
#s(literal 1/2 binary64)
Outputs
#s(approx (/ (- (exp x) (exp (neg x))) 2) x)
x
#s(literal 0 binary64)
#s(literal 0 binary64)
#s(literal 0 binary64)
#s(literal 0 binary64)
(*.f64 (+.f64 #s(literal 1 binary64) (/.f64 (neg.f64 x) (neg.f64 x))) (neg.f64 x))
(*.f64 (-.f64 #s(literal 1 binary64) (/.f64 (neg.f64 x) x)) x)
(*.f64 (-.f64 #s(literal 1 binary64) (/.f64 x (neg.f64 x))) (neg.f64 x))
(*.f64 (*.f64 x (+.f64 (neg.f64 x) x)) (/.f64 #s(literal 1 binary64) (+.f64 (neg.f64 x) x)))
(*.f64 (-.f64 (*.f64 (*.f64 x x) (neg.f64 x)) (*.f64 (*.f64 x x) x)) (/.f64 #s(literal 1 binary64) (fma.f64 x (+.f64 (neg.f64 x) x) (*.f64 x x))))
(*.f64 (neg.f64 x) (-.f64 #s(literal 1 binary64) (/.f64 x (neg.f64 x))))
(*.f64 #s(literal 2 binary64) (neg.f64 x))
(/.f64 (-.f64 (*.f64 (*.f64 x x) x) (*.f64 (*.f64 x x) (neg.f64 x))) (fma.f64 x (+.f64 (neg.f64 x) x) (*.f64 x x)))
(/.f64 (neg.f64 (-.f64 (*.f64 (*.f64 x x) (neg.f64 x)) (*.f64 (*.f64 x x) x))) (neg.f64 (fma.f64 x (+.f64 (neg.f64 x) x) (*.f64 x x))))
(/.f64 (*.f64 x (+.f64 (neg.f64 x) x)) (neg.f64 (+.f64 (neg.f64 x) x)))
(/.f64 (*.f64 x (+.f64 (neg.f64 x) x)) (+.f64 (neg.f64 x) x))
(/.f64 (-.f64 (*.f64 (*.f64 x x) (neg.f64 x)) (*.f64 (*.f64 x x) x)) (fma.f64 x (+.f64 (neg.f64 x) x) (*.f64 x x)))
(/.f64 #s(literal 1 binary64) (/.f64 (+.f64 (neg.f64 x) x) (*.f64 x (+.f64 (neg.f64 x) x))))
(/.f64 #s(literal 1 binary64) (/.f64 (fma.f64 x (+.f64 (neg.f64 x) x) (*.f64 x x)) (-.f64 (*.f64 (*.f64 x x) (neg.f64 x)) (*.f64 (*.f64 x x) x))))
(neg.f64 (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 x (neg.f64 x))) x))
(neg.f64 (+.f64 x x))
(-.f64 (/.f64 (*.f64 x x) (+.f64 (neg.f64 x) x)) (/.f64 (*.f64 x x) (+.f64 (neg.f64 x) x)))
(-.f64 (/.f64 (*.f64 (*.f64 x x) (neg.f64 x)) (fma.f64 x (+.f64 (neg.f64 x) x) (*.f64 x x))) (/.f64 (*.f64 (*.f64 x x) x) (fma.f64 x (+.f64 (neg.f64 x) x) (*.f64 x x))))
(-.f64 (neg.f64 x) (neg.f64 (neg.f64 x)))
(-.f64 (neg.f64 x) x)
(-.f64 x (neg.f64 x))
(+.f64 (neg.f64 x) (neg.f64 x))
(+.f64 x (neg.f64 (neg.f64 x)))
(+.f64 x x)
(neg.f64 x)
#s(literal 1/2 binary64)
#s(literal 1 binary64)
#s(literal 1/2 binary64)

eval6.0ms (0.2%)

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

Compiled 1 097 to 316 computations (71.2% saved)

prune5.0ms (0.2%)

Memory
-38.2MiB live, 8.5MiB allocated; 4ms collecting garbage
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New56157
Fresh000
Picked123
Done000
Total57360
Accuracy
100.0%
Counts
60 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 (neg.f64 #s(approx (- (exp (- (neg x) x)) 1) (expm1.f64 (*.f64 #s(literal -2 binary64) x)))) (*.f64 (exp.f64 x) #s(literal 1/2 binary64)))
100.0%
(sinh.f64 x)
48.8%
#s(approx (/ (- (exp x) (exp (neg x))) 2) x)
Compiler

Compiled 30 to 25 computations (16.7% saved)

series6.0ms (0.2%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0130412
Stop Event
iter-limit
Counts
10 → 28
Calls
Call 1
Inputs
(*.f64 (neg.f64 #s(approx (- (exp (- (neg x) x)) 1) (expm1.f64 (*.f64 #s(literal -2 binary64) x)))) (*.f64 (exp.f64 x) #s(literal 1/2 binary64)))
(neg.f64 #s(approx (- (exp (- (neg x) x)) 1) (expm1.f64 (*.f64 #s(literal -2 binary64) x))))
#s(approx (- (exp (- (neg x) x)) 1) (expm1.f64 (*.f64 #s(literal -2 binary64) x)))
(expm1.f64 (*.f64 #s(literal -2 binary64) x))
(*.f64 #s(literal -2 binary64) x)
#s(literal -2 binary64)
x
(*.f64 (exp.f64 x) #s(literal 1/2 binary64))
(exp.f64 x)
#s(literal 1/2 binary64)
Outputs
#s(approx (* (neg (- (exp (- (neg x) x)) 1)) (* (exp x) 1/2)) x)
#s(approx (* (neg (- (exp (- (neg x) x)) 1)) (* (exp x) 1/2)) (*.f64 x (+.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/6 binary64) (pow.f64 x #s(literal 2 binary64))))))
#s(approx (* (neg (- (exp (- (neg x) x)) 1)) (* (exp x) 1/2)) (*.f64 x (+.f64 #s(literal 1 binary64) (*.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 1/6 binary64) (*.f64 #s(literal 1/120 binary64) (pow.f64 x #s(literal 2 binary64))))))))
#s(approx (* (neg (- (exp (- (neg x) x)) 1)) (* (exp x) 1/2)) (*.f64 x (+.f64 #s(literal 1 binary64) (*.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 1/6 binary64) (*.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 1/120 binary64) (*.f64 #s(literal 1/5040 binary64) (pow.f64 x #s(literal 2 binary64))))))))))
#s(approx (neg (- (exp (- (neg x) x)) 1)) (*.f64 #s(literal 2 binary64) x))
#s(approx (neg (- (exp (- (neg x) x)) 1)) (*.f64 x (+.f64 #s(literal 2 binary64) (*.f64 #s(literal -2 binary64) x))))
#s(approx (neg (- (exp (- (neg x) x)) 1)) (*.f64 x (+.f64 #s(literal 2 binary64) (*.f64 x (-.f64 (*.f64 #s(literal 4/3 binary64) x) #s(literal 2 binary64))))))
#s(approx (neg (- (exp (- (neg x) x)) 1)) (*.f64 x (+.f64 #s(literal 2 binary64) (*.f64 x (-.f64 (*.f64 x (+.f64 #s(literal 4/3 binary64) (*.f64 #s(literal -2/3 binary64) x))) #s(literal 2 binary64))))))
#s(approx (- (exp (- (neg x) x)) 1) (*.f64 #s(literal -2 binary64) x))
#s(approx (- (exp (- (neg x) x)) 1) (*.f64 x (-.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 2 binary64))))
#s(approx (- (exp (- (neg x) x)) 1) (*.f64 x (-.f64 (*.f64 x (+.f64 #s(literal 2 binary64) (*.f64 #s(literal -4/3 binary64) x))) #s(literal 2 binary64))))
#s(approx (- (exp (- (neg x) x)) 1) (*.f64 x (-.f64 (*.f64 x (+.f64 #s(literal 2 binary64) (*.f64 x (-.f64 (*.f64 #s(literal 2/3 binary64) x) #s(literal 4/3 binary64))))) #s(literal 2 binary64))))
#s(approx (* (exp x) 1/2) #s(literal 1/2 binary64))
#s(approx (* (exp x) 1/2) (+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal 1/2 binary64) x)))
#s(approx (* (exp x) 1/2) (+.f64 #s(literal 1/2 binary64) (*.f64 x (+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal 1/4 binary64) x)))))
#s(approx (* (exp x) 1/2) (+.f64 #s(literal 1/2 binary64) (*.f64 x (+.f64 #s(literal 1/2 binary64) (*.f64 x (+.f64 #s(literal 1/4 binary64) (*.f64 #s(literal 1/12 binary64) x)))))))
#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 (* (neg (- (exp (- (neg x) x)) 1)) (* (exp x) 1/2)) (*.f64 #s(literal 1/2 binary64) (*.f64 (exp.f64 x) (-.f64 #s(literal 1 binary64) (exp.f64 (neg.f64 (*.f64 #s(literal 2 binary64) x)))))))
#s(approx (neg (- (exp (- (neg x) x)) 1)) (-.f64 #s(literal 1 binary64) (exp.f64 (neg.f64 (*.f64 #s(literal 2 binary64) x)))))
#s(approx (- (exp (- (neg x) x)) 1) (expm1.f64 (neg.f64 (*.f64 #s(literal 2 binary64) x))))
#s(approx (- (exp (* -2 x)) 1) (expm1.f64 (*.f64 #s(literal -2 binary64) x)))
#s(approx (* (exp x) 1/2) (*.f64 #s(literal 1/2 binary64) (exp.f64 x)))
#s(approx (exp x) (exp.f64 x))
#s(approx (* (neg (- (exp (- (neg x) x)) 1)) (* (exp x) 1/2)) (*.f64 #s(literal 1/2 binary64) (*.f64 (exp.f64 x) (-.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x))))))
#s(approx (neg (- (exp (- (neg x) x)) 1)) (-.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x))))
Calls

3 calls:

TimeVariablePoint
1.0ms
x
inf
1.0ms
x
-inf
1.0ms
x
0

rewrite52.0ms (1.5%)

Memory
20.0MiB live, 64.9MiB allocated; 5ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01559
02259
110356
089350
Stop Event
iter-limit
iter-limit
node-limit
iter-limit
Counts
10 → 62
Calls
Call 1
Inputs
(*.f64 (neg.f64 #s(approx (- (exp (- (neg x) x)) 1) (expm1.f64 (*.f64 #s(literal -2 binary64) x)))) (*.f64 (exp.f64 x) #s(literal 1/2 binary64)))
(neg.f64 #s(approx (- (exp (- (neg x) x)) 1) (expm1.f64 (*.f64 #s(literal -2 binary64) x))))
#s(approx (- (exp (- (neg x) x)) 1) (expm1.f64 (*.f64 #s(literal -2 binary64) x)))
(expm1.f64 (*.f64 #s(literal -2 binary64) x))
(*.f64 #s(literal -2 binary64) x)
#s(literal -2 binary64)
x
(*.f64 (exp.f64 x) #s(literal 1/2 binary64))
(exp.f64 x)
#s(literal 1/2 binary64)
Outputs
(*.f64 (*.f64 (neg.f64 #s(approx (- (exp (- (neg x) x)) 1) (expm1.f64 (*.f64 #s(literal -2 binary64) x)))) #s(literal 1/2 binary64)) (exp.f64 x))
(*.f64 (*.f64 (exp.f64 x) (neg.f64 #s(approx (- (exp (- (neg x) x)) 1) (expm1.f64 (*.f64 #s(literal -2 binary64) x))))) #s(literal 1/2 binary64))
(*.f64 (*.f64 #s(literal 1/2 binary64) (exp.f64 x)) (neg.f64 #s(approx (- (exp (- (neg x) x)) 1) (expm1.f64 (*.f64 #s(literal -2 binary64) x)))))
(*.f64 #s(literal 1/2 binary64) (*.f64 (exp.f64 x) (neg.f64 #s(approx (- (exp (- (neg x) x)) 1) (expm1.f64 (*.f64 #s(literal -2 binary64) x))))))
(*.f64 (exp.f64 x) (*.f64 #s(literal 1/2 binary64) (neg.f64 #s(approx (- (exp (- (neg x) x)) 1) (expm1.f64 (*.f64 #s(literal -2 binary64) x))))))
(*.f64 (neg.f64 #s(approx (- (exp (- (neg x) x)) 1) (expm1.f64 (*.f64 #s(literal -2 binary64) x)))) (*.f64 #s(literal 1/2 binary64) (exp.f64 x)))
(*.f64 #s(approx (- (exp (- (neg x) x)) 1) (expm1.f64 (*.f64 #s(literal -2 binary64) x))) (neg.f64 (*.f64 #s(literal 1/2 binary64) (exp.f64 x))))
(neg.f64 (*.f64 (*.f64 #s(approx (- (exp (- (neg x) x)) 1) (expm1.f64 (*.f64 #s(literal -2 binary64) x))) (exp.f64 x)) #s(literal 1/2 binary64)))
(neg.f64 #s(approx (- (exp (- (neg x) x)) 1) (expm1.f64 (*.f64 #s(literal -2 binary64) x))))
#s(approx (- (exp (- (neg x) x)) 1) (expm1.f64 (*.f64 #s(literal -2 binary64) x)))
(*.f64 (+.f64 #s(literal 1 binary64) (/.f64 #s(literal -1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))) (exp.f64 (*.f64 #s(literal -2 binary64) x)))
(*.f64 (neg.f64 (expm1.f64 (neg.f64 (*.f64 #s(literal -2 binary64) x)))) (exp.f64 (*.f64 #s(literal -2 binary64) x)))
(*.f64 (expm1.f64 (*.f64 (*.f64 #s(literal -2 binary64) x) #s(literal 2 binary64))) (/.f64 #s(literal 1 binary64) (-.f64 (exp.f64 (*.f64 #s(literal -2 binary64) x)) #s(literal -1 binary64))))
(*.f64 (expm1.f64 (*.f64 (*.f64 #s(literal -2 binary64) x) #s(literal 3 binary64))) (/.f64 #s(literal 1 binary64) (+.f64 (-.f64 (exp.f64 (*.f64 #s(literal -2 binary64) x)) #s(literal -1 binary64)) (exp.f64 (*.f64 (*.f64 #s(literal -2 binary64) x) #s(literal 2 binary64))))))
(*.f64 (exp.f64 (*.f64 #s(literal -2 binary64) x)) (neg.f64 (expm1.f64 (neg.f64 (*.f64 #s(literal -2 binary64) x)))))
(/.f64 (neg.f64 (expm1.f64 (*.f64 (*.f64 #s(literal -2 binary64) x) #s(literal 2 binary64)))) (neg.f64 (-.f64 (exp.f64 (*.f64 #s(literal -2 binary64) x)) #s(literal -1 binary64))))
(/.f64 (neg.f64 (expm1.f64 (*.f64 (*.f64 #s(literal -2 binary64) x) #s(literal 3 binary64)))) (neg.f64 (+.f64 (-.f64 (exp.f64 (*.f64 #s(literal -2 binary64) x)) #s(literal -1 binary64)) (exp.f64 (*.f64 (*.f64 #s(literal -2 binary64) x) #s(literal 2 binary64))))))
(/.f64 (expm1.f64 (*.f64 (*.f64 #s(literal -2 binary64) x) #s(literal 2 binary64))) (-.f64 (exp.f64 (*.f64 #s(literal -2 binary64) x)) #s(literal -1 binary64)))
(/.f64 (expm1.f64 (*.f64 (*.f64 #s(literal -2 binary64) x) #s(literal 3 binary64))) (+.f64 (exp.f64 (*.f64 (*.f64 #s(literal -2 binary64) x) #s(literal 2 binary64))) (-.f64 #s(literal 1 binary64) (*.f64 (exp.f64 (*.f64 #s(literal -2 binary64) x)) #s(literal -1 binary64)))))
(/.f64 (expm1.f64 (*.f64 (*.f64 #s(literal -2 binary64) x) #s(literal 3 binary64))) (+.f64 (-.f64 (exp.f64 (*.f64 #s(literal -2 binary64) x)) #s(literal -1 binary64)) (exp.f64 (*.f64 (*.f64 #s(literal -2 binary64) x) #s(literal 2 binary64)))))
(/.f64 #s(literal 1 binary64) (/.f64 (-.f64 (exp.f64 (*.f64 #s(literal -2 binary64) x)) #s(literal -1 binary64)) (expm1.f64 (*.f64 (*.f64 #s(literal -2 binary64) x) #s(literal 2 binary64)))))
(/.f64 #s(literal 1 binary64) (/.f64 (+.f64 (-.f64 (exp.f64 (*.f64 #s(literal -2 binary64) x)) #s(literal -1 binary64)) (exp.f64 (*.f64 (*.f64 #s(literal -2 binary64) x) #s(literal 2 binary64)))) (expm1.f64 (*.f64 (*.f64 #s(literal -2 binary64) x) #s(literal 3 binary64)))))
(neg.f64 (neg.f64 (expm1.f64 (*.f64 #s(literal -2 binary64) x))))
(fma.f64 (+.f64 #s(literal 1 binary64) (/.f64 (sinh.f64 (*.f64 #s(literal -2 binary64) x)) (cosh.f64 (*.f64 #s(literal -2 binary64) x)))) (cosh.f64 (*.f64 #s(literal -2 binary64) x)) #s(literal -1 binary64))
(fma.f64 (pow.f64 (exp.f64 #s(literal -2 binary64)) (/.f64 x #s(literal 2 binary64))) (pow.f64 (exp.f64 #s(literal -2 binary64)) (/.f64 x #s(literal 2 binary64))) #s(literal -1 binary64))
(fma.f64 (neg.f64 (expm1.f64 (neg.f64 (*.f64 #s(literal -2 binary64) x)))) (cosh.f64 (*.f64 #s(literal -2 binary64) x)) (*.f64 (neg.f64 (expm1.f64 (neg.f64 (*.f64 #s(literal -2 binary64) x)))) (sinh.f64 (*.f64 #s(literal -2 binary64) x))))
(fma.f64 (cosh.f64 (*.f64 #s(literal -2 binary64) x)) (neg.f64 (expm1.f64 (neg.f64 (*.f64 #s(literal -2 binary64) x)))) (*.f64 (sinh.f64 (*.f64 #s(literal -2 binary64) x)) (neg.f64 (expm1.f64 (neg.f64 (*.f64 #s(literal -2 binary64) x))))))
(fma.f64 (exp.f64 (*.f64 #s(literal -2 binary64) x)) #s(literal 1 binary64) #s(literal -1 binary64))
(fma.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)) #s(literal -1 binary64))
(expm1.f64 (fma.f64 #s(literal -2 binary64) x #s(literal 0 binary64)))
(expm1.f64 (*.f64 (log.f64 (exp.f64 #s(literal -2 binary64))) x))
(expm1.f64 (*.f64 #s(literal -2 binary64) x))
(-.f64 (/.f64 (exp.f64 (*.f64 (*.f64 #s(literal -2 binary64) x) #s(literal 2 binary64))) (-.f64 (exp.f64 (*.f64 #s(literal -2 binary64) x)) #s(literal -1 binary64))) (/.f64 #s(literal 1 binary64) (-.f64 (exp.f64 (*.f64 #s(literal -2 binary64) x)) #s(literal -1 binary64))))
(-.f64 (/.f64 (exp.f64 (*.f64 (*.f64 #s(literal -2 binary64) x) #s(literal 3 binary64))) (+.f64 (-.f64 (exp.f64 (*.f64 #s(literal -2 binary64) x)) #s(literal -1 binary64)) (exp.f64 (*.f64 (*.f64 #s(literal -2 binary64) x) #s(literal 2 binary64))))) (/.f64 #s(literal 1 binary64) (+.f64 (-.f64 (exp.f64 (*.f64 #s(literal -2 binary64) x)) #s(literal -1 binary64)) (exp.f64 (*.f64 (*.f64 #s(literal -2 binary64) x) #s(literal 2 binary64))))))
(-.f64 (exp.f64 (*.f64 #s(literal -2 binary64) x)) #s(literal 1 binary64))
(+.f64 (*.f64 (neg.f64 (expm1.f64 (neg.f64 (*.f64 #s(literal -2 binary64) x)))) (cosh.f64 (*.f64 #s(literal -2 binary64) x))) (*.f64 (neg.f64 (expm1.f64 (neg.f64 (*.f64 #s(literal -2 binary64) x)))) (sinh.f64 (*.f64 #s(literal -2 binary64) x))))
(+.f64 (*.f64 (cosh.f64 (*.f64 #s(literal -2 binary64) x)) (neg.f64 (expm1.f64 (neg.f64 (*.f64 #s(literal -2 binary64) x))))) (*.f64 (sinh.f64 (*.f64 #s(literal -2 binary64) x)) (neg.f64 (expm1.f64 (neg.f64 (*.f64 #s(literal -2 binary64) x))))))
(+.f64 #s(literal -1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))
(+.f64 (cosh.f64 (*.f64 #s(literal -2 binary64) x)) (+.f64 (sinh.f64 (*.f64 #s(literal -2 binary64) x)) #s(literal -1 binary64)))
(+.f64 (cosh.f64 (*.f64 #s(literal -2 binary64) x)) (-.f64 (sinh.f64 (*.f64 #s(literal -2 binary64) x)) #s(literal 1 binary64)))
(+.f64 (exp.f64 (*.f64 #s(literal -2 binary64) x)) #s(literal -1 binary64))
(*.f64 #s(literal -2 binary64) x)
(*.f64 x #s(literal -2 binary64))
#s(literal -2 binary64)
x
(*.f64 #s(literal 1/2 binary64) (exp.f64 x))
(*.f64 (exp.f64 x) #s(literal 1/2 binary64))
(fma.f64 (cosh.f64 x) #s(literal 1/2 binary64) (*.f64 (sinh.f64 x) #s(literal 1/2 binary64)))
(fma.f64 #s(literal 1/2 binary64) (cosh.f64 x) (*.f64 #s(literal 1/2 binary64) (sinh.f64 x)))
(+.f64 (*.f64 #s(literal 1/2 binary64) (cosh.f64 x)) (*.f64 #s(literal 1/2 binary64) (sinh.f64 x)))
(+.f64 (*.f64 (cosh.f64 x) #s(literal 1/2 binary64)) (*.f64 (sinh.f64 x) #s(literal 1/2 binary64)))
(*.f64 (+.f64 #s(literal 1 binary64) (/.f64 (sinh.f64 x) (cosh.f64 x))) (cosh.f64 x))
(/.f64 (-.f64 (*.f64 (cosh.f64 x) (cosh.f64 x)) (*.f64 (sinh.f64 x) (sinh.f64 x))) (exp.f64 (neg.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)))))
(sqrt.f64 (*.f64 (exp.f64 x) (exp.f64 x)))
(-.f64 (cosh.f64 x) (neg.f64 (sinh.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))
#s(literal 1/2 binary64)

eval32.0ms (0.9%)

Memory
-12.1MiB live, 38.3MiB allocated; 21ms collecting garbage
Compiler

Compiled 2 037 to 416 computations (79.6% saved)

prune2.0ms (0.1%)

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

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New80181
Fresh000
Picked101
Done022
Total81384
Accuracy
100.0%
Counts
84 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 (*.f64 (exp.f64 x) (neg.f64 #s(approx (- (exp (- (neg x) x)) 1) (expm1.f64 (*.f64 #s(literal -2 binary64) x))))) #s(literal 1/2 binary64))
100.0%
(sinh.f64 x)
48.8%
#s(approx (/ (- (exp x) (exp (neg x))) 2) x)
Compiler

Compiled 30 to 25 computations (16.7% saved)

series11.0ms (0.3%)

Memory
-31.9MiB live, 11.7MiB allocated; 6ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0134472
Stop Event
iter-limit
Counts
10 → 28
Calls
Call 1
Inputs
(*.f64 (*.f64 (exp.f64 x) (neg.f64 #s(approx (- (exp (- (neg x) x)) 1) (expm1.f64 (*.f64 #s(literal -2 binary64) x))))) #s(literal 1/2 binary64))
(*.f64 (exp.f64 x) (neg.f64 #s(approx (- (exp (- (neg x) x)) 1) (expm1.f64 (*.f64 #s(literal -2 binary64) x)))))
(exp.f64 x)
x
(neg.f64 #s(approx (- (exp (- (neg x) x)) 1) (expm1.f64 (*.f64 #s(literal -2 binary64) x))))
#s(approx (- (exp (- (neg x) x)) 1) (expm1.f64 (*.f64 #s(literal -2 binary64) x)))
(expm1.f64 (*.f64 #s(literal -2 binary64) x))
(*.f64 #s(literal -2 binary64) x)
#s(literal -2 binary64)
#s(literal 1/2 binary64)
Outputs
#s(approx (* (* (exp x) (neg (- (exp (- (neg x) x)) 1))) 1/2) x)
#s(approx (* (* (exp x) (neg (- (exp (- (neg x) x)) 1))) 1/2) (*.f64 x (+.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/6 binary64) (pow.f64 x #s(literal 2 binary64))))))
#s(approx (* (* (exp x) (neg (- (exp (- (neg x) x)) 1))) 1/2) (*.f64 x (+.f64 #s(literal 1 binary64) (*.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 1/6 binary64) (*.f64 #s(literal 1/120 binary64) (pow.f64 x #s(literal 2 binary64))))))))
#s(approx (* (* (exp x) (neg (- (exp (- (neg x) x)) 1))) 1/2) (*.f64 x (+.f64 #s(literal 1 binary64) (*.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 1/6 binary64) (*.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 1/120 binary64) (*.f64 #s(literal 1/5040 binary64) (pow.f64 x #s(literal 2 binary64))))))))))
#s(approx (* (exp x) (neg (- (exp (- (neg x) x)) 1))) (*.f64 #s(literal 2 binary64) x))
#s(approx (* (exp x) (neg (- (exp (- (neg x) x)) 1))) (*.f64 x (+.f64 #s(literal 2 binary64) (*.f64 #s(literal 1/3 binary64) (pow.f64 x #s(literal 2 binary64))))))
#s(approx (* (exp x) (neg (- (exp (- (neg x) x)) 1))) (*.f64 x (+.f64 #s(literal 2 binary64) (*.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 1/3 binary64) (*.f64 #s(literal 1/60 binary64) (pow.f64 x #s(literal 2 binary64))))))))
#s(approx (* (exp x) (neg (- (exp (- (neg x) x)) 1))) (*.f64 x (+.f64 #s(literal 2 binary64) (*.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 1/3 binary64) (*.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 1/60 binary64) (*.f64 #s(literal 1/2520 binary64) (pow.f64 x #s(literal 2 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 (neg (- (exp (- (neg x) x)) 1)) (*.f64 x (+.f64 #s(literal 2 binary64) (*.f64 #s(literal -2 binary64) x))))
#s(approx (neg (- (exp (- (neg x) x)) 1)) (*.f64 x (+.f64 #s(literal 2 binary64) (*.f64 x (-.f64 (*.f64 #s(literal 4/3 binary64) x) #s(literal 2 binary64))))))
#s(approx (neg (- (exp (- (neg x) x)) 1)) (*.f64 x (+.f64 #s(literal 2 binary64) (*.f64 x (-.f64 (*.f64 x (+.f64 #s(literal 4/3 binary64) (*.f64 #s(literal -2/3 binary64) x))) #s(literal 2 binary64))))))
#s(approx (- (exp (- (neg x) x)) 1) (*.f64 #s(literal -2 binary64) x))
#s(approx (- (exp (- (neg x) x)) 1) (*.f64 x (-.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 2 binary64))))
#s(approx (- (exp (- (neg x) x)) 1) (*.f64 x (-.f64 (*.f64 x (+.f64 #s(literal 2 binary64) (*.f64 #s(literal -4/3 binary64) x))) #s(literal 2 binary64))))
#s(approx (- (exp (- (neg x) x)) 1) (*.f64 x (-.f64 (*.f64 x (+.f64 #s(literal 2 binary64) (*.f64 x (-.f64 (*.f64 #s(literal 2/3 binary64) x) #s(literal 4/3 binary64))))) #s(literal 2 binary64))))
#s(approx (* (* (exp x) (neg (- (exp (- (neg x) x)) 1))) 1/2) (*.f64 #s(literal 1/2 binary64) (*.f64 (exp.f64 x) (-.f64 #s(literal 1 binary64) (exp.f64 (neg.f64 (*.f64 #s(literal 2 binary64) x)))))))
#s(approx (* (exp x) (neg (- (exp (- (neg x) x)) 1))) (*.f64 (exp.f64 x) (-.f64 #s(literal 1 binary64) (exp.f64 (neg.f64 (*.f64 #s(literal 2 binary64) x))))))
#s(approx (exp x) (exp.f64 x))
#s(approx (neg (- (exp (- (neg x) x)) 1)) (-.f64 #s(literal 1 binary64) (exp.f64 (neg.f64 (*.f64 #s(literal 2 binary64) x)))))
#s(approx (- (exp (- (neg x) x)) 1) (expm1.f64 (neg.f64 (*.f64 #s(literal 2 binary64) x))))
#s(approx (- (exp (* -2 x)) 1) (expm1.f64 (*.f64 #s(literal -2 binary64) x)))
#s(approx (* (* (exp x) (neg (- (exp (- (neg x) x)) 1))) 1/2) (*.f64 #s(literal 1/2 binary64) (*.f64 (exp.f64 x) (-.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x))))))
#s(approx (* (exp x) (neg (- (exp (- (neg x) x)) 1))) (*.f64 (exp.f64 x) (-.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))))
#s(approx (neg (- (exp (- (neg x) x)) 1)) (-.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x))))
Calls

3 calls:

TimeVariablePoint
1.0ms
x
inf
1.0ms
x
-inf
1.0ms
x
0

rewrite61.0ms (1.7%)

Memory
35.5MiB live, 78.2MiB allocated; 7ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01571
02271
110367
088759
Stop Event
iter-limit
iter-limit
node-limit
iter-limit
Counts
10 → 64
Calls
Call 1
Inputs
(*.f64 (*.f64 (exp.f64 x) (neg.f64 #s(approx (- (exp (- (neg x) x)) 1) (expm1.f64 (*.f64 #s(literal -2 binary64) x))))) #s(literal 1/2 binary64))
(*.f64 (exp.f64 x) (neg.f64 #s(approx (- (exp (- (neg x) x)) 1) (expm1.f64 (*.f64 #s(literal -2 binary64) x)))))
(exp.f64 x)
x
(neg.f64 #s(approx (- (exp (- (neg x) x)) 1) (expm1.f64 (*.f64 #s(literal -2 binary64) x))))
#s(approx (- (exp (- (neg x) x)) 1) (expm1.f64 (*.f64 #s(literal -2 binary64) x)))
(expm1.f64 (*.f64 #s(literal -2 binary64) x))
(*.f64 #s(literal -2 binary64) x)
#s(literal -2 binary64)
#s(literal 1/2 binary64)
Outputs
(*.f64 (*.f64 #s(literal 1/2 binary64) (exp.f64 x)) (neg.f64 #s(approx (- (exp (- (neg x) x)) 1) (expm1.f64 (*.f64 #s(literal -2 binary64) x)))))
(*.f64 (*.f64 #s(literal 1/2 binary64) (neg.f64 #s(approx (- (exp (- (neg x) x)) 1) (expm1.f64 (*.f64 #s(literal -2 binary64) x))))) (exp.f64 x))
(*.f64 #s(literal 1/2 binary64) (*.f64 (neg.f64 (exp.f64 x)) #s(approx (- (exp (- (neg x) x)) 1) (expm1.f64 (*.f64 #s(literal -2 binary64) x)))))
(*.f64 (*.f64 (neg.f64 (exp.f64 x)) #s(approx (- (exp (- (neg x) x)) 1) (expm1.f64 (*.f64 #s(literal -2 binary64) x)))) #s(literal 1/2 binary64))
(*.f64 (neg.f64 #s(approx (- (exp (- (neg x) x)) 1) (expm1.f64 (*.f64 #s(literal -2 binary64) x)))) (*.f64 (exp.f64 x) #s(literal 1/2 binary64)))
(*.f64 (exp.f64 x) (*.f64 #s(literal 1/2 binary64) (neg.f64 #s(approx (- (exp (- (neg x) x)) 1) (expm1.f64 (*.f64 #s(literal -2 binary64) x))))))
(neg.f64 (*.f64 (*.f64 #s(approx (- (exp (- (neg x) x)) 1) (expm1.f64 (*.f64 #s(literal -2 binary64) x))) (exp.f64 x)) #s(literal 1/2 binary64)))
(neg.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 #s(approx (- (exp (- (neg x) x)) 1) (expm1.f64 (*.f64 #s(literal -2 binary64) x))) (exp.f64 x))))
(*.f64 (neg.f64 (exp.f64 x)) #s(approx (- (exp (- (neg x) x)) 1) (expm1.f64 (*.f64 #s(literal -2 binary64) x))))
(*.f64 (neg.f64 #s(approx (- (exp (- (neg x) x)) 1) (expm1.f64 (*.f64 #s(literal -2 binary64) x)))) (exp.f64 x))
(*.f64 (exp.f64 x) (neg.f64 #s(approx (- (exp (- (neg x) x)) 1) (expm1.f64 (*.f64 #s(literal -2 binary64) x)))))
(neg.f64 (*.f64 #s(approx (- (exp (- (neg x) x)) 1) (expm1.f64 (*.f64 #s(literal -2 binary64) x))) (exp.f64 x)))
(fma.f64 (cosh.f64 x) (neg.f64 #s(approx (- (exp (- (neg x) x)) 1) (expm1.f64 (*.f64 #s(literal -2 binary64) x)))) (*.f64 (sinh.f64 x) (neg.f64 #s(approx (- (exp (- (neg x) x)) 1) (expm1.f64 (*.f64 #s(literal -2 binary64) x))))))
(fma.f64 (neg.f64 #s(approx (- (exp (- (neg x) x)) 1) (expm1.f64 (*.f64 #s(literal -2 binary64) x)))) (cosh.f64 x) (*.f64 (neg.f64 #s(approx (- (exp (- (neg x) x)) 1) (expm1.f64 (*.f64 #s(literal -2 binary64) x)))) (sinh.f64 x)))
(+.f64 (*.f64 (neg.f64 #s(approx (- (exp (- (neg x) x)) 1) (expm1.f64 (*.f64 #s(literal -2 binary64) x)))) (cosh.f64 x)) (*.f64 (neg.f64 #s(approx (- (exp (- (neg x) x)) 1) (expm1.f64 (*.f64 #s(literal -2 binary64) x)))) (sinh.f64 x)))
(+.f64 (*.f64 (cosh.f64 x) (neg.f64 #s(approx (- (exp (- (neg x) x)) 1) (expm1.f64 (*.f64 #s(literal -2 binary64) x))))) (*.f64 (sinh.f64 x) (neg.f64 #s(approx (- (exp (- (neg x) x)) 1) (expm1.f64 (*.f64 #s(literal -2 binary64) x))))))
(*.f64 (+.f64 #s(literal 1 binary64) (/.f64 (sinh.f64 x) (cosh.f64 x))) (cosh.f64 x))
(/.f64 (-.f64 (*.f64 (cosh.f64 x) (cosh.f64 x)) (*.f64 (sinh.f64 x) (sinh.f64 x))) (exp.f64 (neg.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)))))
(sqrt.f64 (*.f64 (exp.f64 x) (exp.f64 x)))
(-.f64 (cosh.f64 x) (neg.f64 (sinh.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
(neg.f64 #s(approx (- (exp (- (neg x) x)) 1) (expm1.f64 (*.f64 #s(literal -2 binary64) x))))
#s(approx (- (exp (- (neg x) x)) 1) (expm1.f64 (*.f64 #s(literal -2 binary64) x)))
(*.f64 (+.f64 #s(literal 1 binary64) (/.f64 #s(literal -1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))) (exp.f64 (*.f64 #s(literal -2 binary64) x)))
(*.f64 (neg.f64 (expm1.f64 (neg.f64 (*.f64 #s(literal -2 binary64) x)))) (exp.f64 (*.f64 #s(literal -2 binary64) x)))
(*.f64 (expm1.f64 (*.f64 (*.f64 #s(literal -2 binary64) x) #s(literal 2 binary64))) (/.f64 #s(literal 1 binary64) (-.f64 (exp.f64 (*.f64 #s(literal -2 binary64) x)) #s(literal -1 binary64))))
(*.f64 (expm1.f64 (*.f64 (*.f64 #s(literal -2 binary64) x) #s(literal 3 binary64))) (/.f64 #s(literal 1 binary64) (+.f64 (-.f64 (exp.f64 (*.f64 #s(literal -2 binary64) x)) #s(literal -1 binary64)) (exp.f64 (*.f64 (*.f64 #s(literal -2 binary64) x) #s(literal 2 binary64))))))
(*.f64 (exp.f64 (*.f64 #s(literal -2 binary64) x)) (neg.f64 (expm1.f64 (neg.f64 (*.f64 #s(literal -2 binary64) x)))))
(/.f64 (neg.f64 (expm1.f64 (*.f64 (*.f64 #s(literal -2 binary64) x) #s(literal 2 binary64)))) (neg.f64 (-.f64 (exp.f64 (*.f64 #s(literal -2 binary64) x)) #s(literal -1 binary64))))
(/.f64 (neg.f64 (expm1.f64 (*.f64 (*.f64 #s(literal -2 binary64) x) #s(literal 3 binary64)))) (neg.f64 (+.f64 (-.f64 (exp.f64 (*.f64 #s(literal -2 binary64) x)) #s(literal -1 binary64)) (exp.f64 (*.f64 (*.f64 #s(literal -2 binary64) x) #s(literal 2 binary64))))))
(/.f64 (expm1.f64 (*.f64 (*.f64 #s(literal -2 binary64) x) #s(literal 2 binary64))) (-.f64 (exp.f64 (*.f64 #s(literal -2 binary64) x)) #s(literal -1 binary64)))
(/.f64 (expm1.f64 (*.f64 (*.f64 #s(literal -2 binary64) x) #s(literal 3 binary64))) (+.f64 (exp.f64 (*.f64 (*.f64 #s(literal -2 binary64) x) #s(literal 2 binary64))) (-.f64 #s(literal 1 binary64) (*.f64 (exp.f64 (*.f64 #s(literal -2 binary64) x)) #s(literal -1 binary64)))))
(/.f64 (expm1.f64 (*.f64 (*.f64 #s(literal -2 binary64) x) #s(literal 3 binary64))) (+.f64 (-.f64 (exp.f64 (*.f64 #s(literal -2 binary64) x)) #s(literal -1 binary64)) (exp.f64 (*.f64 (*.f64 #s(literal -2 binary64) x) #s(literal 2 binary64)))))
(/.f64 #s(literal 1 binary64) (/.f64 (-.f64 (exp.f64 (*.f64 #s(literal -2 binary64) x)) #s(literal -1 binary64)) (expm1.f64 (*.f64 (*.f64 #s(literal -2 binary64) x) #s(literal 2 binary64)))))
(/.f64 #s(literal 1 binary64) (/.f64 (+.f64 (-.f64 (exp.f64 (*.f64 #s(literal -2 binary64) x)) #s(literal -1 binary64)) (exp.f64 (*.f64 (*.f64 #s(literal -2 binary64) x) #s(literal 2 binary64)))) (expm1.f64 (*.f64 (*.f64 #s(literal -2 binary64) x) #s(literal 3 binary64)))))
(neg.f64 (neg.f64 (expm1.f64 (*.f64 #s(literal -2 binary64) x))))
(fma.f64 (+.f64 #s(literal 1 binary64) (/.f64 (sinh.f64 (*.f64 #s(literal -2 binary64) x)) (cosh.f64 (*.f64 #s(literal -2 binary64) x)))) (cosh.f64 (*.f64 #s(literal -2 binary64) x)) #s(literal -1 binary64))
(fma.f64 (pow.f64 (exp.f64 #s(literal -2 binary64)) (/.f64 x #s(literal 2 binary64))) (pow.f64 (exp.f64 #s(literal -2 binary64)) (/.f64 x #s(literal 2 binary64))) #s(literal -1 binary64))
(fma.f64 (neg.f64 (expm1.f64 (neg.f64 (*.f64 #s(literal -2 binary64) x)))) (cosh.f64 (*.f64 #s(literal -2 binary64) x)) (*.f64 (neg.f64 (expm1.f64 (neg.f64 (*.f64 #s(literal -2 binary64) x)))) (sinh.f64 (*.f64 #s(literal -2 binary64) x))))
(fma.f64 (cosh.f64 (*.f64 #s(literal -2 binary64) x)) (neg.f64 (expm1.f64 (neg.f64 (*.f64 #s(literal -2 binary64) x)))) (*.f64 (sinh.f64 (*.f64 #s(literal -2 binary64) x)) (neg.f64 (expm1.f64 (neg.f64 (*.f64 #s(literal -2 binary64) x))))))
(fma.f64 (exp.f64 (*.f64 #s(literal -2 binary64) x)) #s(literal 1 binary64) #s(literal -1 binary64))
(fma.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)) #s(literal -1 binary64))
(expm1.f64 (fma.f64 #s(literal -2 binary64) x #s(literal 0 binary64)))
(expm1.f64 (*.f64 (log.f64 (exp.f64 #s(literal -2 binary64))) x))
(expm1.f64 (*.f64 #s(literal -2 binary64) x))
(-.f64 (/.f64 (exp.f64 (*.f64 (*.f64 #s(literal -2 binary64) x) #s(literal 2 binary64))) (-.f64 (exp.f64 (*.f64 #s(literal -2 binary64) x)) #s(literal -1 binary64))) (/.f64 #s(literal 1 binary64) (-.f64 (exp.f64 (*.f64 #s(literal -2 binary64) x)) #s(literal -1 binary64))))
(-.f64 (/.f64 (exp.f64 (*.f64 (*.f64 #s(literal -2 binary64) x) #s(literal 3 binary64))) (+.f64 (-.f64 (exp.f64 (*.f64 #s(literal -2 binary64) x)) #s(literal -1 binary64)) (exp.f64 (*.f64 (*.f64 #s(literal -2 binary64) x) #s(literal 2 binary64))))) (/.f64 #s(literal 1 binary64) (+.f64 (-.f64 (exp.f64 (*.f64 #s(literal -2 binary64) x)) #s(literal -1 binary64)) (exp.f64 (*.f64 (*.f64 #s(literal -2 binary64) x) #s(literal 2 binary64))))))
(-.f64 (exp.f64 (*.f64 #s(literal -2 binary64) x)) #s(literal 1 binary64))
(+.f64 (*.f64 (neg.f64 (expm1.f64 (neg.f64 (*.f64 #s(literal -2 binary64) x)))) (cosh.f64 (*.f64 #s(literal -2 binary64) x))) (*.f64 (neg.f64 (expm1.f64 (neg.f64 (*.f64 #s(literal -2 binary64) x)))) (sinh.f64 (*.f64 #s(literal -2 binary64) x))))
(+.f64 (*.f64 (cosh.f64 (*.f64 #s(literal -2 binary64) x)) (neg.f64 (expm1.f64 (neg.f64 (*.f64 #s(literal -2 binary64) x))))) (*.f64 (sinh.f64 (*.f64 #s(literal -2 binary64) x)) (neg.f64 (expm1.f64 (neg.f64 (*.f64 #s(literal -2 binary64) x))))))
(+.f64 #s(literal -1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))
(+.f64 (cosh.f64 (*.f64 #s(literal -2 binary64) x)) (+.f64 (sinh.f64 (*.f64 #s(literal -2 binary64) x)) #s(literal -1 binary64)))
(+.f64 (cosh.f64 (*.f64 #s(literal -2 binary64) x)) (-.f64 (sinh.f64 (*.f64 #s(literal -2 binary64) x)) #s(literal 1 binary64)))
(+.f64 (exp.f64 (*.f64 #s(literal -2 binary64) x)) #s(literal -1 binary64))
(*.f64 #s(literal -2 binary64) x)
(*.f64 x #s(literal -2 binary64))
#s(literal -2 binary64)
#s(literal 1/2 binary64)

eval12.0ms (0.4%)

Memory
-6.5MiB live, 35.4MiB allocated; 9ms collecting garbage
Compiler

Compiled 2 128 to 466 computations (78.1% saved)

prune3.0ms (0.1%)

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

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New83083
Fresh000
Picked011
Done022
Total83386
Accuracy
100.0%
Counts
86 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 (*.f64 (exp.f64 x) (neg.f64 #s(approx (- (exp (- (neg x) x)) 1) (expm1.f64 (*.f64 #s(literal -2 binary64) x))))) #s(literal 1/2 binary64))
100.0%
(sinh.f64 x)
48.8%
#s(approx (/ (- (exp x) (exp (neg x))) 2) x)
Compiler

Compiled 30 to 25 computations (16.7% saved)

regimes1.2s (33.9%)

Memory
-599.9MiB live, 186.9MiB allocated; 1.7s collecting garbage
Accuracy

Total 0.0b remaining (0%)

Threshold costs 0b (0%)

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

6 calls:

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

Compiled 97 to 59 computations (39.2% saved)

derivations7.0ms (0.2%)

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

Compiled 12 to 9 computations (25% saved)

preprocess43.0ms (1.2%)

Memory
-15.0MiB live, 76.1MiB allocated; 40ms collecting garbage
Remove

(negabs x)

Compiler

Compiled 44 to 36 computations (18.2% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...