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?

Printable View

- Apr 18th 2011, 12:44 AMthehealercalculate logarithm base 2 of number very close to 1
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? - Apr 18th 2011, 12:57 AMveileen
0.999... - Wikipedia, the free encyclopedia...

0,(9) = 0 - Apr 18th 2011, 01:44 AMchisigma
Remembering the 'logarithmics series'...

http://quicklatex.com/cache3/ql_3f98...8392081_l3.png (1)

... setting http://quicklatex.com/cache3/ql_9807...7e7fce6_l3.png if http://quicklatex.com/cache3/ql_cd0d...ddc6b5a_l3.png is...

http://quicklatex.com/cache3/ql_d95c...edffbc3_l3.png (2)

Kind regards

- Apr 18th 2011, 01:45 AMthehealer
thank you