in reply to Re^2: reliable get position of leftmost bit in large integers
in thread reliable get position of leftmost bit in large integers
The problem is that ** returns a double (floating point), which explains the lack of precision. You should use 1<<54 like BrowserUk did in his answer.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: reliable get position of leftmost bit in large integers
by BrowserUk (Patriarch) on Mar 12, 2015 at 14:35 UTC |