Rust f64::acosh

Time bar (total: 3.3s)

start0.0ms (0%)

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

analyze0.0ms (0%)

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

Compiled 6 to 5 computations (16.7% saved)

sample1.3s (40%)

Memory
27.8MiB live, 1 020.0MiB allocated; 181ms collecting garbage
Samples
1.2s8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 219.0ms
ival-acosh: 214.0ms (97.7% of total)
ival-assert: 3.0ms (1.4% of total)
adjust: 2.0ms (0.9% of total)
Bogosity

explain184.0ms (5.5%)

Memory
22.1MiB live, 310.4MiB allocated; 56ms collecting garbage
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
1280-0-(sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64)))
00-0-(+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64))))
00-0-#s(literal 1 binary64)
00-0-(log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64)))))
00-0-(*.f64 x x)
00-0-(-.f64 (*.f64 x x) #s(literal 1 binary64))
00-0-x
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
sqrt.f64(sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64)))oflow-rescue1280
(-.f64 (*.f64 x x) #s(literal 1 binary64))overflow128
(*.f64 x x)overflow128
Confusion
Predicted +Predicted -
+1280
-0128
Precision
1.0
Recall
1.0
Confusion?
Predicted +Predicted MaybePredicted -
+12800
-00128
Precision?
1.0
Recall?
1.0
Freqs
test
numberfreq
0128
1128
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Samples
116.0ms512×0valid
Compiler

Compiled 79 to 25 computations (68.4% saved)

Precisions
Click to see histograms. Total time spent on operations: 102.0ms
ival-log: 68.0ms (66.5% of total)
ival-sqrt: 24.0ms (23.5% of total)
ival-mult: 4.0ms (3.9% of total)
ival-add: 3.0ms (2.9% of total)
ival-sub: 3.0ms (2.9% of total)
ival-true: 1.0ms (1% of total)
adjust: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)
exact: 0.0ms (0% of total)

preprocess106.0ms (3.2%)

Memory
-4.8MiB live, 83.5MiB allocated; 26ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
079
189
0109
0159
1179
2209
3289
4549
51919
614329
743509
080219
Stop Event
saturated
node limit
iter limit
saturated
Calls
Call 1
Inputs
(log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64)))))
Outputs
(log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64)))))
Compiler

Compiled 9 to 7 computations (22.2% saved)

eval0.0ms (0%)

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

Compiled 0 to 1 computations (-∞% saved)

prune0.0ms (0%)

Memory
0.7MiB live, 0.7MiB allocated; 0ms collecting garbage
Alt Table
Click to see full alt table
StatusAccuracyProgram
51.6%
(log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64)))))
Compiler

Compiled 9 to 7 computations (22.2% saved)

series6.0ms (0.2%)

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

rewrite838.0ms (25%)

Memory
4.3MiB live, 146.7MiB allocated; 40ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02441068
13321068
23331068
33341068
43351068
53361068
63371068
0337804
01309794
11626794
22194794
32678794
42953794
53089794
63147794
73170794
83176794
93177794
Stop Event
saturated
iter limit
node limit
saturated
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
(log.f64 (+.f64 x (sinh.f64 (acosh.f64 x))))
(acosh.f64 x)
(+.f64 x (sinh.f64 (acosh.f64 x)))
(+.f64 (sinh.f64 (acosh.f64 x)) x)
(/.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 (sinh.f64 (acosh.f64 x)) #s(literal 3 binary64))) (fma.f64 x x (-.f64 (*.f64 (sinh.f64 (acosh.f64 x)) (sinh.f64 (acosh.f64 x))) (*.f64 x (sinh.f64 (acosh.f64 x))))))
(/.f64 (-.f64 (*.f64 x x) (*.f64 (sinh.f64 (acosh.f64 x)) (sinh.f64 (acosh.f64 x)))) (-.f64 x (sinh.f64 (acosh.f64 x))))
x
(sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64)))
(sinh.f64 (acosh.f64 x))
(pow.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64)) #s(literal 1/2 binary64))
(-.f64 (*.f64 x x) #s(literal 1 binary64))
(expm1.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))
(/.f64 (-.f64 (pow.f64 (*.f64 x x) #s(literal 3 binary64)) #s(literal 1 binary64)) (+.f64 (pow.f64 x #s(literal 4 binary64)) (+.f64 #s(literal 1 binary64) (*.f64 (*.f64 x x) #s(literal 1 binary64)))))
(/.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1 binary64)) (fma.f64 x x #s(literal 1 binary64)))
(*.f64 (+.f64 x #s(literal 1 binary64)) (-.f64 x #s(literal 1 binary64)))
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))
(pow.f64 x #s(literal 2 binary64))
(*.f64 x x)
(*.f64 (neg.f64 x) (neg.f64 x))
(*.f64 (fabs.f64 x) (fabs.f64 x))
(*.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 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 (log.f64 (sqrt.f64 #s(literal -1 binary64))) (/.f64 x (sqrt.f64 #s(literal -1 binary64)))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (fma.f64 x (fma.f64 (/.f64 (*.f64 x x) (pow.f64 #s(literal -1 binary64) #s(literal 3/2 binary64))) #s(literal -1/6 binary64) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal -1 binary64))) (log.f64 (sqrt.f64 #s(literal -1 binary64)))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (fma.f64 x (fma.f64 (*.f64 x x) (-.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) (pow.f64 #s(literal -1 binary64) #s(literal 3/2 binary64)))) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal -1 binary64))) (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 x (sqrt.f64 #s(literal -1 binary64))))
#s(approx (+ x (sqrt (- (* x x) 1))) (fma.f64 x (fma.f64 (/.f64 x (sqrt.f64 #s(literal -1 binary64))) #s(literal 1/2 binary64) #s(literal 1 binary64)) (sqrt.f64 #s(literal -1 binary64))))
#s(approx (+ x (sqrt (- (* x x) 1))) (fma.f64 x (fma.f64 x (fma.f64 (/.f64 (*.f64 x x) (pow.f64 #s(literal -1 binary64) #s(literal 3/2 binary64))) #s(literal -1/8 binary64) (/.f64 #s(literal 1/2 binary64) (sqrt.f64 #s(literal -1 binary64)))) #s(literal 1 binary64)) (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 #s(literal 1/2 binary64) (/.f64 (*.f64 x x) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 #s(literal -1 binary64))))
#s(approx (sqrt (- (* x x) 1)) (fma.f64 (*.f64 x x) (fma.f64 (/.f64 (*.f64 x x) (pow.f64 #s(literal -1 binary64) #s(literal 3/2 binary64))) #s(literal -1/8 binary64) (/.f64 #s(literal 1/2 binary64) (sqrt.f64 #s(literal -1 binary64)))) (sqrt.f64 #s(literal -1 binary64))))
#s(approx (sqrt (- (* x x) 1)) (fma.f64 (*.f64 x x) (fma.f64 (*.f64 x x) (-.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) (pow.f64 #s(literal -1 binary64) #s(literal 3/2 binary64)))) (/.f64 #s(literal 1/2 binary64) (sqrt.f64 #s(literal -1 binary64)))) (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)))) (fma.f64 #s(literal -1 binary64) (neg.f64 (log.f64 x)) (log.f64 #s(literal 2 binary64))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (-.f64 (fma.f64 #s(literal -1 binary64) (neg.f64 (log.f64 x)) (log.f64 #s(literal 2 binary64))) (/.f64 #s(literal 1/4 binary64) (*.f64 x x))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (fma.f64 #s(literal -1 binary64) (+.f64 (neg.f64 (log.f64 x)) (/.f64 (fma.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 3/32 binary64) #s(literal 1/4 binary64)) (*.f64 x x))) (log.f64 #s(literal 2 binary64))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (+.f64 (fma.f64 #s(literal -1 binary64) (+.f64 (neg.f64 (log.f64 x)) (/.f64 (fma.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 5/96 binary64) #s(literal 3/32 binary64)) (pow.f64 x #s(literal 4 binary64)))) (log.f64 #s(literal 2 binary64))) (*.f64 #s(literal -1/4 binary64) (pow.f64 x #s(literal -2 binary64)))))
#s(approx (+ x (sqrt (- (* x x) 1))) (+.f64 x x))
#s(approx (+ x (sqrt (- (* x x) 1))) (*.f64 x (-.f64 #s(literal 2 binary64) (/.f64 #s(literal 1/2 binary64) (*.f64 x x)))))
#s(approx (+ x (sqrt (- (* x x) 1))) (*.f64 x (fma.f64 #s(literal -1 binary64) (/.f64 (fma.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/8 binary64) #s(literal 1/2 binary64)) (*.f64 x x)) #s(literal 2 binary64))))
#s(approx (+ x (sqrt (- (* x x) 1))) (*.f64 x (+.f64 (fma.f64 #s(literal -1 binary64) (/.f64 (fma.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/16 binary64) #s(literal 1/8 binary64)) (pow.f64 x #s(literal 4 binary64))) #s(literal 2 binary64)) (*.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal -2 binary64))))))
#s(approx (sqrt (- (* x x) 1)) x)
#s(approx (sqrt (- (* x x) 1)) (*.f64 x (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1/2 binary64) (*.f64 x x)))))
#s(approx (sqrt (- (* x x) 1)) (*.f64 x (fma.f64 #s(literal -1 binary64) (/.f64 (fma.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/8 binary64) #s(literal 1/2 binary64)) (*.f64 x x)) #s(literal 1 binary64))))
#s(approx (sqrt (- (* x x) 1)) (*.f64 x (+.f64 (fma.f64 #s(literal -1 binary64) (/.f64 (fma.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/16 binary64) #s(literal 1/8 binary64)) (pow.f64 x #s(literal 4 binary64))) #s(literal 1 binary64)) (*.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal -2 binary64))))))
#s(approx (- (* x x) 1) (*.f64 x x))
#s(approx (- (* x x) 1) (*.f64 (*.f64 x x) (-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal -2 binary64)))))
#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))) (fma.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/4 binary64) (/.f64 #s(literal 3/32 binary64) (pow.f64 x #s(literal 4 binary64))))))
#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) (pow.f64 x #s(literal 4 binary64))) (fma.f64 #s(literal 5/96 binary64) (pow.f64 x #s(literal -6 binary64)) (/.f64 #s(literal 1/4 binary64) (*.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 (fma.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/8 binary64) #s(literal 1/2 binary64)) x))
#s(approx (+ x (sqrt (- (* x x) 1))) (neg.f64 (/.f64 (-.f64 (neg.f64 (/.f64 (fma.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/16 binary64) #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 (fma.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 5/128 binary64) #s(literal 1/16 binary64)) (pow.f64 x #s(literal 4 binary64)))) (fma.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/8 binary64) #s(literal 1/2 binary64))) 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)) (neg.f64 (*.f64 x (fma.f64 #s(literal -1 binary64) (/.f64 (fma.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/8 binary64) #s(literal 1/2 binary64)) (*.f64 x x)) #s(literal 1 binary64)))))
#s(approx (sqrt (- (* x x) 1)) (*.f64 (neg.f64 x) (+.f64 (fma.f64 #s(literal -1 binary64) (/.f64 (fma.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/16 binary64) #s(literal 1/8 binary64)) (pow.f64 x #s(literal 4 binary64))) #s(literal 1 binary64)) (*.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal -2 binary64))))))

eval10.0ms (0.3%)

Memory
-21.1MiB live, 25.2MiB allocated; 4ms collecting garbage
Compiler

Compiled 1 186 to 316 computations (73.4% saved)

prune2.0ms (0.1%)

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

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New66268
Fresh000
Picked101
Done000
Total67269
Accuracy
100.0%
Counts
69 → 2
Alt Table
Click to see full alt table
StatusAccuracyProgram
98.8%
(log.f64 (+.f64 x #s(approx (sqrt (- (* x x) 1)) x)))
99.7%
(acosh.f64 x)
Compiler

Compiled 13 to 10 computations (23.1% saved)

series3.0ms (0.1%)

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

rewrite148.0ms (4.4%)

Memory
-15.5MiB live, 129.8MiB allocated; 17ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02431288
13421288
23451288
33471288
0347995
01314991
11612991
22172991
32661991
42949991
53100991
63161991
73185991
83191991
93192991
Stop Event
saturated
iter limit
node limit
saturated
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
(log.f64 (+.f64 x (sinh.f64 (acosh.f64 x))))
(acosh.f64 x)
x
(log.f64 (+.f64 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 (+.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 (-.f64 (pow.f64 x #s(literal 2 binary64)) (*.f64 #s(approx (sqrt (- (* x x) 1)) 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 (log (+ x (sqrt (- (* x x) 1)))) (log.f64 (sqrt.f64 #s(literal -1 binary64))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (+.f64 (log.f64 (sqrt.f64 #s(literal -1 binary64))) (/.f64 x (sqrt.f64 #s(literal -1 binary64)))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (fma.f64 x (fma.f64 (/.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 #s(literal -1 binary64) #s(literal 3/2 binary64))) #s(literal -1/6 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 #s(literal -1 binary64)))) (log.f64 (sqrt.f64 #s(literal -1 binary64)))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (fma.f64 x (fma.f64 (pow.f64 x #s(literal 2 binary64)) (-.f64 (/.f64 (*.f64 #s(literal 3/40 binary64) (pow.f64 x #s(literal 2 binary64))) (pow.f64 #s(literal -1 binary64) #s(literal 5/2 binary64))) (/.f64 #s(literal 1/6 binary64) (pow.f64 #s(literal -1 binary64) #s(literal 3/2 binary64)))) (/.f64 #s(literal 1 binary64) (sqrt.f64 #s(literal -1 binary64)))) (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 (log.f64 (sqrt.f64 #s(literal -1 binary64))) (/.f64 x (sqrt.f64 #s(literal -1 binary64)))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (fma.f64 x (fma.f64 (/.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 #s(literal -1 binary64) #s(literal 3/2 binary64))) #s(literal -1/6 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 #s(literal -1 binary64)))) (log.f64 (sqrt.f64 #s(literal -1 binary64)))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (fma.f64 x (fma.f64 (pow.f64 x #s(literal 2 binary64)) (-.f64 (/.f64 (*.f64 #s(literal 3/40 binary64) (pow.f64 x #s(literal 2 binary64))) (pow.f64 #s(literal -1 binary64) #s(literal 5/2 binary64))) (/.f64 #s(literal 1/6 binary64) (pow.f64 #s(literal -1 binary64) #s(literal 3/2 binary64)))) (/.f64 #s(literal 1 binary64) (sqrt.f64 #s(literal -1 binary64)))) (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 x (sqrt.f64 #s(literal -1 binary64))))
#s(approx (+ x (sqrt (- (* x x) 1))) (fma.f64 x (fma.f64 (/.f64 x (sqrt.f64 #s(literal -1 binary64))) #s(literal 1/2 binary64) #s(literal 1 binary64)) (sqrt.f64 #s(literal -1 binary64))))
#s(approx (+ x (sqrt (- (* x x) 1))) (fma.f64 x (fma.f64 x (fma.f64 (/.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 #s(literal -1 binary64) #s(literal 3/2 binary64))) #s(literal -1/8 binary64) (/.f64 #s(literal 1/2 binary64) (sqrt.f64 #s(literal -1 binary64)))) #s(literal 1 binary64)) (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 #s(literal 1/2 binary64) (/.f64 (pow.f64 x #s(literal 2 binary64)) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 #s(literal -1 binary64))))
#s(approx (sqrt (- (* x x) 1)) (fma.f64 (pow.f64 x #s(literal 2 binary64)) (fma.f64 (/.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 #s(literal -1 binary64) #s(literal 3/2 binary64))) #s(literal -1/8 binary64) (/.f64 #s(literal 1/2 binary64) (sqrt.f64 #s(literal -1 binary64)))) (sqrt.f64 #s(literal -1 binary64))))
#s(approx (sqrt (- (* x x) 1)) (fma.f64 (pow.f64 x #s(literal 2 binary64)) (fma.f64 (pow.f64 x #s(literal 2 binary64)) (-.f64 (/.f64 (*.f64 #s(literal 1/16 binary64) (pow.f64 x #s(literal 2 binary64))) (pow.f64 #s(literal -1 binary64) #s(literal 5/2 binary64))) (/.f64 #s(literal 1/8 binary64) (pow.f64 #s(literal -1 binary64) #s(literal 3/2 binary64)))) (/.f64 #s(literal 1/2 binary64) (sqrt.f64 #s(literal -1 binary64)))) (sqrt.f64 #s(literal -1 binary64))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (fma.f64 #s(literal -1 binary64) (neg.f64 (log.f64 x)) (log.f64 #s(literal 2 binary64))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (-.f64 (fma.f64 #s(literal -1 binary64) (neg.f64 (log.f64 x)) (log.f64 #s(literal 2 binary64))) (/.f64 #s(literal 1/4 binary64) (pow.f64 x #s(literal 2 binary64)))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (fma.f64 #s(literal -1 binary64) (+.f64 (neg.f64 (log.f64 x)) (/.f64 (fma.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 3/32 binary64) #s(literal 1/4 binary64)) (pow.f64 x #s(literal 2 binary64)))) (log.f64 #s(literal 2 binary64))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (+.f64 (fma.f64 #s(literal -1 binary64) (+.f64 (neg.f64 (log.f64 x)) (/.f64 (fma.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 5/96 binary64) #s(literal 3/32 binary64)) (pow.f64 x #s(literal 4 binary64)))) (log.f64 #s(literal 2 binary64))) (*.f64 #s(literal -1/4 binary64) (pow.f64 x #s(literal -2 binary64)))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (fma.f64 #s(literal -1 binary64) (neg.f64 (log.f64 x)) (log.f64 #s(literal 2 binary64))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (-.f64 (fma.f64 #s(literal -1 binary64) (neg.f64 (log.f64 x)) (log.f64 #s(literal 2 binary64))) (/.f64 #s(literal 1/4 binary64) (pow.f64 x #s(literal 2 binary64)))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (fma.f64 #s(literal -1 binary64) (+.f64 (neg.f64 (log.f64 x)) (/.f64 (fma.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 3/32 binary64) #s(literal 1/4 binary64)) (pow.f64 x #s(literal 2 binary64)))) (log.f64 #s(literal 2 binary64))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (+.f64 (fma.f64 #s(literal -1 binary64) (+.f64 (neg.f64 (log.f64 x)) (/.f64 (fma.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 5/96 binary64) #s(literal 3/32 binary64)) (pow.f64 x #s(literal 4 binary64)))) (log.f64 #s(literal 2 binary64))) (*.f64 #s(literal -1/4 binary64) (pow.f64 x #s(literal -2 binary64)))))
#s(approx (+ x (sqrt (- (* x x) 1))) (+.f64 x x))
#s(approx (+ x (sqrt (- (* x x) 1))) (*.f64 x (-.f64 #s(literal 2 binary64) (/.f64 #s(literal 1/2 binary64) (pow.f64 x #s(literal 2 binary64))))))
#s(approx (+ x (sqrt (- (* x x) 1))) (*.f64 x (fma.f64 #s(literal -1 binary64) (/.f64 (fma.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/8 binary64) #s(literal 1/2 binary64)) (pow.f64 x #s(literal 2 binary64))) #s(literal 2 binary64))))
#s(approx (+ x (sqrt (- (* x x) 1))) (*.f64 x (+.f64 (fma.f64 #s(literal -1 binary64) (/.f64 (fma.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/16 binary64) #s(literal 1/8 binary64)) (pow.f64 x #s(literal 4 binary64))) #s(literal 2 binary64)) (*.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal -2 binary64))))))
#s(approx (sqrt (- (* x x) 1)) x)
#s(approx (sqrt (- (* x x) 1)) (*.f64 x (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1/2 binary64) (pow.f64 x #s(literal 2 binary64))))))
#s(approx (sqrt (- (* x x) 1)) (*.f64 x (fma.f64 #s(literal -1 binary64) (/.f64 (fma.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/8 binary64) #s(literal 1/2 binary64)) (pow.f64 x #s(literal 2 binary64))) #s(literal 1 binary64))))
#s(approx (sqrt (- (* x x) 1)) (*.f64 x (+.f64 (fma.f64 #s(literal -1 binary64) (/.f64 (fma.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/16 binary64) #s(literal 1/8 binary64)) (pow.f64 x #s(literal 4 binary64))) #s(literal 1 binary64)) (*.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal -2 binary64))))))
#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) (pow.f64 x #s(literal 2 binary64)))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (+.f64 (log.f64 (*.f64 #s(literal -1/2 binary64) (/.f64 #s(literal -1 binary64) x))) (fma.f64 #s(literal 1/4 binary64) (pow.f64 x #s(literal -2 binary64)) (/.f64 #s(literal 3/32 binary64) (pow.f64 x #s(literal 4 binary64))))))
#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 #s(literal 1/4 binary64) (pow.f64 x #s(literal -2 binary64)) (/.f64 #s(literal 3/32 binary64) (pow.f64 x #s(literal 4 binary64)))) (/.f64 #s(literal 5/96 binary64) (pow.f64 x #s(literal 6 binary64))))))
#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) (pow.f64 x #s(literal 2 binary64)))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (+.f64 (log.f64 (*.f64 #s(literal -1/2 binary64) (/.f64 #s(literal -1 binary64) x))) (fma.f64 #s(literal 1/4 binary64) (pow.f64 x #s(literal -2 binary64)) (/.f64 #s(literal 3/32 binary64) (pow.f64 x #s(literal 4 binary64))))))
#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 #s(literal 1/4 binary64) (pow.f64 x #s(literal -2 binary64)) (/.f64 #s(literal 3/32 binary64) (pow.f64 x #s(literal 4 binary64)))) (/.f64 #s(literal 5/96 binary64) (pow.f64 x #s(literal 6 binary64))))))
#s(approx (+ x (sqrt (- (* x x) 1))) (/.f64 #s(literal 1/2 binary64) x))
#s(approx (+ x (sqrt (- (* x x) 1))) (/.f64 (fma.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/8 binary64) #s(literal 1/2 binary64)) x))
#s(approx (+ x (sqrt (- (* x x) 1))) (neg.f64 (/.f64 (-.f64 (neg.f64 (/.f64 (fma.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/16 binary64) #s(literal 1/8 binary64)) (pow.f64 x #s(literal 2 binary64)))) #s(literal 1/2 binary64)) x)))
#s(approx (+ x (sqrt (- (* x x) 1))) (neg.f64 (/.f64 (-.f64 (neg.f64 (/.f64 (fma.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 5/128 binary64) #s(literal 1/16 binary64)) (pow.f64 x #s(literal 4 binary64)))) (fma.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/8 binary64) #s(literal 1/2 binary64))) 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) (pow.f64 x #s(literal 2 binary64))))))
#s(approx (sqrt (- (* x x) 1)) (neg.f64 (*.f64 x (fma.f64 #s(literal -1 binary64) (/.f64 (fma.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/8 binary64) #s(literal 1/2 binary64)) (pow.f64 x #s(literal 2 binary64))) #s(literal 1 binary64)))))
#s(approx (sqrt (- (* x x) 1)) (*.f64 (neg.f64 x) (+.f64 (fma.f64 #s(literal -1 binary64) (/.f64 (fma.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/16 binary64) #s(literal 1/8 binary64)) (pow.f64 x #s(literal 4 binary64))) #s(literal 1 binary64)) (*.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal -2 binary64))))))

eval5.0ms (0.2%)

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

Compiled 1 001 to 227 computations (77.3% saved)

prune2.0ms (0.1%)

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

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New49049
Fresh000
Picked022
Done000
Total49251
Accuracy
100.0%
Counts
51 → 2
Alt Table
Click to see full alt table
StatusAccuracyProgram
98.8%
(log.f64 (+.f64 x #s(approx (sqrt (- (* x x) 1)) x)))
99.7%
(acosh.f64 x)
Compiler

Compiled 35 to 25 computations (28.6% saved)

regimes689.0ms (20.6%)

Memory
-32.1MiB live, 13.6MiB allocated; 5ms collecting garbage
Accuracy

Total -31.6b remaining (-17210.8%)

Threshold costs -31.6b (-17210.8%)

Stop Event
done
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:

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

Compiled 20 to 16 computations (20% saved)

preprocess15.0ms (0.5%)

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

Compiled 46 to 36 computations (21.7% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...