Jump to content

Bit-length: Revision history


For any version listed below, click on its date to view it. For more help, see Help:Page history and Help:Edit summary. (cur) = difference from current version, (prev) = difference from preceding version, m = minor edit, → = section edit, ← = automatic edit summary

26 December 2025

29 June 2024

1 April 2023

31 January 2023

24 January 2021

28 August 2019

23 March 2019

  • curprev 10:4610:46, 23 March 2019 213.152.162.89 talk 1,974 bytes +32 Fixed formula for bit-length. The old one was incorrect (gives wrong results for any n>=3 that is not a power of 2 wrong, e.g. for n=3: should be 2 but formula gave ceil(log_2(3) + 1)= 3). Replaced it with the formula that is actually stated on the wolfram reference page. Also gave an alternative representation, correctness of which intuitively follows from the fact that a l-bit integer can represent numbers up to n=2^l - 1 and therefore n+1=2^l and thus log2(n+1)=l undo

12 March 2019

26 February 2019

28 January 2019

29 May 2016

24 November 2015

27 January 2012

22 January 2012

10 January 2012

2 September 2011

19 July 2011

22 May 2011

21 May 2011

20 May 2011