Talk:Number bases
I was able to create the MediaWiki table for this page using the HTML and JavaScript below, inspired by the JavaScript used at: http://www.minus40.info/sky/binaryoctalhexdec.html
. If anyone knows how to add additional number bases to the table, please do so, thanks! Nicole Sharp (discuss • contribs) 06:15, 8 April 2017 (UTC)
<html> <body> <code> {|class=wikitable<br> ! base 10<br> ! base 2<br> ! base 4<br> ! base 8<br> ! base 16<br> ! base 32<br> <script> var n = 0; while (n < 257) {document.write("|- " + "<br>" + "| " + n + "<br>" + "| " + n.toString(2) + "<br>" + "| " + n.toString(4) + "<br>" + "| " + n.toString(8) + "<br>" + "| " + n.toString(16) + "<br>" + "| " + n.toString(32) + "<br>"); n = n + 1;} </script> |} </code> </body> </html>
centoctovigesimal
edit- For expressing base 128 (centoctovigesimal), I think that the best means is to copy the Online Encyclopedia of Integer Sequences (OEIS) notation for base 60 (sexagesimal) of:
- 0.0010 = (0; 0, 0)128; 6410 = (64; 0)128; 12810 = (1, 0)128; 12910 = (1, 1)128; 25510 = (1, 127)128; 25610 = (2, 0)128.
- This allows us to express numbers in arbitrarily high number bases, without needing to arbitrarily assign Unicode characters for numerals (of which there are a finite number). Nicole Sharp (discuss • contribs) 03:09, 9 April 2017 (UTC)
Content page
editHi Nicole Sharp!
Currently, your resource Number bases is not being counted as a content page here on Wikiversity! See Page information under Tools.
All you have to do to have this resource counted is include a link to another Wikiversity resource! Cheers! --Marshallsumter (discuss • contribs) 03:32, 11 April 2017 (UTC)
Other number bases?
editDon't non-power-of-two number bases other than 10 exist? Username142857 (discuss • contribs) 09:06, 6 December 2022 (UTC)