I need to calculate logarithm base 2 of number very close to 1. for example
log2(0.9999999999999999999999999999999… The expected result is around 2^-80.
I can't calculate it even with Matlab.
Anyone can help me?
I need to calculate logarithm base 2 of number very close to 1. for example
log2(0.9999999999999999999999999999999… The expected result is around 2^-80.
I can't calculate it even with Matlab.
Anyone can help me?
0.999... - Wikipedia, the free encyclopedia...
$\displaystyle log_2$ 0,(9) = 0