Rust f64::atanh

Time bar (total: 1.1s)

start0.0ms (0%)

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

analyze2.0ms (0.2%)

Memory
3.3MiB live, 3.3MiB allocated; 0ms collecting garbage
Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%100%0%0%0%0%0
0%0%100%0%0%0%0%1
0%0%100%0%0%0%0%2
0%0%50%0%0%50%0%3
50%25%25%0%0%50%0%4
75%37.5%12.5%0%0%50%0%5
87.5%43.7%6.2%0%0%50%0%6
93.8%46.9%3.1%0%0%50%0%7
96.9%48.4%1.6%0%0%50%0%8
98.4%49.2%0.8%0%0%50%0%9
99.2%49.6%0.4%0%0%50%0%10
99.6%49.8%0.2%0%0%50%0%11
99.8%49.9%0.1%0%0%50%0%12
Compiler

Compiled 4 to 4 computations (0% saved)

sample488.0ms (44.6%)

Memory
5.4MiB live, 385.5MiB allocated; 91ms collecting garbage
Samples
304.0ms8 256×0valid
0.0ms0invalid
Precisions
Click to see histograms. Total time spent on operations: 87.0ms
ival-atanh: 85.0ms (97.7% of total)
adjust: 2.0ms (2.3% of total)
Bogosity

preprocess46.0ms (4.2%)

Memory
16.4MiB live, 64.9MiB allocated; 15ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
059
1179
2809
Stop Event
iter-limit
node-limit
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 #s(literal 1/2 binary64) (log1p.f64 (/.f64 (*.f64 #s(literal 2 binary64) x) (-.f64 #s(literal 1 binary64) x))))
Compiler

Compiled 20 to 18 computations (10% saved)

series114.0ms (10.5%)

Memory
26.8MiB live, 118.2MiB allocated; 14ms collecting garbage
Counts
9 → 33
Calls
Call 1
Inputs
(*.f64 #s(literal 1/2 binary64) (log1p.f64 (/.f64 (*.f64 #s(literal 2 binary64) x) (-.f64 #s(literal 1 binary64) x))))
#s(literal 1/2 binary64)
(log1p.f64 (/.f64 (*.f64 #s(literal 2 binary64) x) (-.f64 #s(literal 1 binary64) x)))
(/.f64 (*.f64 #s(literal 2 binary64) x) (-.f64 #s(literal 1 binary64) x))
(*.f64 #s(literal 2 binary64) x)
#s(literal 2 binary64)
x
(-.f64 #s(literal 1 binary64) x)
#s(literal 1 binary64)
Outputs
#s(approx (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) x)
#s(approx (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (*.f64 x (+.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/3 binary64) (pow.f64 x #s(literal 2 binary64))))))
#s(approx (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (*.f64 x (+.f64 #s(literal 1 binary64) (*.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 1/3 binary64) (*.f64 #s(literal 1/5 binary64) (pow.f64 x #s(literal 2 binary64))))))))
#s(approx (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (*.f64 x (+.f64 #s(literal 1 binary64) (*.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 1/3 binary64) (*.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 1/5 binary64) (*.f64 #s(literal 1/7 binary64) (pow.f64 x #s(literal 2 binary64))))))))))
#s(approx (log (+ 1 (/ (* 2 x) (- 1 x)))) (*.f64 #s(literal 2 binary64) x))
#s(approx (log (+ 1 (/ (* 2 x) (- 1 x)))) (*.f64 x (+.f64 #s(literal 2 binary64) (*.f64 #s(literal 2/3 binary64) (pow.f64 x #s(literal 2 binary64))))))
#s(approx (log (+ 1 (/ (* 2 x) (- 1 x)))) (*.f64 x (+.f64 #s(literal 2 binary64) (*.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 2/3 binary64) (*.f64 #s(literal 2/5 binary64) (pow.f64 x #s(literal 2 binary64))))))))
#s(approx (log (+ 1 (/ (* 2 x) (- 1 x)))) (*.f64 x (+.f64 #s(literal 2 binary64) (*.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 2/3 binary64) (*.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 2/5 binary64) (*.f64 #s(literal 2/7 binary64) (pow.f64 x #s(literal 2 binary64))))))))))
#s(approx (/ (* 2 x) (- 1 x)) (*.f64 x (+.f64 #s(literal 2 binary64) (*.f64 #s(literal 2 binary64) x))))
#s(approx (/ (* 2 x) (- 1 x)) (*.f64 x (+.f64 #s(literal 2 binary64) (*.f64 x (+.f64 #s(literal 2 binary64) (*.f64 #s(literal 2 binary64) x))))))
#s(approx (/ (* 2 x) (- 1 x)) (*.f64 x (+.f64 #s(literal 2 binary64) (*.f64 x (+.f64 #s(literal 2 binary64) (*.f64 x (+.f64 #s(literal 2 binary64) (*.f64 #s(literal 2 binary64) x))))))))
#s(approx (- 1 x) #s(literal 1 binary64))
#s(approx (- 1 x) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) x)))
#s(approx (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (/.f64 #s(literal -1 binary64) x))
#s(approx (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (*.f64 #s(literal -1 binary64) (/.f64 (+.f64 #s(literal 1 binary64) (*.f64 #s(literal 2 binary64) (/.f64 #s(literal 1 binary64) x))) x)))
#s(approx (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (/.f64 (-.f64 (*.f64 #s(literal -1 binary64) (/.f64 (+.f64 #s(literal 2 binary64) (*.f64 #s(literal 13/3 binary64) (/.f64 #s(literal 1 binary64) x))) x)) #s(literal 1 binary64)) x))
#s(approx (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (/.f64 (-.f64 (*.f64 #s(literal -1 binary64) (/.f64 (+.f64 #s(literal 13/3 binary64) (*.f64 #s(literal 10 binary64) (/.f64 #s(literal 1 binary64) x))) (pow.f64 x #s(literal 2 binary64)))) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal 2 binary64) (/.f64 #s(literal 1 binary64) x)))) x))
#s(approx (log (+ 1 (/ (* 2 x) (- 1 x)))) (/.f64 #s(literal -2 binary64) x))
#s(approx (log (+ 1 (/ (* 2 x) (- 1 x)))) (*.f64 #s(literal -1 binary64) (/.f64 (+.f64 #s(literal 2 binary64) (*.f64 #s(literal 4 binary64) (/.f64 #s(literal 1 binary64) x))) x)))
#s(approx (log (+ 1 (/ (* 2 x) (- 1 x)))) (/.f64 (-.f64 (*.f64 #s(literal -1 binary64) (/.f64 (+.f64 #s(literal 4 binary64) (*.f64 #s(literal 26/3 binary64) (/.f64 #s(literal 1 binary64) x))) x)) #s(literal 2 binary64)) x))
#s(approx (log (+ 1 (/ (* 2 x) (- 1 x)))) (/.f64 (-.f64 (*.f64 #s(literal -1 binary64) (/.f64 (+.f64 #s(literal 26/3 binary64) (*.f64 #s(literal 20 binary64) (/.f64 #s(literal 1 binary64) x))) (pow.f64 x #s(literal 2 binary64)))) (+.f64 #s(literal 2 binary64) (*.f64 #s(literal 4 binary64) (/.f64 #s(literal 1 binary64) x)))) x))
#s(approx (/ (* 2 x) (- 1 x)) #s(literal -2 binary64))
#s(approx (/ (* 2 x) (- 1 x)) (*.f64 #s(literal -1 binary64) (+.f64 #s(literal 2 binary64) (*.f64 #s(literal 2 binary64) (/.f64 #s(literal 1 binary64) x)))))
#s(approx (/ (* 2 x) (- 1 x)) (-.f64 (*.f64 #s(literal -1 binary64) (/.f64 (+.f64 #s(literal 2 binary64) (*.f64 #s(literal 2 binary64) (/.f64 #s(literal 1 binary64) x))) x)) #s(literal 2 binary64)))
#s(approx (/ (* 2 x) (- 1 x)) (-.f64 (*.f64 #s(literal -1 binary64) (/.f64 (+.f64 #s(literal 2 binary64) (*.f64 #s(literal 2 binary64) (/.f64 #s(literal 1 binary64) x))) (pow.f64 x #s(literal 2 binary64)))) (+.f64 #s(literal 2 binary64) (*.f64 #s(literal 2 binary64) (/.f64 #s(literal 1 binary64) x)))))
#s(approx (- 1 x) (*.f64 #s(literal -1 binary64) x))
#s(approx (- 1 x) (*.f64 x (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))))
#s(approx (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (*.f64 #s(literal -1 binary64) (/.f64 (+.f64 #s(literal 1 binary64) (fma.f64 #s(literal 2 binary64) (/.f64 #s(literal 1 binary64) x) (/.f64 #s(literal 13/3 binary64) (pow.f64 x #s(literal 2 binary64))))) x)))
#s(approx (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (*.f64 #s(literal -1 binary64) (/.f64 (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) (/.f64 (-.f64 (*.f64 #s(literal -1 binary64) (/.f64 (+.f64 #s(literal 13/3 binary64) (*.f64 #s(literal 10 binary64) (/.f64 #s(literal 1 binary64) x))) x)) #s(literal 2 binary64)) x))) x)))
#s(approx (log (+ 1 (/ (* 2 x) (- 1 x)))) (*.f64 #s(literal -1 binary64) (/.f64 (+.f64 #s(literal 2 binary64) (fma.f64 #s(literal 4 binary64) (/.f64 #s(literal 1 binary64) x) (/.f64 #s(literal 26/3 binary64) (pow.f64 x #s(literal 2 binary64))))) x)))
#s(approx (log (+ 1 (/ (* 2 x) (- 1 x)))) (*.f64 #s(literal -1 binary64) (/.f64 (+.f64 #s(literal 2 binary64) (*.f64 #s(literal -1 binary64) (/.f64 (-.f64 (*.f64 #s(literal -1 binary64) (/.f64 (+.f64 #s(literal 26/3 binary64) (*.f64 #s(literal 20 binary64) (/.f64 #s(literal 1 binary64) x))) x)) #s(literal 4 binary64)) x))) x)))
#s(approx (/ (* 2 x) (- 1 x)) (-.f64 (*.f64 #s(literal -1 binary64) (/.f64 (+.f64 #s(literal 2 binary64) (fma.f64 #s(literal 2 binary64) (/.f64 #s(literal 1 binary64) x) (/.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 2 binary64))))) x)) #s(literal 2 binary64)))
#s(approx (- 1 x) (*.f64 #s(literal -1 binary64) (*.f64 x (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) x)))))
Calls

3 calls:

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

rewrite158.0ms (14.4%)

Memory
-20.6MiB live, 125.2MiB allocated; 86ms collecting garbage
Counts
9 → 41
Calls
Call 1
Inputs
(*.f64 #s(literal 1/2 binary64) (log1p.f64 (/.f64 (*.f64 #s(literal 2 binary64) x) (-.f64 #s(literal 1 binary64) x))))
#s(literal 1/2 binary64)
(log1p.f64 (/.f64 (*.f64 #s(literal 2 binary64) x) (-.f64 #s(literal 1 binary64) x)))
(/.f64 (*.f64 #s(literal 2 binary64) x) (-.f64 #s(literal 1 binary64) x))
(*.f64 #s(literal 2 binary64) x)
#s(literal 2 binary64)
x
(-.f64 #s(literal 1 binary64) x)
#s(literal 1 binary64)
Outputs
#s(literal 2 binary64)
#s(literal 1 binary64)
#s(literal 0 binary64)
x
(*.f64 #s(literal 2 binary64) #s(literal 2 binary64))
#s(literal 1/2 binary64)
#s(literal 2 binary64)
#s(literal 1 binary64)
#s(literal 0 binary64)
x
(*.f64 #s(literal 2 binary64) #s(literal 2 binary64))
#s(literal 2 binary64)
#s(literal 1 binary64)
#s(literal 0 binary64)
x
(*.f64 #s(literal 2 binary64) #s(literal 2 binary64))
#s(literal 2 binary64)
#s(literal 1 binary64)
#s(literal 0 binary64)
x
(*.f64 #s(literal 2 binary64) #s(literal 2 binary64))
#s(literal 2 binary64)
#s(literal 1 binary64)
#s(literal 0 binary64)
x
(*.f64 #s(literal 2 binary64) #s(literal 2 binary64))
#s(literal 2 binary64)
#s(literal 1 binary64)
#s(literal 0 binary64)
x
(*.f64 #s(literal 2 binary64) #s(literal 2 binary64))
#s(literal 2 binary64)
#s(literal 1 binary64)
#s(literal 0 binary64)
x
(*.f64 #s(literal 2 binary64) #s(literal 2 binary64))
#s(literal 2 binary64)
#s(literal 1 binary64)
#s(literal 0 binary64)
x
(*.f64 #s(literal 2 binary64) #s(literal 2 binary64))

eval4.0ms (0.4%)

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

Compiled 806 to 222 computations (72.5% saved)

prune2.0ms (0.1%)

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

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New37138
Fresh000
Picked011
Done000
Total37239
Accuracy
100.0%
Counts
39 → 2
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 #s(literal 1/2 binary64) (log1p.f64 (/.f64 (*.f64 #s(literal 2 binary64) x) (-.f64 #s(literal 1 binary64) x))))
99.3%
#s(approx (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) x)
Compiler

Compiled 24 to 20 computations (16.7% saved)

series82.0ms (7.5%)

Memory
-10.3MiB live, 81.0MiB allocated; 8ms collecting garbage
Counts
2 → 10
Calls
Call 1
Inputs
#s(approx (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) x)
x
Outputs
#s(approx (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) x)
#s(approx (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (*.f64 x (+.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/3 binary64) (pow.f64 x #s(literal 2 binary64))))))
#s(approx (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (*.f64 x (+.f64 #s(literal 1 binary64) (*.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 1/3 binary64) (*.f64 #s(literal 1/5 binary64) (pow.f64 x #s(literal 2 binary64))))))))
#s(approx (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (*.f64 x (+.f64 #s(literal 1 binary64) (*.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 1/3 binary64) (*.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 1/5 binary64) (*.f64 #s(literal 1/7 binary64) (pow.f64 x #s(literal 2 binary64))))))))))
#s(approx (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (/.f64 #s(literal -1 binary64) x))
#s(approx (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (*.f64 #s(literal -1 binary64) (/.f64 (+.f64 #s(literal 1 binary64) (*.f64 #s(literal 2 binary64) (/.f64 #s(literal 1 binary64) x))) x)))
#s(approx (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (/.f64 (-.f64 (*.f64 #s(literal -1 binary64) (/.f64 (+.f64 #s(literal 2 binary64) (*.f64 #s(literal 13/3 binary64) (/.f64 #s(literal 1 binary64) x))) x)) #s(literal 1 binary64)) x))
#s(approx (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (/.f64 (-.f64 (*.f64 #s(literal -1 binary64) (/.f64 (+.f64 #s(literal 13/3 binary64) (*.f64 #s(literal 10 binary64) (/.f64 #s(literal 1 binary64) x))) (pow.f64 x #s(literal 2 binary64)))) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal 2 binary64) (/.f64 #s(literal 1 binary64) x)))) x))
#s(approx (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (*.f64 #s(literal -1 binary64) (/.f64 (+.f64 #s(literal 1 binary64) (fma.f64 #s(literal 2 binary64) (/.f64 #s(literal 1 binary64) x) (/.f64 #s(literal 13/3 binary64) (pow.f64 x #s(literal 2 binary64))))) x)))
#s(approx (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (*.f64 #s(literal -1 binary64) (/.f64 (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) (/.f64 (-.f64 (*.f64 #s(literal -1 binary64) (/.f64 (+.f64 #s(literal 13/3 binary64) (*.f64 #s(literal 10 binary64) (/.f64 #s(literal 1 binary64) x))) x)) #s(literal 2 binary64)) x))) x)))
Calls

3 calls:

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

rewrite144.0ms (13.2%)

Memory
-11.1MiB live, 127.4MiB allocated; 70ms collecting garbage
Counts
2 → 6
Calls
Call 1
Inputs
#s(approx (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) x)
x
Outputs
#s(approx 2 #s(literal 2 binary64))
#s(literal 2 binary64)
#s(literal 0 binary64)
#s(literal 1 binary64)
x
(*.f64 #s(literal 2 binary64) #s(literal 1/2 binary64))

eval3.0ms (0.3%)

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

Compiled 314 to 82 computations (73.9% saved)

prune2.0ms (0.2%)

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

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New14014
Fresh000
Picked011
Done011
Total14216
Accuracy
100.0%
Counts
16 → 2
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 #s(literal 1/2 binary64) (log1p.f64 (/.f64 (*.f64 #s(literal 2 binary64) x) (-.f64 #s(literal 1 binary64) x))))
99.3%
#s(approx (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) x)
Compiler

Compiled 24 to 20 computations (16.7% saved)

regimes19.0ms (1.7%)

Memory
-12.4MiB live, 34.7MiB allocated; 1ms collecting garbage
Accuracy

Total -0.0b remaining (-0%)

Threshold costs -0b (-0%)

Counts
1 → 1
2 → 1
Calls
Call 1
Inputs
#s(approx (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) x)
Outputs
#s(approx (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) x)
Call 2
Inputs
#s(approx (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) x)
(*.f64 #s(literal 1/2 binary64) (log1p.f64 (/.f64 (*.f64 #s(literal 2 binary64) x) (-.f64 #s(literal 1 binary64) x))))
Outputs
(*.f64 #s(literal 1/2 binary64) (log1p.f64 (/.f64 (*.f64 #s(literal 2 binary64) x) (-.f64 #s(literal 1 binary64) x))))
Calls

8 calls:

3.0ms
(log1p.f64 (/.f64 (*.f64 #s(literal 2 binary64) x) (-.f64 #s(literal 1 binary64) x)))
2.0ms
(log1p.f64 (/.f64 (*.f64 #s(literal 2 binary64) x) (-.f64 #s(literal 1 binary64) x)))
2.0ms
(/.f64 (*.f64 #s(literal 2 binary64) x) (-.f64 #s(literal 1 binary64) x))
2.0ms
(*.f64 #s(literal 1/2 binary64) (log1p.f64 (/.f64 (*.f64 #s(literal 2 binary64) x) (-.f64 #s(literal 1 binary64) x))))
2.0ms
x
Results
AccuracySegmentsBranch
99.3%1(/.f64 (*.f64 #s(literal 2 binary64) x) (-.f64 #s(literal 1 binary64) x))
99.3%1(log1p.f64 (/.f64 (*.f64 #s(literal 2 binary64) x) (-.f64 #s(literal 1 binary64) x)))
99.3%1(*.f64 #s(literal 1/2 binary64) (log1p.f64 (/.f64 (*.f64 #s(literal 2 binary64) x) (-.f64 #s(literal 1 binary64) x))))
99.3%1x
100.0%1(/.f64 (*.f64 #s(literal 2 binary64) x) (-.f64 #s(literal 1 binary64) x))
100.0%1(log1p.f64 (/.f64 (*.f64 #s(literal 2 binary64) x) (-.f64 #s(literal 1 binary64) x)))
100.0%1(*.f64 #s(literal 1/2 binary64) (log1p.f64 (/.f64 (*.f64 #s(literal 2 binary64) x) (-.f64 #s(literal 1 binary64) x))))
100.0%1x
Compiler

Compiled 76 to 65 computations (14.5% saved)

derivations1.0ms (0.1%)

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

Compiled 24 to 19 computations (20.8% saved)

preprocess30.0ms (2.7%)

Memory
-6.2MiB live, 44.0MiB allocated; 15ms collecting garbage
Compiler

Compiled 34 to 28 computations (17.6% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...