The linearly converging sequence is $(0.5)^n$. To solve
$$ (0.5)^n = 10^{-38} \text{,} $$
take logarithms to the base $2$ on both sides
$$ -n = -38 \log_2 10 = -126.233\dots \text{.} $$
So, $(0.5)^n$ is a bit larger than $10^{-38}$ for $n = 126$ and then a bit smaller for $n = 127$.
0
Bumbble Comm
On
For fun, a bit of arithmetic:
Note: $2^{10} =1024 > 10^3$, and $2^7 =128 > 10^2$.
The linearly converging sequence is $(0.5)^n$. To solve $$ (0.5)^n = 10^{-38} \text{,} $$ take logarithms to the base $2$ on both sides $$ -n = -38 \log_2 10 = -126.233\dots \text{.} $$ So, $(0.5)^n$ is a bit larger than $10^{-38}$ for $n = 126$ and then a bit smaller for $n = 127$.