Hyperbolic sine

Time bar (total: 1.8s)

start0.0ms (0%)

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

analyze0.0ms (0%)

Memory
0.3MiB live, 0.3MiB 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.6s (87%)

Memory
51.3MiB live, 2 122.4MiB allocated; 425ms collecting garbage
Samples
647.0ms1 601×2valid
375.0ms2 276×1valid
272.0ms4 379×0valid
Precisions
Click to see histograms. Total time spent on operations: 1.0s
ival-exp: 797.0ms (78.1% of total)
adjust: 77.0ms (7.5% of total)
ival-div!: 74.0ms (7.3% of total)
ival-sub!: 41.0ms (4% of total)
ival-neg: 32.0ms (3.1% of total)
Bogosity

preprocess57.0ms (3.1%)

Memory
-3.9MiB live, 41.2MiB allocated; 6ms 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
54.5%
(/.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.4%)

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

rewrite53.0ms (2.9%)

Memory
11.3MiB live, 55.9MiB allocated; 5ms 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)

eval26.0ms (1.4%)

Memory
-13.9MiB live, 36.9MiB allocated; 15ms collecting garbage
Compiler

Compiled 2 123 to 511 computations (75.9% saved)

prune3.0ms (0.1%)

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

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1432145
Fresh000
Picked101
Done000
Total1442146
Accuracy
100.0%
Counts
146 → 2
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(sinh.f64 x)
51.7%
#s(approx (/ (- (exp x) (exp (neg x))) 2) x)
Compiler

Compiled 12 to 10 computations (16.7% saved)

series5.0ms (0.3%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
045129
Stop Event
iter-limit
Counts
3 → 7
Calls
Call 1
Inputs
#s(approx (/ (- (exp x) (exp (neg x))) 2) x)
x
(sinh.f64 x)
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))) 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 (/ (- (exp x) (exp (neg x))) 2) (*.f64 #s(literal 1/2 binary64) (-.f64 (exp.f64 x) (exp.f64 (*.f64 #s(literal -1 binary64) x)))))
Calls

3 calls:

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

rewrite48.0ms (2.6%)

Memory
-5.1MiB live, 40.3MiB allocated; 5ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0913
0107
1557
05477
Stop Event
iter-limit
iter-limit
node-limit
iter-limit
Counts
3 → 37
Calls
Call 1
Inputs
#s(approx (/ (- (exp x) (exp (neg x))) 2) x)
x
(sinh.f64 x)
Outputs
#s(approx (/ (- (exp x) (exp (neg x))) 2) x)
x
(*.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)))

eval4.0ms (0.2%)

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

Compiled 542 to 144 computations (73.4% saved)

prune2.0ms (0.1%)

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

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New40040
Fresh000
Picked022
Done000
Total40242
Accuracy
100.0%
Counts
42 → 2
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(sinh.f64 x)
51.7%
#s(approx (/ (- (exp x) (exp (neg x))) 2) x)
Compiler

Compiled 12 to 10 computations (16.7% saved)

regimes11.0ms (0.6%)

Memory
-26.5MiB live, 19.1MiB allocated; 4ms collecting garbage
Accuracy

Total 0.0b remaining (0%)

Threshold costs 0b (0%)

Counts
1 → 1
3 → 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) (exp.f64 (neg.f64 x))) #s(literal 2 binary64))
Outputs
(sinh.f64 x)
Calls

6 calls:

4.0ms
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) #s(literal 2 binary64))
1.0ms
x
1.0ms
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
1.0ms
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) #s(literal 2 binary64))
1.0ms
x
Results
AccuracySegmentsBranch
51.7%1(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
51.7%1(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) #s(literal 2 binary64))
51.7%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 50 to 41 computations (18% saved)

derivations3.0ms (0.1%)

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

Compiled 12 to 9 computations (25% saved)

preprocess19.0ms (1.1%)

Memory
-2.8MiB live, 43.3MiB allocated; 4ms collecting garbage
Remove

(negabs x)

Compiler

Compiled 44 to 36 computations (18.2% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...