Hyperbolic tangent

Time bar (total: 4.0s)

start0.0ms (0%)

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

analyze0.0ms (0%)

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

Compiled 15 to 9 computations (40% saved)

sample3.4s (85.3%)

Memory
72.6MiB live, 3 321.0MiB allocated; 532ms collecting garbage
Samples
1.5s3 298×2valid
805.0ms4 610×1valid
475.0ms7 617×0exit
38.0ms348×0valid
Precisions
Click to see histograms. Total time spent on operations: 2.3s
ival-exp: 1.6s (70.2% of total)
adjust: 333.0ms (14.6% of total)
ival-div!: 120.0ms (5.3% of total)
ival-sub!: 95.0ms (4.2% of total)
ival-neg: 70.0ms (3.1% of total)
ival-add!: 61.0ms (2.7% of total)
Bogosity

preprocess60.0ms (1.5%)

Memory
-32.9MiB live, 31.4MiB allocated; 18ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0137
1577
22137
315887
Stop Event
node-limit
Alt Table
Click to see full alt table
StatusAccuracyProgram
8.7%
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
Symmetry

(negabs x)

Compiler

Compiled 20 to 14 computations (30% saved)

series4.0ms (0.1%)

Memory
3.5MiB live, 3.5MiB allocated; 0ms collecting garbage
Counts
7 → 31
Calls
Call 1
Inputs
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
(exp.f64 x)
x
(exp.f64 (neg.f64 x))
(neg.f64 x)
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
Outputs
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) #s(hole binary64 x))
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) #s(hole binary64 (* x (+ 1 (* -1/3 (pow x 2))))))
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) #s(hole binary64 (* x (+ 1 (* (pow x 2) (- (* 2/15 (pow x 2)) 1/3))))))
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) #s(hole binary64 (* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 2/15 (* -17/315 (pow x 2)))) 1/3))))))
#s(approx (- (exp x) (exp (neg x))) #s(hole binary64 (* 2 x)))
#s(approx (- (exp x) (exp (neg x))) #s(hole binary64 (* x (+ 2 (* 1/3 (pow x 2))))))
#s(approx (- (exp x) (exp (neg x))) #s(hole binary64 (* x (+ 2 (* (pow x 2) (+ 1/3 (* 1/60 (pow x 2))))))))
#s(approx (- (exp x) (exp (neg x))) #s(hole binary64 (* x (+ 2 (* (pow x 2) (+ 1/3 (* (pow x 2) (+ 1/60 (* 1/2520 (pow x 2))))))))))
#s(approx (exp x) #s(hole binary64 1))
#s(approx (exp x) #s(hole binary64 (+ 1 x)))
#s(approx (exp x) #s(hole binary64 (+ 1 (* x (+ 1 (* 1/2 x))))))
#s(approx (exp x) #s(hole binary64 (+ 1 (* x (+ 1 (* x (+ 1/2 (* 1/6 x))))))))
#s(approx x #s(hole binary64 x))
#s(approx (exp (neg x)) #s(hole binary64 1))
#s(approx (exp (neg x)) #s(hole binary64 (+ 1 (* -1 x))))
#s(approx (exp (neg x)) #s(hole binary64 (+ 1 (* x (- (* 1/2 x) 1)))))
#s(approx (exp (neg x)) #s(hole binary64 (+ 1 (* x (- (* x (+ 1/2 (* -1/6 x))) 1)))))
#s(approx (neg x) #s(hole binary64 (* -1 x)))
#s(approx (+ (exp x) (exp (neg x))) #s(hole binary64 2))
#s(approx (+ (exp x) (exp (neg x))) #s(hole binary64 (+ 2 (pow x 2))))
#s(approx (+ (exp x) (exp (neg x))) #s(hole binary64 (+ 2 (* (pow x 2) (+ 1 (* 1/12 (pow x 2)))))))
#s(approx (+ (exp x) (exp (neg x))) #s(hole binary64 (+ 2 (* (pow x 2) (+ 1 (* (pow x 2) (+ 1/12 (* 1/360 (pow x 2)))))))))
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) #s(hole binary64 (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x))))))
#s(approx (- (exp x) (exp (neg x))) #s(hole binary64 (- (exp x) (exp (neg x)))))
#s(approx (exp x) #s(hole binary64 (exp x)))
#s(approx (exp (neg x)) #s(hole binary64 (exp (neg x))))
#s(approx (+ (exp x) (exp (neg x))) #s(hole binary64 (+ (exp x) (exp (neg x)))))
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) #s(hole binary64 (/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x))))))
#s(approx (- (exp x) (exp (neg x))) #s(hole binary64 (- (exp x) (exp (* -1 x)))))
#s(approx (exp (neg x)) #s(hole binary64 (exp (* -1 x))))
#s(approx (+ (exp x) (exp (neg x))) #s(hole binary64 (+ (exp x) (exp (* -1 x)))))
Calls

3 calls:

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

rewrite212.0ms (5.3%)

Memory
9.4MiB live, 143.9MiB allocated; 25ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0127498
0137356
1751345
06304319
Stop Event
iter-limit
iter-limit
node-limit
iter-limit
Counts
38 → 120
Calls
Call 1
Inputs
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
(exp.f64 x)
x
(exp.f64 (neg.f64 x))
(neg.f64 x)
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) #s(hole binary64 x))
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) #s(hole binary64 (* x (+ 1 (* -1/3 (pow x 2))))))
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) #s(hole binary64 (* x (+ 1 (* (pow x 2) (- (* 2/15 (pow x 2)) 1/3))))))
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) #s(hole binary64 (* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 2/15 (* -17/315 (pow x 2)))) 1/3))))))
#s(approx (- (exp x) (exp (neg x))) #s(hole binary64 (* 2 x)))
#s(approx (- (exp x) (exp (neg x))) #s(hole binary64 (* x (+ 2 (* 1/3 (pow x 2))))))
#s(approx (- (exp x) (exp (neg x))) #s(hole binary64 (* x (+ 2 (* (pow x 2) (+ 1/3 (* 1/60 (pow x 2))))))))
#s(approx (- (exp x) (exp (neg x))) #s(hole binary64 (* x (+ 2 (* (pow x 2) (+ 1/3 (* (pow x 2) (+ 1/60 (* 1/2520 (pow x 2))))))))))
#s(approx (exp x) #s(hole binary64 1))
#s(approx (exp x) #s(hole binary64 (+ 1 x)))
#s(approx (exp x) #s(hole binary64 (+ 1 (* x (+ 1 (* 1/2 x))))))
#s(approx (exp x) #s(hole binary64 (+ 1 (* x (+ 1 (* x (+ 1/2 (* 1/6 x))))))))
#s(approx x #s(hole binary64 x))
#s(approx (exp (neg x)) #s(hole binary64 1))
#s(approx (exp (neg x)) #s(hole binary64 (+ 1 (* -1 x))))
#s(approx (exp (neg x)) #s(hole binary64 (+ 1 (* x (- (* 1/2 x) 1)))))
#s(approx (exp (neg x)) #s(hole binary64 (+ 1 (* x (- (* x (+ 1/2 (* -1/6 x))) 1)))))
#s(approx (neg x) #s(hole binary64 (* -1 x)))
#s(approx (+ (exp x) (exp (neg x))) #s(hole binary64 2))
#s(approx (+ (exp x) (exp (neg x))) #s(hole binary64 (+ 2 (pow x 2))))
#s(approx (+ (exp x) (exp (neg x))) #s(hole binary64 (+ 2 (* (pow x 2) (+ 1 (* 1/12 (pow x 2)))))))
#s(approx (+ (exp x) (exp (neg x))) #s(hole binary64 (+ 2 (* (pow x 2) (+ 1 (* (pow x 2) (+ 1/12 (* 1/360 (pow x 2)))))))))
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) #s(hole binary64 (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x))))))
#s(approx (- (exp x) (exp (neg x))) #s(hole binary64 (- (exp x) (exp (neg x)))))
#s(approx (exp x) #s(hole binary64 (exp x)))
#s(approx (exp (neg x)) #s(hole binary64 (exp (neg x))))
#s(approx (+ (exp x) (exp (neg x))) #s(hole binary64 (+ (exp x) (exp (neg x)))))
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) #s(hole binary64 (/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x))))))
#s(approx (- (exp x) (exp (neg x))) #s(hole binary64 (- (exp x) (exp (* -1 x)))))
#s(approx (exp (neg x)) #s(hole binary64 (exp (* -1 x))))
#s(approx (+ (exp x) (exp (neg x))) #s(hole binary64 (+ (exp x) (exp (* -1 x)))))
Outputs
(tanh.f64 x)
(*.f64 (/.f64 (*.f64 (sinh.f64 x) #s(literal 2 binary64)) (-.f64 (exp.f64 (+.f64 x x)) (exp.f64 (*.f64 (neg.f64 x) #s(literal 2 binary64))))) (*.f64 (sinh.f64 x) #s(literal 2 binary64)))
(*.f64 (/.f64 (*.f64 (sinh.f64 x) #s(literal 2 binary64)) (+.f64 (exp.f64 (*.f64 (neg.f64 x) #s(literal 3 binary64))) (exp.f64 (*.f64 x #s(literal 3 binary64))))) (+.f64 (expm1.f64 (*.f64 (neg.f64 x) #s(literal 2 binary64))) (exp.f64 (+.f64 x x))))
(*.f64 #s(literal 2 binary64) (/.f64 (sinh.f64 x) (*.f64 (cosh.f64 x) #s(literal 2 binary64))))
(*.f64 #s(literal 1 binary64) (tanh.f64 x))
(/.f64 (-.f64 (*.f64 (/.f64 (exp.f64 x) (*.f64 (cosh.f64 x) #s(literal 2 binary64))) (/.f64 (exp.f64 x) (*.f64 (cosh.f64 x) #s(literal 2 binary64)))) (*.f64 (/.f64 (exp.f64 (neg.f64 x)) (*.f64 (cosh.f64 x) #s(literal 2 binary64))) (/.f64 (exp.f64 (neg.f64 x)) (*.f64 (cosh.f64 x) #s(literal 2 binary64))))) (+.f64 (/.f64 (exp.f64 x) (*.f64 (cosh.f64 x) #s(literal 2 binary64))) (/.f64 (exp.f64 (neg.f64 x)) (*.f64 (cosh.f64 x) #s(literal 2 binary64)))))
(/.f64 (expm1.f64 (+.f64 x x)) (+.f64 (exp.f64 (+.f64 x x)) #s(literal 1 binary64)))
(/.f64 (-.f64 (pow.f64 (/.f64 (exp.f64 x) (*.f64 (cosh.f64 x) #s(literal 2 binary64))) #s(literal 3 binary64)) (pow.f64 (/.f64 (exp.f64 (neg.f64 x)) (*.f64 (cosh.f64 x) #s(literal 2 binary64))) #s(literal 3 binary64))) (fma.f64 (/.f64 (exp.f64 x) (*.f64 (cosh.f64 x) #s(literal 2 binary64))) (/.f64 (exp.f64 x) (*.f64 (cosh.f64 x) #s(literal 2 binary64))) (fma.f64 (/.f64 (exp.f64 (neg.f64 x)) (*.f64 (cosh.f64 x) #s(literal 2 binary64))) (/.f64 (exp.f64 (neg.f64 x)) (*.f64 (cosh.f64 x) #s(literal 2 binary64))) (*.f64 (/.f64 (exp.f64 x) (*.f64 (cosh.f64 x) #s(literal 2 binary64))) (/.f64 (exp.f64 (neg.f64 x)) (*.f64 (cosh.f64 x) #s(literal 2 binary64)))))))
(/.f64 (-.f64 (*.f64 (exp.f64 x) (*.f64 (cosh.f64 x) #s(literal 2 binary64))) (*.f64 (*.f64 (cosh.f64 x) #s(literal 2 binary64)) (exp.f64 (neg.f64 x)))) (*.f64 (*.f64 (cosh.f64 x) #s(literal 2 binary64)) (*.f64 (cosh.f64 x) #s(literal 2 binary64))))
(/.f64 (neg.f64 (*.f64 #s(literal -2 binary64) (sinh.f64 x))) (neg.f64 (*.f64 #s(literal -2 binary64) (cosh.f64 x))))
(/.f64 (-.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x))) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x))))
(/.f64 (-.f64 (exp.f64 (+.f64 x x)) (exp.f64 (*.f64 (neg.f64 x) #s(literal 2 binary64)))) (*.f64 (*.f64 (cosh.f64 x) #s(literal 2 binary64)) (*.f64 (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) #s(literal 2 binary64))) #s(literal 1 binary64)) (exp.f64 (+.f64 x x))) (*.f64 (cosh.f64 x) #s(literal 2 binary64))))
(/.f64 (*.f64 #s(literal -2 binary64) (sinh.f64 x)) (*.f64 #s(literal -2 binary64) (cosh.f64 x)))
(/.f64 (sinh.f64 x) (cosh.f64 x))
(/.f64 (*.f64 (sinh.f64 x) #s(literal 2 binary64)) (*.f64 (cosh.f64 x) #s(literal 2 binary64)))
(neg.f64 (/.f64 (*.f64 (sinh.f64 x) #s(literal 2 binary64)) (*.f64 #s(literal -2 binary64) (cosh.f64 x))))
(neg.f64 (/.f64 (*.f64 #s(literal -2 binary64) (sinh.f64 x)) (*.f64 (cosh.f64 x) #s(literal 2 binary64))))
(-.f64 (/.f64 (exp.f64 x) (*.f64 (cosh.f64 x) #s(literal 2 binary64))) (/.f64 (exp.f64 (neg.f64 x)) (*.f64 (cosh.f64 x) #s(literal 2 binary64))))
(*.f64 (/.f64 (-.f64 (exp.f64 (+.f64 x x)) (exp.f64 (*.f64 (neg.f64 x) #s(literal 2 binary64)))) (-.f64 (exp.f64 (+.f64 x x)) (exp.f64 (*.f64 (neg.f64 x) #s(literal 2 binary64))))) (*.f64 (sinh.f64 x) #s(literal 2 binary64)))
(*.f64 (/.f64 (-.f64 (exp.f64 (+.f64 x x)) (exp.f64 (*.f64 (neg.f64 x) #s(literal 2 binary64)))) (+.f64 (exp.f64 (*.f64 (neg.f64 x) #s(literal 3 binary64))) (exp.f64 (*.f64 x #s(literal 3 binary64))))) (+.f64 (expm1.f64 (*.f64 (neg.f64 x) #s(literal 2 binary64))) (exp.f64 (+.f64 x x))))
(*.f64 (sinh.f64 x) #s(literal 2 binary64))
(*.f64 #s(literal 2 binary64) (sinh.f64 x))
(/.f64 (/.f64 (-.f64 (exp.f64 (+.f64 x x)) (exp.f64 (*.f64 (neg.f64 x) #s(literal 2 binary64)))) #s(literal 2 binary64)) (cosh.f64 x))
(/.f64 (neg.f64 (-.f64 (exp.f64 (+.f64 x x)) (exp.f64 (*.f64 (neg.f64 x) #s(literal 2 binary64))))) (*.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) #s(literal 2 binary64))) #s(literal 1 binary64)) (exp.f64 (+.f64 x x)))))
(/.f64 (-.f64 (exp.f64 (+.f64 x x)) (exp.f64 (*.f64 (neg.f64 x) #s(literal 2 binary64)))) (*.f64 (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 (exp.f64 (*.f64 (neg.f64 x) #s(literal 2 binary64))) #s(literal 1 binary64)) (exp.f64 (+.f64 x x))))
(-.f64 (-.f64 (exp.f64 x) (cosh.f64 x)) (sinh.f64 (neg.f64 x)))
(-.f64 (/.f64 (exp.f64 (+.f64 x x)) (*.f64 (cosh.f64 x) #s(literal 2 binary64))) (/.f64 (exp.f64 (*.f64 (neg.f64 x) #s(literal 2 binary64))) (*.f64 (cosh.f64 x) #s(literal 2 binary64))))
(-.f64 (/.f64 (exp.f64 (*.f64 x #s(literal 3 binary64))) (+.f64 (+.f64 (exp.f64 (*.f64 (neg.f64 x) #s(literal 2 binary64))) #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) #s(literal 2 binary64))) #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 (sinh.f64 x) (sinh.f64 x))
(+.f64 (cosh.f64 x) (-.f64 (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)))))
(/.f64 #s(literal 1 binary64) (exp.f64 (neg.f64 x)))
(exp.f64 x)
(+.f64 (sinh.f64 x) (cosh.f64 x))
(+.f64 (cosh.f64 x) (sinh.f64 x))
x
(*.f64 (pow.f64 (exp.f64 #s(literal -1 binary64)) (/.f64 x #s(literal 2 binary64))) (pow.f64 (exp.f64 #s(literal -1 binary64)) (/.f64 x #s(literal 2 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 (-.f64 (*.f64 (cosh.f64 x) (cosh.f64 x)) (*.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 (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 2 binary64) (*.f64 #s(literal 2 binary64) (exp.f64 x)))
(/.f64 #s(literal 1 binary64) (exp.f64 x))
(neg.f64 (/.f64 #s(literal -1 binary64) (exp.f64 x)))
(-.f64 (cosh.f64 x) (sinh.f64 x))
(exp.f64 (-.f64 #s(literal 0 binary64) x))
(exp.f64 (*.f64 (log.f64 (exp.f64 #s(literal -1 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 #s(literal -1 binary64) x)
(*.f64 #s(literal 1 binary64) (neg.f64 x))
(*.f64 (neg.f64 x) #s(literal 1 binary64))
(*.f64 x #s(literal -1 binary64))
(/.f64 (*.f64 #s(literal 2 binary64) (neg.f64 x)) #s(literal 2 binary64))
(neg.f64 (*.f64 #s(literal -1 binary64) (neg.f64 x)))
(neg.f64 x)
(*.f64 (/.f64 (-.f64 (exp.f64 (+.f64 x x)) (exp.f64 (*.f64 (neg.f64 x) #s(literal 2 binary64)))) (-.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) #s(literal 2 binary64))) #s(literal 1 binary64)) (exp.f64 (+.f64 x x))))
(*.f64 (/.f64 (-.f64 (exp.f64 (+.f64 x x)) (exp.f64 (*.f64 (neg.f64 x) #s(literal 2 binary64)))) (-.f64 (exp.f64 (+.f64 x x)) (exp.f64 (*.f64 (neg.f64 x) #s(literal 2 binary64))))) (*.f64 (cosh.f64 x) #s(literal 2 binary64)))
(*.f64 (cosh.f64 x) #s(literal 2 binary64))
(*.f64 #s(literal 2 binary64) (cosh.f64 x))
(/.f64 (/.f64 (-.f64 (exp.f64 (+.f64 x x)) (exp.f64 (*.f64 (neg.f64 x) #s(literal 2 binary64)))) #s(literal 2 binary64)) (sinh.f64 x))
(/.f64 (-.f64 (exp.f64 (*.f64 (neg.f64 x) #s(literal 2 binary64))) (exp.f64 (+.f64 x x))) (-.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)))
(/.f64 (neg.f64 (+.f64 (exp.f64 (*.f64 (neg.f64 x) #s(literal 3 binary64))) (exp.f64 (*.f64 x #s(literal 3 binary64))))) (neg.f64 (+.f64 (expm1.f64 (*.f64 (neg.f64 x) #s(literal 2 binary64))) (exp.f64 (+.f64 x x)))))
(/.f64 (neg.f64 (-.f64 (exp.f64 (+.f64 x x)) (exp.f64 (*.f64 (neg.f64 x) #s(literal 2 binary64))))) (*.f64 #s(literal -2 binary64) (sinh.f64 x)))
(/.f64 (-.f64 (exp.f64 (+.f64 x x)) (exp.f64 (*.f64 (neg.f64 x) #s(literal 2 binary64)))) (*.f64 (sinh.f64 x) #s(literal 2 binary64)))
(/.f64 (+.f64 (exp.f64 (*.f64 (neg.f64 x) #s(literal 3 binary64))) (exp.f64 (*.f64 x #s(literal 3 binary64)))) (+.f64 (exp.f64 (*.f64 (neg.f64 x) #s(literal 2 binary64))) (expm1.f64 (+.f64 x x))))
(/.f64 (+.f64 (exp.f64 (*.f64 (neg.f64 x) #s(literal 3 binary64))) (exp.f64 (*.f64 x #s(literal 3 binary64)))) (+.f64 (expm1.f64 (*.f64 (neg.f64 x) #s(literal 2 binary64))) (exp.f64 (+.f64 x x))))
(fma.f64 (pow.f64 (exp.f64 #s(literal -1 binary64)) (/.f64 x #s(literal 2 binary64))) (pow.f64 (exp.f64 #s(literal -1 binary64)) (/.f64 x #s(literal 2 binary64))) (exp.f64 x))
(fma.f64 #s(literal 1 binary64) (exp.f64 (neg.f64 x)) (exp.f64 x))
(-.f64 (+.f64 (exp.f64 x) (cosh.f64 x)) (sinh.f64 x))
(-.f64 (/.f64 (exp.f64 (+.f64 x x)) (*.f64 (sinh.f64 x) #s(literal 2 binary64))) (/.f64 (exp.f64 (*.f64 (neg.f64 x) #s(literal 2 binary64))) (*.f64 (sinh.f64 x) #s(literal 2 binary64))))
(-.f64 (cosh.f64 x) (-.f64 (sinh.f64 x) (exp.f64 x)))
(+.f64 (+.f64 (exp.f64 (neg.f64 x)) (cosh.f64 x)) (sinh.f64 x))
(+.f64 (+.f64 (exp.f64 x) (cosh.f64 x)) (sinh.f64 (neg.f64 x)))
(+.f64 (/.f64 (exp.f64 (*.f64 x #s(literal 3 binary64))) (+.f64 (expm1.f64 (*.f64 (neg.f64 x) #s(literal 2 binary64))) (exp.f64 (+.f64 x x)))) (/.f64 (exp.f64 (*.f64 (neg.f64 x) #s(literal 3 binary64))) (+.f64 (expm1.f64 (*.f64 (neg.f64 x) #s(literal 2 binary64))) (exp.f64 (+.f64 x x)))))
(+.f64 (cosh.f64 x) (+.f64 (sinh.f64 (neg.f64 x)) (exp.f64 x)))
(+.f64 (cosh.f64 x) (+.f64 (sinh.f64 x) (exp.f64 (neg.f64 x))))
(+.f64 (cosh.f64 x) (cosh.f64 x))
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) x)
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (*.f64 (fma.f64 (*.f64 x x) #s(literal -1/3 binary64) #s(literal 1 binary64)) x))
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (*.f64 (fma.f64 (-.f64 (*.f64 #s(literal 2/15 binary64) (*.f64 x x)) #s(literal 1/3 binary64)) (*.f64 x x) #s(literal 1 binary64)) x))
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (*.f64 (fma.f64 (*.f64 (-.f64 (*.f64 (*.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) x) x) #s(literal 1/3 binary64)) x) x #s(literal 1 binary64)) x))
#s(approx (- (exp x) (exp (neg x))) (+.f64 x x))
#s(approx (- (exp x) (exp (neg x))) (*.f64 (fma.f64 #s(literal 1/3 binary64) (*.f64 x x) #s(literal 2 binary64)) x))
#s(approx (- (exp x) (exp (neg x))) (*.f64 (fma.f64 (fma.f64 #s(literal 1/60 binary64) (*.f64 x x) #s(literal 1/3 binary64)) (*.f64 x x) #s(literal 2 binary64)) x))
#s(approx (- (exp x) (exp (neg x))) (*.f64 (fma.f64 (*.f64 (fma.f64 (fma.f64 #s(literal 1/2520 binary64) (*.f64 x x) #s(literal 1/60 binary64)) (*.f64 x x) #s(literal 1/3 binary64)) x) x #s(literal 2 binary64)) x))
#s(approx (exp x) #s(literal 1 binary64))
#s(approx (exp x) (-.f64 x #s(literal -1 binary64)))
#s(approx (exp x) (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x #s(literal 1 binary64)))
#s(approx (exp x) (fma.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x #s(literal 1 binary64)))
#s(approx x x)
#s(approx (exp (neg x)) #s(literal 1 binary64))
#s(approx (exp (neg x)) (-.f64 #s(literal 1 binary64) x))
#s(approx (exp (neg x)) (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal -1 binary64)) x #s(literal 1 binary64)))
#s(approx (exp (neg x)) (fma.f64 (fma.f64 (fma.f64 #s(literal -1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal -1 binary64)) x #s(literal 1 binary64)))
#s(approx (neg x) (neg.f64 x))
#s(approx (+ (exp x) (exp (neg x))) #s(literal 2 binary64))
#s(approx (+ (exp x) (exp (neg x))) (fma.f64 x x #s(literal 2 binary64)))
#s(approx (+ (exp x) (exp (neg x))) (fma.f64 (fma.f64 #s(literal 1/12 binary64) (*.f64 x x) #s(literal 1 binary64)) (*.f64 x x) #s(literal 2 binary64)))
#s(approx (+ (exp x) (exp (neg x))) (fma.f64 (*.f64 (fma.f64 (fma.f64 #s(literal 1/360 binary64) (*.f64 x x) #s(literal 1/12 binary64)) (*.f64 x x) #s(literal 1 binary64)) x) x #s(literal 2 binary64)))
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (tanh.f64 x))
#s(approx (- (exp x) (exp (neg x))) (*.f64 (sinh.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) (exp (neg x))) (*.f64 (cosh.f64 x) #s(literal 2 binary64)))
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (tanh.f64 x))
#s(approx (- (exp x) (exp (neg x))) (*.f64 (sinh.f64 x) #s(literal 2 binary64)))
#s(approx (exp (neg x)) (exp.f64 (neg.f64 x)))
#s(approx (+ (exp x) (exp (neg x))) (*.f64 (cosh.f64 x) #s(literal 2 binary64)))

eval11.0ms (0.3%)

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

Compiled 1 272 to 461 computations (63.8% saved)

prune4.0ms (0.1%)

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

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1064110
Fresh000
Picked101
Done000
Total1074111
Accuracy
100.0%
Counts
111 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
96.5%
(/.f64 (sinh.f64 x) (cosh.f64 x))
100.0%
(tanh.f64 x)
95.7%
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (*.f64 (fma.f64 (*.f64 x x) #s(literal -1/3 binary64) #s(literal 1 binary64)) x))
95.6%
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) x)
Compiler

Compiled 33 to 27 computations (18.2% saved)

series11.0ms (0.3%)

Memory
7.6MiB live, 7.6MiB allocated; 0ms collecting garbage
Counts
12 → 37
Calls
Call 1
Inputs
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) x)
x
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (*.f64 (fma.f64 (*.f64 x x) #s(literal -1/3 binary64) #s(literal 1 binary64)) x))
(*.f64 (fma.f64 (*.f64 x x) #s(literal -1/3 binary64) #s(literal 1 binary64)) x)
(fma.f64 (*.f64 x x) #s(literal -1/3 binary64) #s(literal 1 binary64))
(*.f64 x x)
#s(literal -1/3 binary64)
#s(literal 1 binary64)
(tanh.f64 x)
(/.f64 (sinh.f64 x) (cosh.f64 x))
(sinh.f64 x)
(cosh.f64 x)
Outputs
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) #s(hole binary64 x))
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) #s(hole binary64 (* x (+ 1 (* -1/3 (pow x 2))))))
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) #s(hole binary64 (* x (+ 1 (* (pow x 2) (- (* 2/15 (pow x 2)) 1/3))))))
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) #s(hole binary64 (* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 2/15 (* -17/315 (pow x 2)))) 1/3))))))
#s(approx x #s(hole binary64 x))
#s(approx (* (+ (* (* x x) -1/3) 1) x) #s(hole binary64 x))
#s(approx (* (+ (* (* x x) -1/3) 1) x) #s(hole binary64 (* x (+ 1 (* -1/3 (pow x 2))))))
#s(approx (+ (* (* x x) -1/3) 1) #s(hole binary64 1))
#s(approx (+ (* (* x x) -1/3) 1) #s(hole binary64 (+ 1 (* -1/3 (pow x 2)))))
#s(approx (* x x) #s(hole binary64 (pow x 2)))
#s(approx (tanh x) #s(hole binary64 x))
#s(approx (tanh x) #s(hole binary64 (* x (+ 1 (* -1/3 (pow x 2))))))
#s(approx (tanh x) #s(hole binary64 (* x (+ 1 (* (pow x 2) (- (* 2/15 (pow x 2)) 1/3))))))
#s(approx (tanh x) #s(hole binary64 (* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 2/15 (* -17/315 (pow x 2)))) 1/3))))))
#s(approx (/ (sinh x) (cosh x)) #s(hole binary64 x))
#s(approx (/ (sinh x) (cosh x)) #s(hole binary64 (* x (+ 1 (* -1/3 (pow x 2))))))
#s(approx (/ (sinh x) (cosh x)) #s(hole binary64 (* x (+ 1 (* (pow x 2) (- (* 2/15 (pow x 2)) 1/3))))))
#s(approx (/ (sinh x) (cosh x)) #s(hole binary64 (* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 2/15 (* -17/315 (pow x 2)))) 1/3))))))
#s(approx (sinh x) #s(hole binary64 x))
#s(approx (sinh x) #s(hole binary64 (* x (+ 1 (* 1/6 (pow x 2))))))
#s(approx (sinh x) #s(hole binary64 (* x (+ 1 (* (pow x 2) (+ 1/6 (* 1/120 (pow x 2))))))))
#s(approx (sinh x) #s(hole binary64 (* x (+ 1 (* (pow x 2) (+ 1/6 (* (pow x 2) (+ 1/120 (* 1/5040 (pow x 2))))))))))
#s(approx (cosh x) #s(hole binary64 1))
#s(approx (cosh x) #s(hole binary64 (+ 1 (* 1/2 (pow x 2)))))
#s(approx (cosh x) #s(hole binary64 (+ 1 (* (pow x 2) (+ 1/2 (* 1/24 (pow x 2)))))))
#s(approx (cosh x) #s(hole binary64 (+ 1 (* (pow x 2) (+ 1/2 (* (pow x 2) (+ 1/24 (* 1/720 (pow x 2)))))))))
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) #s(hole binary64 (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x))))))
#s(approx (* (+ (* (* x x) -1/3) 1) x) #s(hole binary64 (* -1/3 (pow x 3))))
#s(approx (* (+ (* (* x x) -1/3) 1) x) #s(hole binary64 (* (pow x 3) (- (/ 1 (pow x 2)) 1/3))))
#s(approx (+ (* (* x x) -1/3) 1) #s(hole binary64 (* -1/3 (pow x 2))))
#s(approx (+ (* (* x x) -1/3) 1) #s(hole binary64 (* (pow x 2) (- (/ 1 (pow x 2)) 1/3))))
#s(approx (tanh x) #s(hole binary64 (/ (- (exp x) (/ 1 (exp x))) (+ (exp x) (/ 1 (exp x))))))
#s(approx (/ (sinh x) (cosh x)) #s(hole binary64 (/ (- (exp x) (/ 1 (exp x))) (+ (exp x) (/ 1 (exp x))))))
#s(approx (sinh x) #s(hole binary64 (* 1/2 (- (exp x) (/ 1 (exp x))))))
#s(approx (cosh x) #s(hole binary64 (* 1/2 (+ (exp x) (/ 1 (exp x))))))
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) #s(hole binary64 (/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x))))))
#s(approx (* (+ (* (* x x) -1/3) 1) x) #s(hole binary64 (* -1 (* (pow x 3) (- 1/3 (/ 1 (pow x 2)))))))
Calls

3 calls:

TimeVariablePointExpression
5.0ms
x
@inf
((/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) x (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (* (+ (* (* x x) -1/3) 1) x) (+ (* (* x x) -1/3) 1) (* x x) -1/3 1 (tanh x) (/ (sinh x) (cosh x)) (sinh x) (cosh x))
4.0ms
x
@-inf
((/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) x (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (* (+ (* (* x x) -1/3) 1) x) (+ (* (* x x) -1/3) 1) (* x x) -1/3 1 (tanh x) (/ (sinh x) (cosh x)) (sinh x) (cosh x))
2.0ms
x
@0
((/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) x (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (* (+ (* (* x x) -1/3) 1) x) (+ (* (* x x) -1/3) 1) (* x x) -1/3 1 (tanh x) (/ (sinh x) (cosh x)) (sinh x) (cosh x))

rewrite168.0ms (4.2%)

Memory
4.7MiB live, 104.3MiB allocated; 10ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0137673
0143499
1682466
05322434
Stop Event
iter-limit
iter-limit
node-limit
iter-limit
Counts
49 → 191
Calls
Call 1
Inputs
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) x)
x
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (*.f64 (fma.f64 (*.f64 x x) #s(literal -1/3 binary64) #s(literal 1 binary64)) x))
(*.f64 (fma.f64 (*.f64 x x) #s(literal -1/3 binary64) #s(literal 1 binary64)) x)
(fma.f64 (*.f64 x x) #s(literal -1/3 binary64) #s(literal 1 binary64))
(*.f64 x x)
#s(literal -1/3 binary64)
#s(literal 1 binary64)
(tanh.f64 x)
(/.f64 (sinh.f64 x) (cosh.f64 x))
(sinh.f64 x)
(cosh.f64 x)
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) #s(hole binary64 x))
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) #s(hole binary64 (* x (+ 1 (* -1/3 (pow x 2))))))
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) #s(hole binary64 (* x (+ 1 (* (pow x 2) (- (* 2/15 (pow x 2)) 1/3))))))
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) #s(hole binary64 (* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 2/15 (* -17/315 (pow x 2)))) 1/3))))))
#s(approx x #s(hole binary64 x))
#s(approx (* (+ (* (* x x) -1/3) 1) x) #s(hole binary64 x))
#s(approx (* (+ (* (* x x) -1/3) 1) x) #s(hole binary64 (* x (+ 1 (* -1/3 (pow x 2))))))
#s(approx (+ (* (* x x) -1/3) 1) #s(hole binary64 1))
#s(approx (+ (* (* x x) -1/3) 1) #s(hole binary64 (+ 1 (* -1/3 (pow x 2)))))
#s(approx (* x x) #s(hole binary64 (pow x 2)))
#s(approx (tanh x) #s(hole binary64 x))
#s(approx (tanh x) #s(hole binary64 (* x (+ 1 (* -1/3 (pow x 2))))))
#s(approx (tanh x) #s(hole binary64 (* x (+ 1 (* (pow x 2) (- (* 2/15 (pow x 2)) 1/3))))))
#s(approx (tanh x) #s(hole binary64 (* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 2/15 (* -17/315 (pow x 2)))) 1/3))))))
#s(approx (/ (sinh x) (cosh x)) #s(hole binary64 x))
#s(approx (/ (sinh x) (cosh x)) #s(hole binary64 (* x (+ 1 (* -1/3 (pow x 2))))))
#s(approx (/ (sinh x) (cosh x)) #s(hole binary64 (* x (+ 1 (* (pow x 2) (- (* 2/15 (pow x 2)) 1/3))))))
#s(approx (/ (sinh x) (cosh x)) #s(hole binary64 (* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 2/15 (* -17/315 (pow x 2)))) 1/3))))))
#s(approx (sinh x) #s(hole binary64 x))
#s(approx (sinh x) #s(hole binary64 (* x (+ 1 (* 1/6 (pow x 2))))))
#s(approx (sinh x) #s(hole binary64 (* x (+ 1 (* (pow x 2) (+ 1/6 (* 1/120 (pow x 2))))))))
#s(approx (sinh x) #s(hole binary64 (* x (+ 1 (* (pow x 2) (+ 1/6 (* (pow x 2) (+ 1/120 (* 1/5040 (pow x 2))))))))))
#s(approx (cosh x) #s(hole binary64 1))
#s(approx (cosh x) #s(hole binary64 (+ 1 (* 1/2 (pow x 2)))))
#s(approx (cosh x) #s(hole binary64 (+ 1 (* (pow x 2) (+ 1/2 (* 1/24 (pow x 2)))))))
#s(approx (cosh x) #s(hole binary64 (+ 1 (* (pow x 2) (+ 1/2 (* (pow x 2) (+ 1/24 (* 1/720 (pow x 2)))))))))
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) #s(hole binary64 (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x))))))
#s(approx (* (+ (* (* x x) -1/3) 1) x) #s(hole binary64 (* -1/3 (pow x 3))))
#s(approx (* (+ (* (* x x) -1/3) 1) x) #s(hole binary64 (* (pow x 3) (- (/ 1 (pow x 2)) 1/3))))
#s(approx (+ (* (* x x) -1/3) 1) #s(hole binary64 (* -1/3 (pow x 2))))
#s(approx (+ (* (* x x) -1/3) 1) #s(hole binary64 (* (pow x 2) (- (/ 1 (pow x 2)) 1/3))))
#s(approx (tanh x) #s(hole binary64 (/ (- (exp x) (/ 1 (exp x))) (+ (exp x) (/ 1 (exp x))))))
#s(approx (/ (sinh x) (cosh x)) #s(hole binary64 (/ (- (exp x) (/ 1 (exp x))) (+ (exp x) (/ 1 (exp x))))))
#s(approx (sinh x) #s(hole binary64 (* 1/2 (- (exp x) (/ 1 (exp x))))))
#s(approx (cosh x) #s(hole binary64 (* 1/2 (+ (exp x) (/ 1 (exp x))))))
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) #s(hole binary64 (/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x))))))
#s(approx (* (+ (* (* x x) -1/3) 1) x) #s(hole binary64 (* -1 (* (pow x 3) (- 1/3 (/ 1 (pow x 2)))))))
Outputs
#s(approx (/ (sinh x) (cosh x)) x)
x
#s(approx (/ (sinh x) (cosh x)) (*.f64 (fma.f64 (*.f64 x x) #s(literal -1/3 binary64) #s(literal 1 binary64)) x))
(*.f64 (fma.f64 (*.f64 x x) #s(literal -1/3 binary64) #s(literal 1 binary64)) x)
(*.f64 x (fma.f64 (*.f64 x x) #s(literal -1/3 binary64) #s(literal 1 binary64)))
(/.f64 (*.f64 x (fma.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal 1/9 binary64) #s(literal -1 binary64))) (fma.f64 (*.f64 x x) #s(literal -1/3 binary64) #s(literal -1 binary64)))
(/.f64 (*.f64 x (-.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal 1/9 binary64)))) (-.f64 #s(literal 1 binary64) (*.f64 (*.f64 x x) #s(literal -1/3 binary64))))
(/.f64 (*.f64 x (fma.f64 (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal 1/9 binary64)) (*.f64 (*.f64 x x) #s(literal -1/3 binary64)) #s(literal 1 binary64))) (-.f64 (fma.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal 1/9 binary64) #s(literal 1 binary64)) (*.f64 (*.f64 x x) #s(literal -1/3 binary64))))
(/.f64 (*.f64 x (fma.f64 (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal 1/9 binary64)) (*.f64 (*.f64 x x) #s(literal -1/3 binary64)) #s(literal 1 binary64))) (fma.f64 (*.f64 (*.f64 x x) #s(literal -1/3 binary64)) (fma.f64 (*.f64 x x) #s(literal -1/3 binary64) #s(literal -1 binary64)) #s(literal 1 binary64)))
(/.f64 (*.f64 (fma.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal 1/9 binary64) #s(literal -1 binary64)) x) (fma.f64 (*.f64 x x) #s(literal -1/3 binary64) #s(literal -1 binary64)))
(/.f64 (*.f64 (-.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal 1/9 binary64))) x) (-.f64 #s(literal 1 binary64) (*.f64 (*.f64 x x) #s(literal -1/3 binary64))))
(/.f64 (*.f64 (fma.f64 (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal 1/9 binary64)) (*.f64 (*.f64 x x) #s(literal -1/3 binary64)) #s(literal 1 binary64)) x) (-.f64 (fma.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal 1/9 binary64) #s(literal 1 binary64)) (*.f64 (*.f64 x x) #s(literal -1/3 binary64))))
(/.f64 (*.f64 (fma.f64 (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal 1/9 binary64)) (*.f64 (*.f64 x x) #s(literal -1/3 binary64)) #s(literal 1 binary64)) x) (fma.f64 (*.f64 (*.f64 x x) #s(literal -1/3 binary64)) (fma.f64 (*.f64 x x) #s(literal -1/3 binary64) #s(literal -1 binary64)) #s(literal 1 binary64)))
(/.f64 (-.f64 (*.f64 x x) (*.f64 (*.f64 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64)) (*.f64 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64)))) (-.f64 x (*.f64 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64))))
(/.f64 (fma.f64 (*.f64 x x) x (pow.f64 (*.f64 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64)) #s(literal 3 binary64))) (fma.f64 x x (-.f64 (*.f64 (*.f64 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64)) (*.f64 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64))) (*.f64 x (*.f64 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64))))))
(fma.f64 (*.f64 #s(literal -1/3 binary64) (pow.f64 x #s(literal 3/2 binary64))) (pow.f64 x #s(literal 3/2 binary64)) x)
(fma.f64 (*.f64 #s(literal -1/3 binary64) x) (*.f64 x x) x)
(fma.f64 (pow.f64 x #s(literal 3/2 binary64)) (*.f64 (pow.f64 x #s(literal 3/2 binary64)) #s(literal -1/3 binary64)) x)
(fma.f64 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) x)
(fma.f64 (*.f64 (*.f64 x x) #s(literal -1/3 binary64)) x x)
(fma.f64 (*.f64 x x) (*.f64 #s(literal -1/3 binary64) x) x)
(fma.f64 #s(literal -1/3 binary64) (*.f64 (*.f64 x x) x) x)
(fma.f64 x (*.f64 (*.f64 x x) #s(literal -1/3 binary64)) x)
(-.f64 x (*.f64 (neg.f64 x) (*.f64 (*.f64 x x) #s(literal -1/3 binary64))))
(-.f64 x (*.f64 (*.f64 #s(literal 1/3 binary64) (*.f64 x x)) x))
(+.f64 (*.f64 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64)) x)
(+.f64 x (*.f64 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64)))
(/.f64 (-.f64 #s(literal 1 binary64) (pow.f64 (*.f64 #s(literal 1/3 binary64) (*.f64 x x)) #s(literal 3 binary64))) (+.f64 #s(literal 1 binary64) (fma.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal 1/9 binary64) (*.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/3 binary64) (*.f64 x x))))))
(/.f64 (neg.f64 (fma.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal 1/9 binary64) #s(literal -1 binary64))) (neg.f64 (fma.f64 (*.f64 x x) #s(literal -1/3 binary64) #s(literal -1 binary64))))
(/.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal 1/9 binary64)))) (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 (*.f64 x x) #s(literal -1/3 binary64)))))
(/.f64 (neg.f64 (fma.f64 (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal 1/9 binary64)) (*.f64 (*.f64 x x) #s(literal -1/3 binary64)) #s(literal 1 binary64))) (neg.f64 (-.f64 (fma.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal 1/9 binary64) #s(literal 1 binary64)) (*.f64 (*.f64 x x) #s(literal -1/3 binary64)))))
(/.f64 (neg.f64 (fma.f64 (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal 1/9 binary64)) (*.f64 (*.f64 x x) #s(literal -1/3 binary64)) #s(literal 1 binary64))) (neg.f64 (fma.f64 (*.f64 (*.f64 x x) #s(literal -1/3 binary64)) (fma.f64 (*.f64 x x) #s(literal -1/3 binary64) #s(literal -1 binary64)) #s(literal 1 binary64))))
(/.f64 (fma.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal 1/9 binary64) #s(literal -1 binary64)) (fma.f64 (*.f64 x x) #s(literal -1/3 binary64) #s(literal -1 binary64)))
(/.f64 (-.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal 1/9 binary64))) (-.f64 #s(literal 1 binary64) (*.f64 (*.f64 x x) #s(literal -1/3 binary64))))
(/.f64 (fma.f64 (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal 1/9 binary64)) (*.f64 (*.f64 x x) #s(literal -1/3 binary64)) #s(literal 1 binary64)) (-.f64 (fma.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal 1/9 binary64) #s(literal 1 binary64)) (*.f64 (*.f64 x x) #s(literal -1/3 binary64))))
(/.f64 (fma.f64 (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal 1/9 binary64)) (*.f64 (*.f64 x x) #s(literal -1/3 binary64)) #s(literal 1 binary64)) (fma.f64 (*.f64 (*.f64 x x) #s(literal -1/3 binary64)) (fma.f64 (*.f64 x x) #s(literal -1/3 binary64) #s(literal -1 binary64)) #s(literal 1 binary64)))
(fma.f64 (*.f64 #s(literal -1/3 binary64) (fabs.f64 x)) (fabs.f64 x) #s(literal 1 binary64))
(fma.f64 (*.f64 #s(literal -1/3 binary64) (neg.f64 x)) (neg.f64 x) #s(literal 1 binary64))
(fma.f64 (*.f64 #s(literal -1/3 binary64) x) x #s(literal 1 binary64))
(fma.f64 (fabs.f64 x) (*.f64 (fabs.f64 x) #s(literal -1/3 binary64)) #s(literal 1 binary64))
(fma.f64 (*.f64 (*.f64 x x) #s(literal -1/3 binary64)) #s(literal 1 binary64) #s(literal 1 binary64))
(fma.f64 (*.f64 x x) #s(literal -1/3 binary64) #s(literal 1 binary64))
(fma.f64 #s(literal 1 binary64) (*.f64 (*.f64 x x) #s(literal -1/3 binary64)) #s(literal 1 binary64))
(fma.f64 #s(literal -1/3 binary64) (*.f64 x x) #s(literal 1 binary64))
(fma.f64 (neg.f64 x) (*.f64 (neg.f64 x) #s(literal -1/3 binary64)) #s(literal 1 binary64))
(fma.f64 x (*.f64 (*.f64 #s(literal -1/3 binary64) x) #s(literal 1 binary64)) #s(literal 1 binary64))
(fma.f64 x (*.f64 #s(literal -1/3 binary64) x) #s(literal 1 binary64))
(-.f64 (/.f64 (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal 1/9 binary64)) (fma.f64 (*.f64 x x) #s(literal -1/3 binary64) #s(literal -1 binary64))) (/.f64 #s(literal 1 binary64) (fma.f64 (*.f64 x x) #s(literal -1/3 binary64) #s(literal -1 binary64))))
(-.f64 (/.f64 #s(literal 1 binary64) (-.f64 #s(literal 1 binary64) (*.f64 (*.f64 x x) #s(literal -1/3 binary64)))) (/.f64 (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal 1/9 binary64)) (-.f64 #s(literal 1 binary64) (*.f64 (*.f64 x x) #s(literal -1/3 binary64)))))
(-.f64 (*.f64 (*.f64 x x) #s(literal -1/3 binary64)) #s(literal -1 binary64))
(-.f64 #s(literal 1 binary64) (*.f64 (*.f64 (neg.f64 x) x) #s(literal -1/3 binary64)))
(-.f64 #s(literal 1 binary64) (*.f64 (neg.f64 x) (*.f64 #s(literal -1/3 binary64) x)))
(-.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/3 binary64) (*.f64 x x)))
(+.f64 (/.f64 (*.f64 (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal 1/9 binary64)) (*.f64 (*.f64 x x) #s(literal -1/3 binary64))) (-.f64 (fma.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal 1/9 binary64) #s(literal 1 binary64)) (*.f64 (*.f64 x x) #s(literal -1/3 binary64)))) (/.f64 #s(literal 1 binary64) (-.f64 (fma.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal 1/9 binary64) #s(literal 1 binary64)) (*.f64 (*.f64 x x) #s(literal -1/3 binary64)))))
(+.f64 (/.f64 #s(literal 1 binary64) (fma.f64 (*.f64 (*.f64 x x) #s(literal -1/3 binary64)) (fma.f64 (*.f64 x x) #s(literal -1/3 binary64) #s(literal -1 binary64)) #s(literal 1 binary64))) (/.f64 (*.f64 (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal 1/9 binary64)) (*.f64 (*.f64 x x) #s(literal -1/3 binary64))) (fma.f64 (*.f64 (*.f64 x x) #s(literal -1/3 binary64)) (fma.f64 (*.f64 x x) #s(literal -1/3 binary64) #s(literal -1 binary64)) #s(literal 1 binary64))))
(+.f64 (*.f64 (*.f64 x x) #s(literal -1/3 binary64)) #s(literal 1 binary64))
(+.f64 #s(literal 1 binary64) (*.f64 (*.f64 x x) #s(literal -1/3 binary64)))
(*.f64 (*.f64 (neg.f64 x) #s(literal -1 binary64)) x)
(*.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)))
(*.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)))
(*.f64 (exp.f64 (log.f64 x)) (exp.f64 (log.f64 x)))
(*.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)))
(*.f64 (*.f64 (neg.f64 x) x) #s(literal -1 binary64))
(*.f64 (fabs.f64 x) (fabs.f64 x))
(*.f64 #s(literal -1 binary64) (*.f64 (neg.f64 x) x))
(*.f64 (*.f64 x x) #s(literal 1 binary64))
(*.f64 #s(literal 1 binary64) (*.f64 x x))
(*.f64 (neg.f64 x) (neg.f64 x))
(*.f64 x (*.f64 #s(literal -1 binary64) (neg.f64 x)))
(*.f64 x x)
(pow.f64 (exp.f64 (log.f64 x)) #s(literal 2 binary64))
(pow.f64 (fabs.f64 x) #s(literal 2 binary64))
(pow.f64 (*.f64 x x) #s(literal 1 binary64))
(pow.f64 (neg.f64 x) #s(literal 2 binary64))
(pow.f64 x #s(literal 2 binary64))
(neg.f64 (*.f64 (neg.f64 x) x))
(fabs.f64 (*.f64 x x))
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))
(+.f64 (cosh.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) (sinh.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))))
#s(literal -1/3 binary64)
#s(literal 1 binary64)
(tanh.f64 x)
(*.f64 (/.f64 (*.f64 (sinh.f64 x) #s(literal 2 binary64)) (-.f64 (exp.f64 (+.f64 x x)) (exp.f64 (*.f64 (neg.f64 x) #s(literal 2 binary64))))) (*.f64 (sinh.f64 x) #s(literal 2 binary64)))
(*.f64 (/.f64 (*.f64 (sinh.f64 x) #s(literal 2 binary64)) (+.f64 (exp.f64 (*.f64 (neg.f64 x) #s(literal 3 binary64))) (exp.f64 (*.f64 x #s(literal 3 binary64))))) (+.f64 (expm1.f64 (*.f64 (neg.f64 x) #s(literal 2 binary64))) (exp.f64 (+.f64 x x))))
(*.f64 (/.f64 (sinh.f64 x) (*.f64 (cosh.f64 x) #s(literal 2 binary64))) #s(literal 2 binary64))
(*.f64 #s(literal 2 binary64) (/.f64 (sinh.f64 x) (*.f64 (cosh.f64 x) #s(literal 2 binary64))))
(*.f64 #s(literal 1 binary64) (tanh.f64 x))
(/.f64 (-.f64 (*.f64 (/.f64 (exp.f64 x) (*.f64 (cosh.f64 x) #s(literal 2 binary64))) (/.f64 (exp.f64 x) (*.f64 (cosh.f64 x) #s(literal 2 binary64)))) (*.f64 (/.f64 (exp.f64 (neg.f64 x)) (*.f64 (cosh.f64 x) #s(literal 2 binary64))) (/.f64 (exp.f64 (neg.f64 x)) (*.f64 (cosh.f64 x) #s(literal 2 binary64))))) (+.f64 (/.f64 (exp.f64 x) (*.f64 (cosh.f64 x) #s(literal 2 binary64))) (/.f64 (exp.f64 (neg.f64 x)) (*.f64 (cosh.f64 x) #s(literal 2 binary64)))))
(/.f64 (-.f64 (pow.f64 (/.f64 (exp.f64 x) (*.f64 (cosh.f64 x) #s(literal 2 binary64))) #s(literal 3 binary64)) (pow.f64 (/.f64 (exp.f64 (neg.f64 x)) (*.f64 (cosh.f64 x) #s(literal 2 binary64))) #s(literal 3 binary64))) (fma.f64 (/.f64 (exp.f64 x) (*.f64 (cosh.f64 x) #s(literal 2 binary64))) (/.f64 (exp.f64 x) (*.f64 (cosh.f64 x) #s(literal 2 binary64))) (fma.f64 (/.f64 (exp.f64 (neg.f64 x)) (*.f64 (cosh.f64 x) #s(literal 2 binary64))) (/.f64 (exp.f64 (neg.f64 x)) (*.f64 (cosh.f64 x) #s(literal 2 binary64))) (*.f64 (/.f64 (exp.f64 x) (*.f64 (cosh.f64 x) #s(literal 2 binary64))) (/.f64 (exp.f64 (neg.f64 x)) (*.f64 (cosh.f64 x) #s(literal 2 binary64)))))))
(/.f64 (-.f64 (*.f64 (exp.f64 x) (*.f64 (cosh.f64 x) #s(literal 2 binary64))) (*.f64 (*.f64 (cosh.f64 x) #s(literal 2 binary64)) (exp.f64 (neg.f64 x)))) (*.f64 (*.f64 (cosh.f64 x) #s(literal 2 binary64)) (*.f64 (cosh.f64 x) #s(literal 2 binary64))))
(/.f64 (neg.f64 (*.f64 #s(literal -2 binary64) (sinh.f64 x))) (neg.f64 (*.f64 #s(literal -2 binary64) (cosh.f64 x))))
(/.f64 (neg.f64 (expm1.f64 (+.f64 x x))) (neg.f64 (-.f64 (exp.f64 (+.f64 x x)) #s(literal -1 binary64))))
(/.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))) (neg.f64 (+.f64 (exp.f64 (*.f64 #s(literal -2 binary64) x)) #s(literal 1 binary64))))
(/.f64 (neg.f64 (sinh.f64 (neg.f64 x))) (neg.f64 (neg.f64 (cosh.f64 x))))
(/.f64 (-.f64 (exp.f64 (+.f64 x x)) (exp.f64 (*.f64 (neg.f64 x) #s(literal 2 binary64)))) (*.f64 (*.f64 (cosh.f64 x) #s(literal 2 binary64)) (*.f64 (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) #s(literal 2 binary64))) #s(literal 1 binary64)) (exp.f64 (+.f64 x x))) (*.f64 (cosh.f64 x) #s(literal 2 binary64))))
(/.f64 (*.f64 #s(literal -2 binary64) (sinh.f64 x)) (*.f64 #s(literal -2 binary64) (cosh.f64 x)))
(/.f64 (expm1.f64 (+.f64 x x)) (-.f64 (exp.f64 (+.f64 x x)) #s(literal -1 binary64)))
(/.f64 (-.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x))) (+.f64 (exp.f64 (*.f64 #s(literal -2 binary64) x)) #s(literal 1 binary64)))
(/.f64 (sinh.f64 (neg.f64 x)) (neg.f64 (cosh.f64 x)))
(/.f64 (*.f64 (sinh.f64 x) #s(literal 2 binary64)) (*.f64 (cosh.f64 x) #s(literal 2 binary64)))
(/.f64 (sinh.f64 x) (cosh.f64 x))
(neg.f64 (/.f64 (*.f64 (sinh.f64 x) #s(literal 2 binary64)) (*.f64 #s(literal -2 binary64) (cosh.f64 x))))
(neg.f64 (/.f64 (sinh.f64 x) (neg.f64 (cosh.f64 x))))
(neg.f64 (/.f64 (*.f64 #s(literal -2 binary64) (sinh.f64 x)) (*.f64 (cosh.f64 x) #s(literal 2 binary64))))
(neg.f64 (/.f64 (sinh.f64 (neg.f64 x)) (cosh.f64 x)))
(-.f64 (/.f64 (exp.f64 (+.f64 x x)) (-.f64 (exp.f64 (+.f64 x x)) #s(literal -1 binary64))) (/.f64 #s(literal 1 binary64) (-.f64 (exp.f64 (+.f64 x x)) #s(literal -1 binary64))))
(-.f64 (/.f64 #s(literal 1 binary64) (+.f64 (exp.f64 (*.f64 #s(literal -2 binary64) x)) #s(literal 1 binary64))) (/.f64 (exp.f64 (*.f64 #s(literal -2 binary64) x)) (+.f64 (exp.f64 (*.f64 #s(literal -2 binary64) x)) #s(literal 1 binary64))))
(-.f64 (/.f64 (exp.f64 x) (*.f64 (cosh.f64 x) #s(literal 2 binary64))) (/.f64 (exp.f64 (neg.f64 x)) (*.f64 (cosh.f64 x) #s(literal 2 binary64))))
(tanh.f64 x)
(*.f64 (/.f64 (*.f64 (sinh.f64 x) #s(literal 2 binary64)) (-.f64 (exp.f64 (+.f64 x x)) (exp.f64 (*.f64 (neg.f64 x) #s(literal 2 binary64))))) (*.f64 (sinh.f64 x) #s(literal 2 binary64)))
(*.f64 (/.f64 (*.f64 (sinh.f64 x) #s(literal 2 binary64)) (+.f64 (exp.f64 (*.f64 (neg.f64 x) #s(literal 3 binary64))) (exp.f64 (*.f64 x #s(literal 3 binary64))))) (+.f64 (expm1.f64 (*.f64 (neg.f64 x) #s(literal 2 binary64))) (exp.f64 (+.f64 x x))))
(*.f64 (/.f64 (sinh.f64 x) (*.f64 (cosh.f64 x) #s(literal 2 binary64))) #s(literal 2 binary64))
(*.f64 #s(literal 2 binary64) (/.f64 (sinh.f64 x) (*.f64 (cosh.f64 x) #s(literal 2 binary64))))
(*.f64 #s(literal 1 binary64) (tanh.f64 x))
(/.f64 (-.f64 (*.f64 (/.f64 (exp.f64 x) (*.f64 (cosh.f64 x) #s(literal 2 binary64))) (/.f64 (exp.f64 x) (*.f64 (cosh.f64 x) #s(literal 2 binary64)))) (*.f64 (/.f64 (exp.f64 (neg.f64 x)) (*.f64 (cosh.f64 x) #s(literal 2 binary64))) (/.f64 (exp.f64 (neg.f64 x)) (*.f64 (cosh.f64 x) #s(literal 2 binary64))))) (+.f64 (/.f64 (exp.f64 x) (*.f64 (cosh.f64 x) #s(literal 2 binary64))) (/.f64 (exp.f64 (neg.f64 x)) (*.f64 (cosh.f64 x) #s(literal 2 binary64)))))
(/.f64 (-.f64 (pow.f64 (/.f64 (exp.f64 x) (*.f64 (cosh.f64 x) #s(literal 2 binary64))) #s(literal 3 binary64)) (pow.f64 (/.f64 (exp.f64 (neg.f64 x)) (*.f64 (cosh.f64 x) #s(literal 2 binary64))) #s(literal 3 binary64))) (fma.f64 (/.f64 (exp.f64 x) (*.f64 (cosh.f64 x) #s(literal 2 binary64))) (/.f64 (exp.f64 x) (*.f64 (cosh.f64 x) #s(literal 2 binary64))) (fma.f64 (/.f64 (exp.f64 (neg.f64 x)) (*.f64 (cosh.f64 x) #s(literal 2 binary64))) (/.f64 (exp.f64 (neg.f64 x)) (*.f64 (cosh.f64 x) #s(literal 2 binary64))) (*.f64 (/.f64 (exp.f64 x) (*.f64 (cosh.f64 x) #s(literal 2 binary64))) (/.f64 (exp.f64 (neg.f64 x)) (*.f64 (cosh.f64 x) #s(literal 2 binary64)))))))
(/.f64 (-.f64 (*.f64 (exp.f64 x) (*.f64 (cosh.f64 x) #s(literal 2 binary64))) (*.f64 (*.f64 (cosh.f64 x) #s(literal 2 binary64)) (exp.f64 (neg.f64 x)))) (*.f64 (*.f64 (cosh.f64 x) #s(literal 2 binary64)) (*.f64 (cosh.f64 x) #s(literal 2 binary64))))
(/.f64 (neg.f64 (*.f64 #s(literal -2 binary64) (sinh.f64 x))) (neg.f64 (*.f64 #s(literal -2 binary64) (cosh.f64 x))))
(/.f64 (neg.f64 (expm1.f64 (+.f64 x x))) (neg.f64 (-.f64 (exp.f64 (+.f64 x x)) #s(literal -1 binary64))))
(/.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))) (neg.f64 (+.f64 (exp.f64 (*.f64 #s(literal -2 binary64) x)) #s(literal 1 binary64))))
(/.f64 (neg.f64 (sinh.f64 (neg.f64 x))) (neg.f64 (neg.f64 (cosh.f64 x))))
(/.f64 (-.f64 (exp.f64 (+.f64 x x)) (exp.f64 (*.f64 (neg.f64 x) #s(literal 2 binary64)))) (*.f64 (*.f64 (cosh.f64 x) #s(literal 2 binary64)) (*.f64 (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) #s(literal 2 binary64))) #s(literal 1 binary64)) (exp.f64 (+.f64 x x))) (*.f64 (cosh.f64 x) #s(literal 2 binary64))))
(/.f64 (*.f64 #s(literal -2 binary64) (sinh.f64 x)) (*.f64 #s(literal -2 binary64) (cosh.f64 x)))
(/.f64 (expm1.f64 (+.f64 x x)) (-.f64 (exp.f64 (+.f64 x x)) #s(literal -1 binary64)))
(/.f64 (-.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x))) (+.f64 (exp.f64 (*.f64 #s(literal -2 binary64) x)) #s(literal 1 binary64)))
(/.f64 (sinh.f64 (neg.f64 x)) (neg.f64 (cosh.f64 x)))
(/.f64 (*.f64 (sinh.f64 x) #s(literal 2 binary64)) (*.f64 (cosh.f64 x) #s(literal 2 binary64)))
(/.f64 (sinh.f64 x) (cosh.f64 x))
(neg.f64 (/.f64 (*.f64 (sinh.f64 x) #s(literal 2 binary64)) (*.f64 #s(literal -2 binary64) (cosh.f64 x))))
(neg.f64 (/.f64 (sinh.f64 x) (neg.f64 (cosh.f64 x))))
(neg.f64 (/.f64 (*.f64 #s(literal -2 binary64) (sinh.f64 x)) (*.f64 (cosh.f64 x) #s(literal 2 binary64))))
(neg.f64 (/.f64 (sinh.f64 (neg.f64 x)) (cosh.f64 x)))
(-.f64 (/.f64 (exp.f64 (+.f64 x x)) (-.f64 (exp.f64 (+.f64 x x)) #s(literal -1 binary64))) (/.f64 #s(literal 1 binary64) (-.f64 (exp.f64 (+.f64 x x)) #s(literal -1 binary64))))
(-.f64 (/.f64 #s(literal 1 binary64) (+.f64 (exp.f64 (*.f64 #s(literal -2 binary64) x)) #s(literal 1 binary64))) (/.f64 (exp.f64 (*.f64 #s(literal -2 binary64) x)) (+.f64 (exp.f64 (*.f64 #s(literal -2 binary64) x)) #s(literal 1 binary64))))
(-.f64 (/.f64 (exp.f64 x) (*.f64 (cosh.f64 x) #s(literal 2 binary64))) (/.f64 (exp.f64 (neg.f64 x)) (*.f64 (cosh.f64 x) #s(literal 2 binary64))))
(*.f64 #s(literal 2 binary64) (/.f64 (sinh.f64 x) #s(literal 2 binary64)))
(/.f64 (-.f64 (exp.f64 (+.f64 x x)) (exp.f64 (*.f64 (neg.f64 x) #s(literal 2 binary64)))) (*.f64 (*.f64 (cosh.f64 x) #s(literal 2 binary64)) #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) #s(literal 2 binary64))) #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 (*.f64 (sinh.f64 x) #s(literal 2 binary64)) #s(literal 2 binary64))
(sinh.f64 x)
(-.f64 (/.f64 (exp.f64 x) #s(literal 2 binary64)) (/.f64 (exp.f64 (neg.f64 x)) #s(literal 2 binary64)))
(*.f64 #s(literal 2 binary64) (/.f64 (cosh.f64 x) #s(literal 2 binary64)))
(/.f64 (-.f64 (exp.f64 (+.f64 x x)) (exp.f64 (*.f64 (neg.f64 x) #s(literal 2 binary64)))) (*.f64 (*.f64 (sinh.f64 x) #s(literal 2 binary64)) #s(literal 2 binary64)))
(/.f64 (+.f64 (exp.f64 (*.f64 (neg.f64 x) #s(literal 3 binary64))) (exp.f64 (*.f64 x #s(literal 3 binary64)))) (*.f64 (+.f64 (expm1.f64 (*.f64 (neg.f64 x) #s(literal 2 binary64))) (exp.f64 (+.f64 x x))) #s(literal 2 binary64)))
(/.f64 (*.f64 #s(literal -2 binary64) (cosh.f64 x)) #s(literal -2 binary64))
(/.f64 (*.f64 (cosh.f64 x) #s(literal 2 binary64)) #s(literal 2 binary64))
(cosh.f64 (neg.f64 (neg.f64 x)))
(cosh.f64 (neg.f64 x))
(cosh.f64 x)
(+.f64 (/.f64 (exp.f64 (neg.f64 x)) #s(literal 2 binary64)) (/.f64 (exp.f64 x) #s(literal 2 binary64)))
(+.f64 (/.f64 (exp.f64 x) #s(literal 2 binary64)) (/.f64 (exp.f64 (neg.f64 x)) #s(literal 2 binary64)))
#s(approx (/ (sinh x) (cosh x)) x)
#s(approx (/ (sinh x) (cosh x)) (*.f64 (fma.f64 (*.f64 x x) #s(literal -1/3 binary64) #s(literal 1 binary64)) x))
#s(approx (/ (sinh x) (cosh x)) (*.f64 (fma.f64 (-.f64 (*.f64 #s(literal 2/15 binary64) (*.f64 x x)) #s(literal 1/3 binary64)) (*.f64 x x) #s(literal 1 binary64)) x))
#s(approx (/ (sinh x) (cosh x)) (*.f64 (fma.f64 (*.f64 (-.f64 (*.f64 (*.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) x) x) #s(literal 1/3 binary64)) x) x #s(literal 1 binary64)) x))
#s(approx x x)
#s(approx (* (+ (* (* x x) -1/3) 1) x) x)
#s(approx (* (+ (* (* x x) -1/3) 1) x) (*.f64 (fma.f64 (*.f64 x x) #s(literal -1/3 binary64) #s(literal 1 binary64)) x))
#s(approx (+ (* (* x x) -1/3) 1) #s(literal 1 binary64))
#s(approx (+ (* (* x x) -1/3) 1) (fma.f64 (*.f64 x x) #s(literal -1/3 binary64) #s(literal 1 binary64)))
#s(approx (* x x) (*.f64 x x))
#s(approx (/ (sinh x) (cosh x)) x)
#s(approx (/ (sinh x) (cosh x)) (*.f64 (fma.f64 (*.f64 x x) #s(literal -1/3 binary64) #s(literal 1 binary64)) x))
#s(approx (/ (sinh x) (cosh x)) (*.f64 (fma.f64 (-.f64 (*.f64 #s(literal 2/15 binary64) (*.f64 x x)) #s(literal 1/3 binary64)) (*.f64 x x) #s(literal 1 binary64)) x))
#s(approx (/ (sinh x) (cosh x)) (*.f64 (fma.f64 (*.f64 (-.f64 (*.f64 (*.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) x) x) #s(literal 1/3 binary64)) x) x #s(literal 1 binary64)) x))
#s(approx (/ (sinh x) (cosh x)) x)
#s(approx (/ (sinh x) (cosh x)) (*.f64 (fma.f64 (*.f64 x x) #s(literal -1/3 binary64) #s(literal 1 binary64)) x))
#s(approx (/ (sinh x) (cosh x)) (*.f64 (fma.f64 (-.f64 (*.f64 #s(literal 2/15 binary64) (*.f64 x x)) #s(literal 1/3 binary64)) (*.f64 x x) #s(literal 1 binary64)) x))
#s(approx (/ (sinh x) (cosh x)) (*.f64 (fma.f64 (*.f64 (-.f64 (*.f64 (*.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) x) x) #s(literal 1/3 binary64)) x) x #s(literal 1 binary64)) x))
#s(approx (sinh x) x)
#s(approx (sinh x) (*.f64 (fma.f64 #s(literal 1/6 binary64) (*.f64 x x) #s(literal 1 binary64)) x))
#s(approx (sinh x) (*.f64 (fma.f64 (fma.f64 #s(literal 1/120 binary64) (*.f64 x x) #s(literal 1/6 binary64)) (*.f64 x x) #s(literal 1 binary64)) x))
#s(approx (sinh x) (*.f64 (fma.f64 (*.f64 (fma.f64 (fma.f64 #s(literal 1/5040 binary64) (*.f64 x x) #s(literal 1/120 binary64)) (*.f64 x x) #s(literal 1/6 binary64)) x) x #s(literal 1 binary64)) x))
#s(approx (cosh x) #s(literal 1 binary64))
#s(approx (cosh x) (fma.f64 #s(literal 1/2 binary64) (*.f64 x x) #s(literal 1 binary64)))
#s(approx (cosh x) (fma.f64 (fma.f64 #s(literal 1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)))
#s(approx (cosh x) (fma.f64 (*.f64 (fma.f64 (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) x) x #s(literal 1 binary64)))
#s(approx (/ (sinh x) (cosh x)) (tanh.f64 x))
#s(approx (* (+ (* (* x x) -1/3) 1) x) (*.f64 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64)))
#s(approx (* (+ (* (* x x) -1/3) 1) x) (*.f64 (*.f64 (-.f64 (/.f64 #s(literal 1 binary64) (*.f64 x x)) #s(literal 1/3 binary64)) x) (*.f64 x x)))
#s(approx (+ (* (* x x) -1/3) 1) (*.f64 (*.f64 x x) #s(literal -1/3 binary64)))
#s(approx (+ (* (* x x) -1/3) 1) (*.f64 (*.f64 (-.f64 (/.f64 #s(literal 1 binary64) (*.f64 x x)) #s(literal 1/3 binary64)) x) x))
#s(approx (/ (sinh x) (cosh x)) (tanh.f64 x))
#s(approx (/ (sinh x) (cosh x)) (tanh.f64 x))
#s(approx (sinh x) (*.f64 #s(literal 1 binary64) (sinh.f64 x)))
#s(approx (cosh x) (*.f64 #s(literal 1 binary64) (cosh.f64 x)))
#s(approx (/ (sinh x) (cosh x)) (tanh.f64 x))
#s(approx (* (+ (* (* x x) -1/3) 1) x) (*.f64 (*.f64 (neg.f64 x) (*.f64 x x)) (-.f64 #s(literal 1/3 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x x)))))

eval21.0ms (0.5%)

Memory
-23.1MiB live, 23.5MiB allocated; 2ms collecting garbage
Compiler

Compiled 1 236 to 559 computations (54.8% saved)

prune5.0ms (0.1%)

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

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New1430143
Fresh000
Picked044
Done000
Total1434147
Accuracy
100.0%
Counts
147 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
96.5%
(/.f64 (sinh.f64 x) (cosh.f64 x))
100.0%
(tanh.f64 x)
95.7%
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (*.f64 (fma.f64 (*.f64 x x) #s(literal -1/3 binary64) #s(literal 1 binary64)) x))
95.6%
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) x)
Compiler

Compiled 72 to 51 computations (29.2% saved)

regimes4.0ms (0.1%)

Memory
4.3MiB live, 4.3MiB allocated; 0ms collecting garbage
Counts
5 → 1
Calls
Call 1
Inputs
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) x)
(tanh.f64 x)
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (*.f64 (fma.f64 (*.f64 x x) #s(literal -1/3 binary64) #s(literal 1 binary64)) x))
(/.f64 (sinh.f64 x) (cosh.f64 x))
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
Outputs
(tanh.f64 x)
Calls

2 calls:

2.0ms
x
1.0ms
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
Results
AccuracySegmentsBranch
100.0%1(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
100.0%1x
Compiler

Compiled 11 to 8 computations (27.3% saved)

regimes2.0ms (0%)

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

Total 0.0b remaining (0%)

Threshold costs 0b (0%)

Counts
1 → 1
Calls
Call 1
Inputs
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) x)
Outputs
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) x)
Calls

2 calls:

1.0ms
x
1.0ms
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
Results
AccuracySegmentsBranch
95.6%1(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
95.6%1x
Compiler

Compiled 11 to 8 computations (27.3% saved)

derivations51.0ms (1.3%)

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

Compiled 12 to 9 computations (25% saved)

preprocess34.0ms (0.9%)

Memory
-27.2MiB live, 18.6MiB allocated; 3ms collecting garbage
Remove

(negabs x)

Compiler

Compiled 48 to 36 computations (25% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...