log2 function limitations!!! be careful with this function

Revision en1, by imnasim3.1415, 2020-06-04 22:01:35

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

Tags logarithmic


  Rev. Lang. By When Δ Comment
en1 English imnasim3.1415 2020-06-04 22:01:35 366 Initial revision (published)