imnasim3.1415's blog

By imnasim3.1415, history, 4 years ago, In English

log2 function making problems with long integers. while for x=765228007342234864, log2(x)=59, which is correct. But while x=576460752303423487 log2(x) returns negative value..

why is this happening and how to solve it? any built-in functions to update this?

nevertheless, be careful with it

Full text and comments »

  • Vote: I like it
  • -2
  • Vote: I do not like it