Hyperbolic arc-cosine

Time bar (total: 2.5s)

start0.0ms (0%)

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

analyze87.0ms (3.5%)

Memory
28.7MiB live, 94.0MiB allocated; 42ms collecting garbage
Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%100%0%0%0%0%0
0%0%100%0%0%0%0%1
0%0%100%0%0%0%0%2
0%0%100%0%0%0%0%3
16.7%12.5%62.5%0%0%25%0%4
30%18.7%43.7%0%0%37.5%0%5
38.9%21.9%34.4%0%0%43.7%0%6
44.1%23.4%29.7%0%0%46.9%0%7
47%24.2%27.3%0%0%48.4%0%8
48.5%24.6%26.2%0%0%49.2%0%9
49.2%24.8%25.6%0%0%49.6%0%10
49.6%24.9%25.3%0%0%49.8%0%11
49.8%24.9%25.1%0%0%49.9%0%12
Compiler

Compiled 11 to 9 computations (18.2% saved)

sample2.2s (87.5%)

Memory
20.7MiB live, 2 723.5MiB allocated; 493ms collecting garbage
Samples
1.1s7 960×1invalid
649.0ms8 256×0valid
14.0ms317×0invalid
Precisions
Click to see histograms. Total time spent on operations: 1.3s
ival-log: 393.0ms (31.3% of total)
ival-sqrt: 266.0ms (21.2% of total)
adjust: 241.0ms (19.2% of total)
ival-mult!: 163.0ms (13% of total)
ival-add!: 107.0ms (8.5% of total)
ival-sub!: 84.0ms (6.7% of total)
Bogosity

preprocess53.0ms (2.1%)

Memory
-23.2MiB live, 26.3MiB allocated; 9ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0149
1479
2899
32009
49699
Stop Event
node-limit
Alt Table
Click to see full alt table
StatusAccuracyProgram
56.1%
(log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64)))))
Compiler

Compiled 14 to 14 computations (0% saved)

series6.0ms (0.2%)

Memory
13.9MiB live, 13.9MiB allocated; 0ms collecting garbage
Counts
7 → 42
Calls
Call 1
Inputs
(log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64)))))
(+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64))))
x
(sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64)))
(-.f64 (*.f64 x x) #s(literal 1 binary64))
(*.f64 x x)
#s(literal 1 binary64)
Outputs
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary64 (log (sqrt -1))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary64 (+ (log (sqrt -1)) (/ x (sqrt -1)))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary64 (+ (log (sqrt -1)) (* x (+ (* -1/6 (/ (pow x 2) (pow (sqrt -1) 3))) (/ 1 (sqrt -1)))))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary64 (+ (log (sqrt -1)) (* x (+ (* (pow x 2) (- (* 3/40 (/ (pow x 2) (pow (sqrt -1) 5))) (* 1/6 (/ 1 (pow (sqrt -1) 3))))) (/ 1 (sqrt -1)))))))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary64 (sqrt -1)))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary64 (+ x (sqrt -1))))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary64 (+ (sqrt -1) (* x (+ 1 (* 1/2 (/ x (sqrt -1))))))))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary64 (+ (sqrt -1) (* x (+ 1 (* x (+ (* -1/8 (/ (pow x 2) (pow (sqrt -1) 3))) (* 1/2 (/ 1 (sqrt -1))))))))))
#s(approx x #s(hole binary64 x))
#s(approx (sqrt (- (* x x) 1)) #s(hole binary64 (sqrt -1)))
#s(approx (sqrt (- (* x x) 1)) #s(hole binary64 (+ (sqrt -1) (* 1/2 (/ (pow x 2) (sqrt -1))))))
#s(approx (sqrt (- (* x x) 1)) #s(hole binary64 (+ (sqrt -1) (* (pow x 2) (+ (* -1/8 (/ (pow x 2) (pow (sqrt -1) 3))) (* 1/2 (/ 1 (sqrt -1))))))))
#s(approx (sqrt (- (* x x) 1)) #s(hole binary64 (+ (sqrt -1) (* (pow x 2) (+ (* (pow x 2) (- (* 1/16 (/ (pow x 2) (pow (sqrt -1) 5))) (* 1/8 (/ 1 (pow (sqrt -1) 3))))) (* 1/2 (/ 1 (sqrt -1))))))))
#s(approx (- (* x x) 1) #s(hole binary64 -1))
#s(approx (- (* x x) 1) #s(hole binary64 (- (pow x 2) 1)))
#s(approx (* x x) #s(hole binary64 (pow x 2)))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary64 (+ (log 2) (* -1 (log (/ 1 x))))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary64 (- (+ (log 2) (* -1 (log (/ 1 x)))) (* 1/4 (/ 1 (pow x 2))))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary64 (+ (log 2) (+ (* -1 (log (/ 1 x))) (* -1 (/ (+ 1/4 (* 3/32 (/ 1 (pow x 2)))) (pow x 2)))))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary64 (- (+ (log 2) (+ (* -1 (log (/ 1 x))) (* -1 (/ (+ 3/32 (* 5/96 (/ 1 (pow x 2)))) (pow x 4))))) (* 1/4 (/ 1 (pow x 2))))))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary64 (* 2 x)))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary64 (* x (- 2 (* 1/2 (/ 1 (pow x 2)))))))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary64 (* x (+ 2 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) (pow x 2)))))))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary64 (* x (- (+ 2 (* -1 (/ (+ 1/8 (* 1/16 (/ 1 (pow x 2)))) (pow x 4)))) (* 1/2 (/ 1 (pow x 2)))))))
#s(approx (sqrt (- (* x x) 1)) #s(hole binary64 x))
#s(approx (sqrt (- (* x x) 1)) #s(hole binary64 (* x (- 1 (* 1/2 (/ 1 (pow x 2)))))))
#s(approx (sqrt (- (* x x) 1)) #s(hole binary64 (* x (+ 1 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) (pow x 2)))))))
#s(approx (sqrt (- (* x x) 1)) #s(hole binary64 (* x (- (+ 1 (* -1 (/ (+ 1/8 (* 1/16 (/ 1 (pow x 2)))) (pow x 4)))) (* 1/2 (/ 1 (pow x 2)))))))
#s(approx (- (* x x) 1) #s(hole binary64 (pow x 2)))
#s(approx (- (* x x) 1) #s(hole binary64 (* (pow x 2) (- 1 (/ 1 (pow x 2))))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary64 (+ (log -1/2) (log (/ -1 x)))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary64 (+ (log -1/2) (+ (log (/ -1 x)) (* 1/4 (/ 1 (pow x 2)))))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary64 (+ (log -1/2) (+ (log (/ -1 x)) (+ (/ 3/32 (pow x 4)) (* 1/4 (/ 1 (pow x 2))))))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary64 (+ (log -1/2) (+ (log (/ -1 x)) (+ (/ 3/32 (pow x 4)) (+ (* 1/4 (/ 1 (pow x 2))) (* 5/96 (/ 1 (pow x 6)))))))))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary64 (/ 1/2 x)))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary64 (/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) x)))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary64 (* -1 (/ (- (* -1 (/ (+ 1/8 (* 1/16 (/ 1 (pow x 2)))) (pow x 2))) 1/2) x))))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary64 (* -1 (/ (- (* -1 (/ (+ 1/16 (* 5/128 (/ 1 (pow x 2)))) (pow x 4))) (+ 1/2 (* 1/8 (/ 1 (pow x 2))))) x))))
#s(approx (sqrt (- (* x x) 1)) #s(hole binary64 (* -1 x)))
#s(approx (sqrt (- (* x x) 1)) #s(hole binary64 (* -1 (* x (- 1 (* 1/2 (/ 1 (pow x 2))))))))
#s(approx (sqrt (- (* x x) 1)) #s(hole binary64 (* -1 (* x (+ 1 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) (pow x 2))))))))
#s(approx (sqrt (- (* x x) 1)) #s(hole binary64 (* -1 (* x (- (+ 1 (* -1 (/ (+ 1/8 (* 1/16 (/ 1 (pow x 2)))) (pow x 4)))) (* 1/2 (/ 1 (pow x 2))))))))
Calls

3 calls:

TimeVariablePointExpression
2.0ms
x
@-inf
((log (+ x (sqrt (- (* x x) 1)))) (+ x (sqrt (- (* x x) 1))) x (sqrt (- (* x x) 1)) (- (* x x) 1) (* x x) 1)
2.0ms
x
@0
((log (+ x (sqrt (- (* x x) 1)))) (+ x (sqrt (- (* x x) 1))) x (sqrt (- (* x x) 1)) (- (* x x) 1) (* x x) 1)
2.0ms
x
@inf
((log (+ x (sqrt (- (* x x) 1)))) (+ x (sqrt (- (* x x) 1))) x (sqrt (- (* x x) 1)) (- (* x x) 1) (* x x) 1)

rewrite58.0ms (2.3%)

Memory
-2.3MiB live, 89.6MiB allocated; 10ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0202988
0209724
01179694
Stop Event
iter-limit
iter-limit
node-limit
iter-limit
Counts
49 → 64
Calls
Call 1
Inputs
(log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64)))))
(+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64))))
x
(sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64)))
(-.f64 (*.f64 x x) #s(literal 1 binary64))
(*.f64 x x)
#s(literal 1 binary64)
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary64 (log (sqrt -1))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary64 (+ (log (sqrt -1)) (/ x (sqrt -1)))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary64 (+ (log (sqrt -1)) (* x (+ (* -1/6 (/ (pow x 2) (pow (sqrt -1) 3))) (/ 1 (sqrt -1)))))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary64 (+ (log (sqrt -1)) (* x (+ (* (pow x 2) (- (* 3/40 (/ (pow x 2) (pow (sqrt -1) 5))) (* 1/6 (/ 1 (pow (sqrt -1) 3))))) (/ 1 (sqrt -1)))))))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary64 (sqrt -1)))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary64 (+ x (sqrt -1))))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary64 (+ (sqrt -1) (* x (+ 1 (* 1/2 (/ x (sqrt -1))))))))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary64 (+ (sqrt -1) (* x (+ 1 (* x (+ (* -1/8 (/ (pow x 2) (pow (sqrt -1) 3))) (* 1/2 (/ 1 (sqrt -1))))))))))
#s(approx x #s(hole binary64 x))
#s(approx (sqrt (- (* x x) 1)) #s(hole binary64 (sqrt -1)))
#s(approx (sqrt (- (* x x) 1)) #s(hole binary64 (+ (sqrt -1) (* 1/2 (/ (pow x 2) (sqrt -1))))))
#s(approx (sqrt (- (* x x) 1)) #s(hole binary64 (+ (sqrt -1) (* (pow x 2) (+ (* -1/8 (/ (pow x 2) (pow (sqrt -1) 3))) (* 1/2 (/ 1 (sqrt -1))))))))
#s(approx (sqrt (- (* x x) 1)) #s(hole binary64 (+ (sqrt -1) (* (pow x 2) (+ (* (pow x 2) (- (* 1/16 (/ (pow x 2) (pow (sqrt -1) 5))) (* 1/8 (/ 1 (pow (sqrt -1) 3))))) (* 1/2 (/ 1 (sqrt -1))))))))
#s(approx (- (* x x) 1) #s(hole binary64 -1))
#s(approx (- (* x x) 1) #s(hole binary64 (- (pow x 2) 1)))
#s(approx (* x x) #s(hole binary64 (pow x 2)))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary64 (+ (log 2) (* -1 (log (/ 1 x))))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary64 (- (+ (log 2) (* -1 (log (/ 1 x)))) (* 1/4 (/ 1 (pow x 2))))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary64 (+ (log 2) (+ (* -1 (log (/ 1 x))) (* -1 (/ (+ 1/4 (* 3/32 (/ 1 (pow x 2)))) (pow x 2)))))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary64 (- (+ (log 2) (+ (* -1 (log (/ 1 x))) (* -1 (/ (+ 3/32 (* 5/96 (/ 1 (pow x 2)))) (pow x 4))))) (* 1/4 (/ 1 (pow x 2))))))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary64 (* 2 x)))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary64 (* x (- 2 (* 1/2 (/ 1 (pow x 2)))))))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary64 (* x (+ 2 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) (pow x 2)))))))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary64 (* x (- (+ 2 (* -1 (/ (+ 1/8 (* 1/16 (/ 1 (pow x 2)))) (pow x 4)))) (* 1/2 (/ 1 (pow x 2)))))))
#s(approx (sqrt (- (* x x) 1)) #s(hole binary64 x))
#s(approx (sqrt (- (* x x) 1)) #s(hole binary64 (* x (- 1 (* 1/2 (/ 1 (pow x 2)))))))
#s(approx (sqrt (- (* x x) 1)) #s(hole binary64 (* x (+ 1 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) (pow x 2)))))))
#s(approx (sqrt (- (* x x) 1)) #s(hole binary64 (* x (- (+ 1 (* -1 (/ (+ 1/8 (* 1/16 (/ 1 (pow x 2)))) (pow x 4)))) (* 1/2 (/ 1 (pow x 2)))))))
#s(approx (- (* x x) 1) #s(hole binary64 (pow x 2)))
#s(approx (- (* x x) 1) #s(hole binary64 (* (pow x 2) (- 1 (/ 1 (pow x 2))))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary64 (+ (log -1/2) (log (/ -1 x)))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary64 (+ (log -1/2) (+ (log (/ -1 x)) (* 1/4 (/ 1 (pow x 2)))))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary64 (+ (log -1/2) (+ (log (/ -1 x)) (+ (/ 3/32 (pow x 4)) (* 1/4 (/ 1 (pow x 2))))))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary64 (+ (log -1/2) (+ (log (/ -1 x)) (+ (/ 3/32 (pow x 4)) (+ (* 1/4 (/ 1 (pow x 2))) (* 5/96 (/ 1 (pow x 6)))))))))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary64 (/ 1/2 x)))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary64 (/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) x)))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary64 (* -1 (/ (- (* -1 (/ (+ 1/8 (* 1/16 (/ 1 (pow x 2)))) (pow x 2))) 1/2) x))))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary64 (* -1 (/ (- (* -1 (/ (+ 1/16 (* 5/128 (/ 1 (pow x 2)))) (pow x 4))) (+ 1/2 (* 1/8 (/ 1 (pow x 2))))) x))))
#s(approx (sqrt (- (* x x) 1)) #s(hole binary64 (* -1 x)))
#s(approx (sqrt (- (* x x) 1)) #s(hole binary64 (* -1 (* x (- 1 (* 1/2 (/ 1 (pow x 2))))))))
#s(approx (sqrt (- (* x x) 1)) #s(hole binary64 (* -1 (* x (+ 1 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) (pow x 2))))))))
#s(approx (sqrt (- (* x x) 1)) #s(hole binary64 (* -1 (* x (- (+ 1 (* -1 (/ (+ 1/8 (* 1/16 (/ 1 (pow x 2)))) (pow x 4)))) (* 1/2 (/ 1 (pow x 2))))))))
Outputs
(acosh.f64 x)
(log.f64 (+.f64 (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64))) x))
(/.f64 (-.f64 (*.f64 x x) (*.f64 (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64))) (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64))))) (-.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64)))))
(/.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64))) #s(literal 3 binary64))) (fma.f64 x x (-.f64 (*.f64 (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64))) (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64)))) (*.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64)))))))
(+.f64 (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64))) x)
(+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64))))
x
(pow.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64)) #s(literal 1/2 binary64))
(sinh.f64 (acosh.f64 x))
(sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64)))
(*.f64 (+.f64 x #s(literal 1 binary64)) (-.f64 x #s(literal 1 binary64)))
(/.f64 (-.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal 1 binary64)) (fma.f64 x x #s(literal 1 binary64)))
(/.f64 (-.f64 (pow.f64 (*.f64 x x) #s(literal 3 binary64)) #s(literal 1 binary64)) (fma.f64 (*.f64 x x) (*.f64 x x) (+.f64 #s(literal 1 binary64) (*.f64 (*.f64 x x) #s(literal 1 binary64)))))
(expm1.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))
(-.f64 (*.f64 x x) #s(literal 1 binary64))
(*.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)))
(*.f64 (fabs.f64 x) (fabs.f64 x))
(*.f64 (neg.f64 x) (neg.f64 x))
(*.f64 x x)
(pow.f64 x #s(literal 2 binary64))
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))
#s(literal 1 binary64)
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (log.f64 (sqrt.f64 #s(literal -1 binary64))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (+.f64 (/.f64 x (sqrt.f64 #s(literal -1 binary64))) (log.f64 (sqrt.f64 #s(literal -1 binary64)))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (fma.f64 (fma.f64 (/.f64 (*.f64 x x) (*.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 #s(literal -1 binary64)))) #s(literal -1/6 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 #s(literal -1 binary64)))) x (log.f64 (sqrt.f64 #s(literal -1 binary64)))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (fma.f64 (fma.f64 (-.f64 (/.f64 (*.f64 #s(literal 3/40 binary64) (*.f64 x x)) (pow.f64 #s(literal -1 binary64) #s(literal 5/2 binary64))) (/.f64 #s(literal 1/6 binary64) (*.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 #s(literal -1 binary64))))) (*.f64 x x) (/.f64 #s(literal 1 binary64) (sqrt.f64 #s(literal -1 binary64)))) x (log.f64 (sqrt.f64 #s(literal -1 binary64)))))
#s(approx (+ x (sqrt (- (* x x) 1))) (sqrt.f64 #s(literal -1 binary64)))
#s(approx (+ x (sqrt (- (* x x) 1))) (+.f64 (sqrt.f64 #s(literal -1 binary64)) x))
#s(approx (+ x (sqrt (- (* x x) 1))) (fma.f64 (fma.f64 #s(literal 1/2 binary64) (/.f64 x (sqrt.f64 #s(literal -1 binary64))) #s(literal 1 binary64)) x (sqrt.f64 #s(literal -1 binary64))))
#s(approx (+ x (sqrt (- (* x x) 1))) (fma.f64 (fma.f64 (fma.f64 (/.f64 (*.f64 x x) (*.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 #s(literal -1 binary64)))) #s(literal -1/8 binary64) (/.f64 #s(literal 1/2 binary64) (sqrt.f64 #s(literal -1 binary64)))) x #s(literal 1 binary64)) x (sqrt.f64 #s(literal -1 binary64))))
#s(approx x x)
#s(approx (sqrt (- (* x x) 1)) (sqrt.f64 #s(literal -1 binary64)))
#s(approx (sqrt (- (* x x) 1)) (fma.f64 (/.f64 (*.f64 x x) (sqrt.f64 #s(literal -1 binary64))) #s(literal 1/2 binary64) (sqrt.f64 #s(literal -1 binary64))))
#s(approx (sqrt (- (* x x) 1)) (fma.f64 (fma.f64 (/.f64 (*.f64 x x) (*.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 #s(literal -1 binary64)))) #s(literal -1/8 binary64) (/.f64 #s(literal 1/2 binary64) (sqrt.f64 #s(literal -1 binary64)))) (*.f64 x x) (sqrt.f64 #s(literal -1 binary64))))
#s(approx (sqrt (- (* x x) 1)) (fma.f64 (fma.f64 (-.f64 (/.f64 (*.f64 #s(literal 1/16 binary64) (*.f64 x x)) (pow.f64 #s(literal -1 binary64) #s(literal 5/2 binary64))) (/.f64 #s(literal 1/8 binary64) (*.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 #s(literal -1 binary64))))) (*.f64 x x) (/.f64 #s(literal 1/2 binary64) (sqrt.f64 #s(literal -1 binary64)))) (*.f64 x x) (sqrt.f64 #s(literal -1 binary64))))
#s(approx (- (* x x) 1) #s(literal -1 binary64))
#s(approx (- (* x x) 1) (-.f64 (*.f64 x x) #s(literal 1 binary64)))
#s(approx (* x x) (*.f64 x x))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (+.f64 (neg.f64 (neg.f64 (log.f64 x))) (log.f64 #s(literal 2 binary64))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (+.f64 (log.f64 #s(literal 2 binary64)) (-.f64 (neg.f64 (neg.f64 (log.f64 x))) (/.f64 #s(literal 1/4 binary64) (*.f64 x x)))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (+.f64 (+.f64 (neg.f64 (neg.f64 (log.f64 x))) (log.f64 #s(literal 2 binary64))) (neg.f64 (/.f64 (+.f64 (/.f64 #s(literal 3/32 binary64) (*.f64 x x)) #s(literal 1/4 binary64)) (*.f64 x x)))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (-.f64 (+.f64 (+.f64 (neg.f64 (neg.f64 (log.f64 x))) (log.f64 #s(literal 2 binary64))) (neg.f64 (/.f64 (+.f64 (/.f64 #s(literal 5/96 binary64) (*.f64 x x)) #s(literal 3/32 binary64)) (*.f64 (*.f64 x x) (*.f64 x x))))) (/.f64 #s(literal 1/4 binary64) (*.f64 x x))))
#s(approx (+ x (sqrt (- (* x x) 1))) (+.f64 x x))
#s(approx (+ x (sqrt (- (* x x) 1))) (*.f64 (-.f64 #s(literal 2 binary64) (/.f64 #s(literal 1/2 binary64) (*.f64 x x))) x))
#s(approx (+ x (sqrt (- (* x x) 1))) (*.f64 (+.f64 (neg.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/8 binary64) (*.f64 x x)) #s(literal 1/2 binary64)) (*.f64 x x))) #s(literal 2 binary64)) x))
#s(approx (+ x (sqrt (- (* x x) 1))) (*.f64 (-.f64 (+.f64 (neg.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/16 binary64) (*.f64 x x)) #s(literal 1/8 binary64)) (*.f64 (*.f64 x x) (*.f64 x x)))) #s(literal 2 binary64)) (/.f64 #s(literal 1/2 binary64) (*.f64 x x))) x))
#s(approx (sqrt (- (* x x) 1)) x)
#s(approx (sqrt (- (* x x) 1)) (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1/2 binary64) (*.f64 x x))) x))
#s(approx (sqrt (- (* x x) 1)) (*.f64 (+.f64 (neg.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/8 binary64) (*.f64 x x)) #s(literal 1/2 binary64)) (*.f64 x x))) #s(literal 1 binary64)) x))
#s(approx (sqrt (- (* x x) 1)) (*.f64 (-.f64 (+.f64 (neg.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/16 binary64) (*.f64 x x)) #s(literal 1/8 binary64)) (*.f64 (*.f64 x x) (*.f64 x x)))) #s(literal 1 binary64)) (/.f64 #s(literal 1/2 binary64) (*.f64 x x))) x))
#s(approx (- (* x x) 1) (*.f64 x x))
#s(approx (- (* x x) 1) (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x x))) (*.f64 x x)))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (log.f64 (*.f64 #s(literal -1/2 binary64) (/.f64 #s(literal -1 binary64) x))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (+.f64 (log.f64 (*.f64 #s(literal -1/2 binary64) (/.f64 #s(literal -1 binary64) x))) (/.f64 #s(literal 1/4 binary64) (*.f64 x x))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (+.f64 (log.f64 (*.f64 #s(literal -1/2 binary64) (/.f64 #s(literal -1 binary64) x))) (+.f64 (/.f64 #s(literal 3/32 binary64) (*.f64 (*.f64 x x) (*.f64 x x))) (/.f64 #s(literal 1/4 binary64) (*.f64 x x)))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (+.f64 (log.f64 (*.f64 #s(literal -1/2 binary64) (/.f64 #s(literal -1 binary64) x))) (+.f64 (fma.f64 (pow.f64 x #s(literal -6 binary64)) #s(literal 5/96 binary64) (/.f64 #s(literal 1/4 binary64) (*.f64 x x))) (/.f64 #s(literal 3/32 binary64) (*.f64 (*.f64 x x) (*.f64 x x))))))
#s(approx (+ x (sqrt (- (* x x) 1))) (/.f64 #s(literal 1/2 binary64) x))
#s(approx (+ x (sqrt (- (* x x) 1))) (/.f64 (+.f64 (/.f64 #s(literal 1/8 binary64) (*.f64 x x)) #s(literal 1/2 binary64)) x))
#s(approx (+ x (sqrt (- (* x x) 1))) (neg.f64 (/.f64 (-.f64 (neg.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/16 binary64) (*.f64 x x)) #s(literal 1/8 binary64)) (*.f64 x x))) #s(literal 1/2 binary64)) x)))
#s(approx (+ x (sqrt (- (* x x) 1))) (neg.f64 (/.f64 (-.f64 (-.f64 (neg.f64 (/.f64 (+.f64 (/.f64 #s(literal 5/128 binary64) (*.f64 x x)) #s(literal 1/16 binary64)) (*.f64 (*.f64 x x) (*.f64 x x)))) #s(literal 1/2 binary64)) (/.f64 #s(literal 1/8 binary64) (*.f64 x x))) x)))
#s(approx (sqrt (- (* x x) 1)) (neg.f64 x))
#s(approx (sqrt (- (* x x) 1)) (*.f64 (neg.f64 x) (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1/2 binary64) (*.f64 x x)))))
#s(approx (sqrt (- (* x x) 1)) (*.f64 (neg.f64 x) (+.f64 (neg.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/8 binary64) (*.f64 x x)) #s(literal 1/2 binary64)) (*.f64 x x))) #s(literal 1 binary64))))
#s(approx (sqrt (- (* x x) 1)) (*.f64 (neg.f64 x) (-.f64 (+.f64 (neg.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/16 binary64) (*.f64 x x)) #s(literal 1/8 binary64)) (*.f64 (*.f64 x x) (*.f64 x x)))) #s(literal 1 binary64)) (/.f64 #s(literal 1/2 binary64) (*.f64 x x)))))

eval6.0ms (0.2%)

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

Compiled 685 to 312 computations (54.5% saved)

prune2.0ms (0.1%)

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

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New56258
Fresh000
Picked101
Done000
Total57259
Accuracy
100.0%
Counts
59 → 2
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.0%
(log.f64 (+.f64 x #s(approx (sqrt (- (* x x) 1)) x)))
99.8%
(acosh.f64 x)
Compiler

Compiled 10 to 10 computations (0% saved)

series2.0ms (0.1%)

Memory
5.1MiB live, 5.1MiB allocated; 0ms collecting garbage
Counts
5 → 49
Calls
Call 1
Inputs
(acosh.f64 x)
x
(log.f64 (+.f64 x #s(approx (sqrt (- (* x x) 1)) x)))
(+.f64 x #s(approx (sqrt (- (* x x) 1)) x))
#s(approx (sqrt (- (* x x) 1)) x)
Outputs
#s(approx (acosh x) #s(hole binary64 (log (sqrt -1))))
#s(approx (acosh x) #s(hole binary64 (+ (log (sqrt -1)) (/ x (sqrt -1)))))
#s(approx (acosh x) #s(hole binary64 (+ (log (sqrt -1)) (* x (+ (* -1/6 (/ (pow x 2) (pow (sqrt -1) 3))) (/ 1 (sqrt -1)))))))
#s(approx (acosh x) #s(hole binary64 (+ (log (sqrt -1)) (* x (+ (* (pow x 2) (- (* 3/40 (/ (pow x 2) (pow (sqrt -1) 5))) (* 1/6 (/ 1 (pow (sqrt -1) 3))))) (/ 1 (sqrt -1)))))))
#s(approx x #s(hole binary64 x))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary64 (log (sqrt -1))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary64 (+ (log (sqrt -1)) (/ x (sqrt -1)))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary64 (+ (log (sqrt -1)) (* x (+ (* -1/6 (/ (pow x 2) (pow (sqrt -1) 3))) (/ 1 (sqrt -1)))))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary64 (+ (log (sqrt -1)) (* x (+ (* (pow x 2) (- (* 3/40 (/ (pow x 2) (pow (sqrt -1) 5))) (* 1/6 (/ 1 (pow (sqrt -1) 3))))) (/ 1 (sqrt -1)))))))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary64 (sqrt -1)))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary64 (+ x (sqrt -1))))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary64 (+ (sqrt -1) (* x (+ 1 (* 1/2 (/ x (sqrt -1))))))))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary64 (+ (sqrt -1) (* x (+ 1 (* x (+ (* -1/8 (/ (pow x 2) (pow (sqrt -1) 3))) (* 1/2 (/ 1 (sqrt -1))))))))))
#s(approx (sqrt (- (* x x) 1)) #s(hole binary64 (sqrt -1)))
#s(approx (sqrt (- (* x x) 1)) #s(hole binary64 (+ (sqrt -1) (* 1/2 (/ (pow x 2) (sqrt -1))))))
#s(approx (sqrt (- (* x x) 1)) #s(hole binary64 (+ (sqrt -1) (* (pow x 2) (+ (* -1/8 (/ (pow x 2) (pow (sqrt -1) 3))) (* 1/2 (/ 1 (sqrt -1))))))))
#s(approx (sqrt (- (* x x) 1)) #s(hole binary64 (+ (sqrt -1) (* (pow x 2) (+ (* (pow x 2) (- (* 1/16 (/ (pow x 2) (pow (sqrt -1) 5))) (* 1/8 (/ 1 (pow (sqrt -1) 3))))) (* 1/2 (/ 1 (sqrt -1))))))))
#s(approx (acosh x) #s(hole binary64 (+ (log 2) (* -1 (log (/ 1 x))))))
#s(approx (acosh x) #s(hole binary64 (- (+ (log 2) (* -1 (log (/ 1 x)))) (* 1/4 (/ 1 (pow x 2))))))
#s(approx (acosh x) #s(hole binary64 (+ (log 2) (+ (* -1 (log (/ 1 x))) (* -1 (/ (+ 1/4 (* 3/32 (/ 1 (pow x 2)))) (pow x 2)))))))
#s(approx (acosh x) #s(hole binary64 (- (+ (log 2) (+ (* -1 (log (/ 1 x))) (* -1 (/ (+ 3/32 (* 5/96 (/ 1 (pow x 2)))) (pow x 4))))) (* 1/4 (/ 1 (pow x 2))))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary64 (+ (log 2) (* -1 (log (/ 1 x))))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary64 (- (+ (log 2) (* -1 (log (/ 1 x)))) (* 1/4 (/ 1 (pow x 2))))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary64 (+ (log 2) (+ (* -1 (log (/ 1 x))) (* -1 (/ (+ 1/4 (* 3/32 (/ 1 (pow x 2)))) (pow x 2)))))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary64 (- (+ (log 2) (+ (* -1 (log (/ 1 x))) (* -1 (/ (+ 3/32 (* 5/96 (/ 1 (pow x 2)))) (pow x 4))))) (* 1/4 (/ 1 (pow x 2))))))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary64 (* 2 x)))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary64 (* x (- 2 (* 1/2 (/ 1 (pow x 2)))))))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary64 (* x (+ 2 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) (pow x 2)))))))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary64 (* x (- (+ 2 (* -1 (/ (+ 1/8 (* 1/16 (/ 1 (pow x 2)))) (pow x 4)))) (* 1/2 (/ 1 (pow x 2)))))))
#s(approx (sqrt (- (* x x) 1)) #s(hole binary64 x))
#s(approx (sqrt (- (* x x) 1)) #s(hole binary64 (* x (- 1 (* 1/2 (/ 1 (pow x 2)))))))
#s(approx (sqrt (- (* x x) 1)) #s(hole binary64 (* x (+ 1 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) (pow x 2)))))))
#s(approx (sqrt (- (* x x) 1)) #s(hole binary64 (* x (- (+ 1 (* -1 (/ (+ 1/8 (* 1/16 (/ 1 (pow x 2)))) (pow x 4)))) (* 1/2 (/ 1 (pow x 2)))))))
#s(approx (acosh x) #s(hole binary64 (+ (log -1/2) (log (/ -1 x)))))
#s(approx (acosh x) #s(hole binary64 (+ (log -1/2) (+ (log (/ -1 x)) (* 1/4 (/ 1 (pow x 2)))))))
#s(approx (acosh x) #s(hole binary64 (+ (log -1/2) (+ (log (/ -1 x)) (+ (/ 3/32 (pow x 4)) (* 1/4 (/ 1 (pow x 2))))))))
#s(approx (acosh x) #s(hole binary64 (+ (log -1/2) (+ (log (/ -1 x)) (+ (/ 3/32 (pow x 4)) (+ (* 1/4 (/ 1 (pow x 2))) (* 5/96 (/ 1 (pow x 6)))))))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary64 (+ (log -1/2) (log (/ -1 x)))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary64 (+ (log -1/2) (+ (log (/ -1 x)) (* 1/4 (/ 1 (pow x 2)))))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary64 (+ (log -1/2) (+ (log (/ -1 x)) (+ (/ 3/32 (pow x 4)) (* 1/4 (/ 1 (pow x 2))))))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary64 (+ (log -1/2) (+ (log (/ -1 x)) (+ (/ 3/32 (pow x 4)) (+ (* 1/4 (/ 1 (pow x 2))) (* 5/96 (/ 1 (pow x 6)))))))))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary64 (/ 1/2 x)))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary64 (/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) x)))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary64 (* -1 (/ (- (* -1 (/ (+ 1/8 (* 1/16 (/ 1 (pow x 2)))) (pow x 2))) 1/2) x))))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary64 (* -1 (/ (- (* -1 (/ (+ 1/16 (* 5/128 (/ 1 (pow x 2)))) (pow x 4))) (+ 1/2 (* 1/8 (/ 1 (pow x 2))))) x))))
#s(approx (sqrt (- (* x x) 1)) #s(hole binary64 (* -1 x)))
#s(approx (sqrt (- (* x x) 1)) #s(hole binary64 (* -1 (* x (- 1 (* 1/2 (/ 1 (pow x 2))))))))
#s(approx (sqrt (- (* x x) 1)) #s(hole binary64 (* -1 (* x (+ 1 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) (pow x 2))))))))
#s(approx (sqrt (- (* x x) 1)) #s(hole binary64 (* -1 (* x (- (+ 1 (* -1 (/ (+ 1/8 (* 1/16 (/ 1 (pow x 2)))) (pow x 4)))) (* 1/2 (/ 1 (pow x 2))))))))
Calls

3 calls:

TimeVariablePointExpression
1.0ms
x
@-inf
((acosh x) x (log (+ x (sqrt (- (* x x) 1)))) (+ x (sqrt (- (* x x) 1))) (sqrt (- (* x x) 1)))
1.0ms
x
@inf
((acosh x) x (log (+ x (sqrt (- (* x x) 1)))) (+ x (sqrt (- (* x x) 1))) (sqrt (- (* x x) 1)))
0.0ms
x
@0
((acosh x) x (log (+ x (sqrt (- (* x x) 1)))) (+ x (sqrt (- (* x x) 1))) (sqrt (- (* x x) 1)))

rewrite49.0ms (2%)

Memory
7.5MiB live, 53.4MiB allocated; 4ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02051194
0207901
01173861
Stop Event
iter-limit
iter-limit
node-limit
iter-limit
Counts
54 → 58
Calls
Call 1
Inputs
(acosh.f64 x)
x
(log.f64 (+.f64 x #s(approx (sqrt (- (* x x) 1)) x)))
(+.f64 x #s(approx (sqrt (- (* x x) 1)) x))
#s(approx (sqrt (- (* x x) 1)) x)
#s(approx (acosh x) #s(hole binary64 (log (sqrt -1))))
#s(approx (acosh x) #s(hole binary64 (+ (log (sqrt -1)) (/ x (sqrt -1)))))
#s(approx (acosh x) #s(hole binary64 (+ (log (sqrt -1)) (* x (+ (* -1/6 (/ (pow x 2) (pow (sqrt -1) 3))) (/ 1 (sqrt -1)))))))
#s(approx (acosh x) #s(hole binary64 (+ (log (sqrt -1)) (* x (+ (* (pow x 2) (- (* 3/40 (/ (pow x 2) (pow (sqrt -1) 5))) (* 1/6 (/ 1 (pow (sqrt -1) 3))))) (/ 1 (sqrt -1)))))))
#s(approx x #s(hole binary64 x))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary64 (log (sqrt -1))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary64 (+ (log (sqrt -1)) (/ x (sqrt -1)))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary64 (+ (log (sqrt -1)) (* x (+ (* -1/6 (/ (pow x 2) (pow (sqrt -1) 3))) (/ 1 (sqrt -1)))))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary64 (+ (log (sqrt -1)) (* x (+ (* (pow x 2) (- (* 3/40 (/ (pow x 2) (pow (sqrt -1) 5))) (* 1/6 (/ 1 (pow (sqrt -1) 3))))) (/ 1 (sqrt -1)))))))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary64 (sqrt -1)))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary64 (+ x (sqrt -1))))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary64 (+ (sqrt -1) (* x (+ 1 (* 1/2 (/ x (sqrt -1))))))))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary64 (+ (sqrt -1) (* x (+ 1 (* x (+ (* -1/8 (/ (pow x 2) (pow (sqrt -1) 3))) (* 1/2 (/ 1 (sqrt -1))))))))))
#s(approx (sqrt (- (* x x) 1)) #s(hole binary64 (sqrt -1)))
#s(approx (sqrt (- (* x x) 1)) #s(hole binary64 (+ (sqrt -1) (* 1/2 (/ (pow x 2) (sqrt -1))))))
#s(approx (sqrt (- (* x x) 1)) #s(hole binary64 (+ (sqrt -1) (* (pow x 2) (+ (* -1/8 (/ (pow x 2) (pow (sqrt -1) 3))) (* 1/2 (/ 1 (sqrt -1))))))))
#s(approx (sqrt (- (* x x) 1)) #s(hole binary64 (+ (sqrt -1) (* (pow x 2) (+ (* (pow x 2) (- (* 1/16 (/ (pow x 2) (pow (sqrt -1) 5))) (* 1/8 (/ 1 (pow (sqrt -1) 3))))) (* 1/2 (/ 1 (sqrt -1))))))))
#s(approx (acosh x) #s(hole binary64 (+ (log 2) (* -1 (log (/ 1 x))))))
#s(approx (acosh x) #s(hole binary64 (- (+ (log 2) (* -1 (log (/ 1 x)))) (* 1/4 (/ 1 (pow x 2))))))
#s(approx (acosh x) #s(hole binary64 (+ (log 2) (+ (* -1 (log (/ 1 x))) (* -1 (/ (+ 1/4 (* 3/32 (/ 1 (pow x 2)))) (pow x 2)))))))
#s(approx (acosh x) #s(hole binary64 (- (+ (log 2) (+ (* -1 (log (/ 1 x))) (* -1 (/ (+ 3/32 (* 5/96 (/ 1 (pow x 2)))) (pow x 4))))) (* 1/4 (/ 1 (pow x 2))))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary64 (+ (log 2) (* -1 (log (/ 1 x))))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary64 (- (+ (log 2) (* -1 (log (/ 1 x)))) (* 1/4 (/ 1 (pow x 2))))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary64 (+ (log 2) (+ (* -1 (log (/ 1 x))) (* -1 (/ (+ 1/4 (* 3/32 (/ 1 (pow x 2)))) (pow x 2)))))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary64 (- (+ (log 2) (+ (* -1 (log (/ 1 x))) (* -1 (/ (+ 3/32 (* 5/96 (/ 1 (pow x 2)))) (pow x 4))))) (* 1/4 (/ 1 (pow x 2))))))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary64 (* 2 x)))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary64 (* x (- 2 (* 1/2 (/ 1 (pow x 2)))))))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary64 (* x (+ 2 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) (pow x 2)))))))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary64 (* x (- (+ 2 (* -1 (/ (+ 1/8 (* 1/16 (/ 1 (pow x 2)))) (pow x 4)))) (* 1/2 (/ 1 (pow x 2)))))))
#s(approx (sqrt (- (* x x) 1)) #s(hole binary64 x))
#s(approx (sqrt (- (* x x) 1)) #s(hole binary64 (* x (- 1 (* 1/2 (/ 1 (pow x 2)))))))
#s(approx (sqrt (- (* x x) 1)) #s(hole binary64 (* x (+ 1 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) (pow x 2)))))))
#s(approx (sqrt (- (* x x) 1)) #s(hole binary64 (* x (- (+ 1 (* -1 (/ (+ 1/8 (* 1/16 (/ 1 (pow x 2)))) (pow x 4)))) (* 1/2 (/ 1 (pow x 2)))))))
#s(approx (acosh x) #s(hole binary64 (+ (log -1/2) (log (/ -1 x)))))
#s(approx (acosh x) #s(hole binary64 (+ (log -1/2) (+ (log (/ -1 x)) (* 1/4 (/ 1 (pow x 2)))))))
#s(approx (acosh x) #s(hole binary64 (+ (log -1/2) (+ (log (/ -1 x)) (+ (/ 3/32 (pow x 4)) (* 1/4 (/ 1 (pow x 2))))))))
#s(approx (acosh x) #s(hole binary64 (+ (log -1/2) (+ (log (/ -1 x)) (+ (/ 3/32 (pow x 4)) (+ (* 1/4 (/ 1 (pow x 2))) (* 5/96 (/ 1 (pow x 6)))))))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary64 (+ (log -1/2) (log (/ -1 x)))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary64 (+ (log -1/2) (+ (log (/ -1 x)) (* 1/4 (/ 1 (pow x 2)))))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary64 (+ (log -1/2) (+ (log (/ -1 x)) (+ (/ 3/32 (pow x 4)) (* 1/4 (/ 1 (pow x 2))))))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary64 (+ (log -1/2) (+ (log (/ -1 x)) (+ (/ 3/32 (pow x 4)) (+ (* 1/4 (/ 1 (pow x 2))) (* 5/96 (/ 1 (pow x 6)))))))))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary64 (/ 1/2 x)))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary64 (/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) x)))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary64 (* -1 (/ (- (* -1 (/ (+ 1/8 (* 1/16 (/ 1 (pow x 2)))) (pow x 2))) 1/2) x))))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary64 (* -1 (/ (- (* -1 (/ (+ 1/16 (* 5/128 (/ 1 (pow x 2)))) (pow x 4))) (+ 1/2 (* 1/8 (/ 1 (pow x 2))))) x))))
#s(approx (sqrt (- (* x x) 1)) #s(hole binary64 (* -1 x)))
#s(approx (sqrt (- (* x x) 1)) #s(hole binary64 (* -1 (* x (- 1 (* 1/2 (/ 1 (pow x 2))))))))
#s(approx (sqrt (- (* x x) 1)) #s(hole binary64 (* -1 (* x (+ 1 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) (pow x 2))))))))
#s(approx (sqrt (- (* x x) 1)) #s(hole binary64 (* -1 (* x (- (+ 1 (* -1 (/ (+ 1/8 (* 1/16 (/ 1 (pow x 2)))) (pow x 4)))) (* 1/2 (/ 1 (pow x 2))))))))
Outputs
(acosh.f64 x)
(log.f64 (+.f64 (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64))) x))
x
(log.f64 (+.f64 #s(approx (sqrt (- (* x x) 1)) x) x))
(/.f64 (-.f64 (*.f64 x x) (*.f64 #s(approx (sqrt (- (* x x) 1)) x) #s(approx (sqrt (- (* x x) 1)) x))) (-.f64 x #s(approx (sqrt (- (* x x) 1)) x)))
(/.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 #s(approx (sqrt (- (* x x) 1)) x) #s(literal 3 binary64))) (fma.f64 x x (-.f64 (*.f64 #s(approx (sqrt (- (* x x) 1)) x) #s(approx (sqrt (- (* x x) 1)) x)) (*.f64 x #s(approx (sqrt (- (* x x) 1)) x)))))
(+.f64 #s(approx (sqrt (- (* x x) 1)) x) x)
(+.f64 x #s(approx (sqrt (- (* x x) 1)) x))
#s(approx (sqrt (- (* x x) 1)) x)
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (log.f64 (sqrt.f64 #s(literal -1 binary64))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (+.f64 (/.f64 x (sqrt.f64 #s(literal -1 binary64))) (log.f64 (sqrt.f64 #s(literal -1 binary64)))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (fma.f64 (fma.f64 (/.f64 (*.f64 x x) (*.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 #s(literal -1 binary64)))) #s(literal -1/6 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 #s(literal -1 binary64)))) x (log.f64 (sqrt.f64 #s(literal -1 binary64)))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (fma.f64 (fma.f64 (-.f64 (/.f64 (*.f64 #s(literal 3/40 binary64) (*.f64 x x)) (pow.f64 #s(literal -1 binary64) #s(literal 5/2 binary64))) (/.f64 #s(literal 1/6 binary64) (*.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 #s(literal -1 binary64))))) (*.f64 x x) (/.f64 #s(literal 1 binary64) (sqrt.f64 #s(literal -1 binary64)))) x (log.f64 (sqrt.f64 #s(literal -1 binary64)))))
#s(approx x x)
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (log.f64 (sqrt.f64 #s(literal -1 binary64))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (+.f64 (/.f64 x (sqrt.f64 #s(literal -1 binary64))) (log.f64 (sqrt.f64 #s(literal -1 binary64)))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (fma.f64 (fma.f64 (/.f64 (*.f64 x x) (*.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 #s(literal -1 binary64)))) #s(literal -1/6 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 #s(literal -1 binary64)))) x (log.f64 (sqrt.f64 #s(literal -1 binary64)))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (fma.f64 (fma.f64 (-.f64 (/.f64 (*.f64 #s(literal 3/40 binary64) (*.f64 x x)) (pow.f64 #s(literal -1 binary64) #s(literal 5/2 binary64))) (/.f64 #s(literal 1/6 binary64) (*.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 #s(literal -1 binary64))))) (*.f64 x x) (/.f64 #s(literal 1 binary64) (sqrt.f64 #s(literal -1 binary64)))) x (log.f64 (sqrt.f64 #s(literal -1 binary64)))))
#s(approx (+ x (sqrt (- (* x x) 1))) (sqrt.f64 #s(literal -1 binary64)))
#s(approx (+ x (sqrt (- (* x x) 1))) (+.f64 (sqrt.f64 #s(literal -1 binary64)) x))
#s(approx (+ x (sqrt (- (* x x) 1))) (fma.f64 (fma.f64 #s(literal 1/2 binary64) (/.f64 x (sqrt.f64 #s(literal -1 binary64))) #s(literal 1 binary64)) x (sqrt.f64 #s(literal -1 binary64))))
#s(approx (+ x (sqrt (- (* x x) 1))) (fma.f64 (fma.f64 (fma.f64 (/.f64 (*.f64 x x) (*.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 #s(literal -1 binary64)))) #s(literal -1/8 binary64) (/.f64 #s(literal 1/2 binary64) (sqrt.f64 #s(literal -1 binary64)))) x #s(literal 1 binary64)) x (sqrt.f64 #s(literal -1 binary64))))
#s(approx (sqrt (- (* x x) 1)) (sqrt.f64 #s(literal -1 binary64)))
#s(approx (sqrt (- (* x x) 1)) (fma.f64 (/.f64 (*.f64 x x) (sqrt.f64 #s(literal -1 binary64))) #s(literal 1/2 binary64) (sqrt.f64 #s(literal -1 binary64))))
#s(approx (sqrt (- (* x x) 1)) (fma.f64 (fma.f64 (/.f64 (*.f64 x x) (*.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 #s(literal -1 binary64)))) #s(literal -1/8 binary64) (/.f64 #s(literal 1/2 binary64) (sqrt.f64 #s(literal -1 binary64)))) (*.f64 x x) (sqrt.f64 #s(literal -1 binary64))))
#s(approx (sqrt (- (* x x) 1)) (fma.f64 (fma.f64 (-.f64 (/.f64 (*.f64 #s(literal 1/16 binary64) (*.f64 x x)) (pow.f64 #s(literal -1 binary64) #s(literal 5/2 binary64))) (/.f64 #s(literal 1/8 binary64) (*.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 #s(literal -1 binary64))))) (*.f64 x x) (/.f64 #s(literal 1/2 binary64) (sqrt.f64 #s(literal -1 binary64)))) (*.f64 x x) (sqrt.f64 #s(literal -1 binary64))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (+.f64 (neg.f64 (neg.f64 (log.f64 x))) (log.f64 #s(literal 2 binary64))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (+.f64 (log.f64 #s(literal 2 binary64)) (-.f64 (neg.f64 (neg.f64 (log.f64 x))) (/.f64 #s(literal 1/4 binary64) (*.f64 x x)))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (+.f64 (+.f64 (neg.f64 (neg.f64 (log.f64 x))) (log.f64 #s(literal 2 binary64))) (neg.f64 (/.f64 (+.f64 (/.f64 #s(literal 3/32 binary64) (*.f64 x x)) #s(literal 1/4 binary64)) (*.f64 x x)))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (-.f64 (+.f64 (+.f64 (neg.f64 (neg.f64 (log.f64 x))) (log.f64 #s(literal 2 binary64))) (neg.f64 (/.f64 (+.f64 (/.f64 #s(literal 5/96 binary64) (*.f64 x x)) #s(literal 3/32 binary64)) (*.f64 (*.f64 x x) (*.f64 x x))))) (/.f64 #s(literal 1/4 binary64) (*.f64 x x))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (+.f64 (neg.f64 (neg.f64 (log.f64 x))) (log.f64 #s(literal 2 binary64))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (+.f64 (log.f64 #s(literal 2 binary64)) (-.f64 (neg.f64 (neg.f64 (log.f64 x))) (/.f64 #s(literal 1/4 binary64) (*.f64 x x)))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (+.f64 (+.f64 (neg.f64 (neg.f64 (log.f64 x))) (log.f64 #s(literal 2 binary64))) (neg.f64 (/.f64 (+.f64 (/.f64 #s(literal 3/32 binary64) (*.f64 x x)) #s(literal 1/4 binary64)) (*.f64 x x)))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (-.f64 (+.f64 (+.f64 (neg.f64 (neg.f64 (log.f64 x))) (log.f64 #s(literal 2 binary64))) (neg.f64 (/.f64 (+.f64 (/.f64 #s(literal 5/96 binary64) (*.f64 x x)) #s(literal 3/32 binary64)) (*.f64 (*.f64 x x) (*.f64 x x))))) (/.f64 #s(literal 1/4 binary64) (*.f64 x x))))
#s(approx (+ x (sqrt (- (* x x) 1))) (+.f64 x x))
#s(approx (+ x (sqrt (- (* x x) 1))) (*.f64 (-.f64 #s(literal 2 binary64) (/.f64 #s(literal 1/2 binary64) (*.f64 x x))) x))
#s(approx (+ x (sqrt (- (* x x) 1))) (*.f64 (+.f64 (neg.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/8 binary64) (*.f64 x x)) #s(literal 1/2 binary64)) (*.f64 x x))) #s(literal 2 binary64)) x))
#s(approx (+ x (sqrt (- (* x x) 1))) (*.f64 (-.f64 (+.f64 (neg.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/16 binary64) (*.f64 x x)) #s(literal 1/8 binary64)) (*.f64 (*.f64 x x) (*.f64 x x)))) #s(literal 2 binary64)) (/.f64 #s(literal 1/2 binary64) (*.f64 x x))) x))
#s(approx (sqrt (- (* x x) 1)) x)
#s(approx (sqrt (- (* x x) 1)) (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1/2 binary64) (*.f64 x x))) x))
#s(approx (sqrt (- (* x x) 1)) (*.f64 (+.f64 (neg.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/8 binary64) (*.f64 x x)) #s(literal 1/2 binary64)) (*.f64 x x))) #s(literal 1 binary64)) x))
#s(approx (sqrt (- (* x x) 1)) (*.f64 (-.f64 (+.f64 (neg.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/16 binary64) (*.f64 x x)) #s(literal 1/8 binary64)) (*.f64 (*.f64 x x) (*.f64 x x)))) #s(literal 1 binary64)) (/.f64 #s(literal 1/2 binary64) (*.f64 x x))) x))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (log.f64 (*.f64 #s(literal -1/2 binary64) (/.f64 #s(literal -1 binary64) x))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (+.f64 (log.f64 (*.f64 #s(literal -1/2 binary64) (/.f64 #s(literal -1 binary64) x))) (/.f64 #s(literal 1/4 binary64) (*.f64 x x))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (+.f64 (log.f64 (*.f64 #s(literal -1/2 binary64) (/.f64 #s(literal -1 binary64) x))) (+.f64 (/.f64 #s(literal 3/32 binary64) (*.f64 (*.f64 x x) (*.f64 x x))) (/.f64 #s(literal 1/4 binary64) (*.f64 x x)))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (+.f64 (log.f64 (*.f64 #s(literal -1/2 binary64) (/.f64 #s(literal -1 binary64) x))) (+.f64 (fma.f64 (pow.f64 x #s(literal -6 binary64)) #s(literal 5/96 binary64) (/.f64 #s(literal 1/4 binary64) (*.f64 x x))) (/.f64 #s(literal 3/32 binary64) (*.f64 (*.f64 x x) (*.f64 x x))))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (log.f64 (*.f64 #s(literal -1/2 binary64) (/.f64 #s(literal -1 binary64) x))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (+.f64 (log.f64 (*.f64 #s(literal -1/2 binary64) (/.f64 #s(literal -1 binary64) x))) (/.f64 #s(literal 1/4 binary64) (*.f64 x x))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (+.f64 (log.f64 (*.f64 #s(literal -1/2 binary64) (/.f64 #s(literal -1 binary64) x))) (+.f64 (/.f64 #s(literal 3/32 binary64) (*.f64 (*.f64 x x) (*.f64 x x))) (/.f64 #s(literal 1/4 binary64) (*.f64 x x)))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (+.f64 (log.f64 (*.f64 #s(literal -1/2 binary64) (/.f64 #s(literal -1 binary64) x))) (+.f64 (fma.f64 (pow.f64 x #s(literal -6 binary64)) #s(literal 5/96 binary64) (/.f64 #s(literal 1/4 binary64) (*.f64 x x))) (/.f64 #s(literal 3/32 binary64) (*.f64 (*.f64 x x) (*.f64 x x))))))
#s(approx (+ x (sqrt (- (* x x) 1))) (/.f64 #s(literal 1/2 binary64) x))
#s(approx (+ x (sqrt (- (* x x) 1))) (/.f64 (+.f64 (/.f64 #s(literal 1/8 binary64) (*.f64 x x)) #s(literal 1/2 binary64)) x))
#s(approx (+ x (sqrt (- (* x x) 1))) (neg.f64 (/.f64 (-.f64 (neg.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/16 binary64) (*.f64 x x)) #s(literal 1/8 binary64)) (*.f64 x x))) #s(literal 1/2 binary64)) x)))
#s(approx (+ x (sqrt (- (* x x) 1))) (neg.f64 (/.f64 (-.f64 (-.f64 (neg.f64 (/.f64 (+.f64 (/.f64 #s(literal 5/128 binary64) (*.f64 x x)) #s(literal 1/16 binary64)) (*.f64 (*.f64 x x) (*.f64 x x)))) #s(literal 1/2 binary64)) (/.f64 #s(literal 1/8 binary64) (*.f64 x x))) x)))
#s(approx (sqrt (- (* x x) 1)) (neg.f64 x))
#s(approx (sqrt (- (* x x) 1)) (*.f64 (neg.f64 x) (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1/2 binary64) (*.f64 x x)))))
#s(approx (sqrt (- (* x x) 1)) (*.f64 (neg.f64 x) (+.f64 (neg.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/8 binary64) (*.f64 x x)) #s(literal 1/2 binary64)) (*.f64 x x))) #s(literal 1 binary64))))
#s(approx (sqrt (- (* x x) 1)) (*.f64 (neg.f64 x) (-.f64 (+.f64 (neg.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/16 binary64) (*.f64 x x)) #s(literal 1/8 binary64)) (*.f64 (*.f64 x x) (*.f64 x x)))) #s(literal 1 binary64)) (/.f64 #s(literal 1/2 binary64) (*.f64 x x)))))

eval4.0ms (0.2%)

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

Compiled 579 to 227 computations (60.8% saved)

prune23.0ms (0.9%)

Memory
-37.7MiB live, 16.5MiB allocated; 23ms collecting garbage
Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New42042
Fresh000
Picked022
Done000
Total42244
Accuracy
100.0%
Counts
44 → 2
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.0%
(log.f64 (+.f64 x #s(approx (sqrt (- (* x x) 1)) x)))
99.8%
(acosh.f64 x)
Compiler

Compiled 25 to 25 computations (0% saved)

regimes5.0ms (0.2%)

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

Total -28.6b remaining (-18323.5%)

Threshold costs -28.6b (-18323.5%)

Counts
3 → 1
Calls
Call 1
Inputs
(acosh.f64 x)
(log.f64 (+.f64 x #s(approx (sqrt (- (* x x) 1)) x)))
(log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64)))))
Outputs
(acosh.f64 x)
Calls

3 calls:

1.0ms
x
1.0ms
(log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64)))))
1.0ms
(+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64))))
Results
AccuracySegmentsBranch
99.8%1(+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64))))
99.8%1(log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64)))))
99.8%1x
Compiler

Compiled 14 to 14 computations (0% saved)

derivations3.0ms (0.1%)

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

Compiled 2 to 2 computations (0% saved)

preprocess11.0ms (0.4%)

Memory
-24.2MiB live, 21.4MiB allocated; 5ms collecting garbage
Compiler

Compiled 9 to 9 computations (0% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...