Tonal Bitcoin: Difference between revisions
No edit summary |
Pseudo-code |
||
Line 58: | Line 58: | ||
For more information on the Tonal system in general, please see [http://www.lulu.com/product/file-download/tonal-system/10991091 the book]. | For more information on the Tonal system in general, please see [http://www.lulu.com/product/file-download/tonal-system/10991091 the book]. | ||
== Guessing TBC or BTC == | |||
Given variable 'value' in base units (uBTCents/TBCᵇ), one can guess whether it is properly Decimal BitCoin or Tonal BitCoin with the following pseudo-code: | |||
if ( ! ( this % 0x10000 ) ) | |||
Choose Tonal BitCoin | |||
if ( ! ( this % 1000000 ) ) | |||
Choose Decimal BitCoin | |||
if ( ! ( this % 0x100 ) ) | |||
Choose Tonal BitCoin |
Revision as of 20:05, 10 January 2011
Please note, that all numbers of TBC and its divisions/multipliers are written in Tonal, not decimal. This means that instead of counting 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10-- you count: 0, 1, 2, 3, 4, 5, 6, 7, 8, , 9, , , , , , 10. Some higher-value digits may require installing a font.
Unit | BTC | TBC | Pronunciation |
---|---|---|---|
TBCᵇ | 0.00000001 | 0.0001 | BitCoin-bong |
TBCᵐ | 0.00000016 | 0.001 | BitCoin-mill |
TBCˢ | 0.00000256 | 0.01 | BitCoin-san |
TBCᵗ | 0.00004096 | 0.1 | BitCoin-ton |
TBC | 0.00065536 | 1 | BitCoin* |
ᵗTBC | 0.01048576 | 10 | Ton-BitCoin |
ˢTBC | 0.16777216 | 100 | San-Bitcoin |
ᵐTBC | 2.68435456 | 1000 | Mill-BitCoin |
ᵇTBC | 42.94967296 | 10000 | Bong-BitCoin |
* Tonal BitCoin and Decimal BitCoin can be differentiated by the pronunciation of the numbers. "One", "two", etc is decimal, but not tonal.
The total number of Tonal BitCoins ever (analogous to the 21mil BTC) is just under 7.76 song-TBC.
For more information on the Tonal system in general, please see the book.
Guessing TBC or BTC
Given variable 'value' in base units (uBTCents/TBCᵇ), one can guess whether it is properly Decimal BitCoin or Tonal BitCoin with the following pseudo-code:
if ( ! ( this % 0x10000 ) ) Choose Tonal BitCoin if ( ! ( this % 1000000 ) ) Choose Decimal BitCoin if ( ! ( this % 0x100 ) ) Choose Tonal BitCoin