Difference between revisions of "Number Systems/Formal Representation"
From Coder Merlin
Dinas-emrys (talk | contribs) |
imported>Anton-krom |
||
Line 1: | Line 1: | ||
Let x be a string of digits, such that: | Let x be a string of digits, such that: | ||
<math>x = x_{n}x_{n-1}x_{n-2} \cdots x_{0}</math> | <math>x = x_{n}x_{n-1}x_{n-2} \cdots x_{0}</math> | ||
Line 8: | Line 6: | ||
The rightmost digit, <math>x_{0}</math> is referred to as the '''least significant digit''', or '''LSD'''. It is ''least significant'' because in terms of the overall value of the entire number, this digit will always have the least impact. Conversely, the leftmost digit, <math>x_{n}</math> is referred to as the '''most significant digit''', or '''MSD'''. It is ''most significant'' because in terms of the overall value of the entire number, this digit will always have the most impact. | The rightmost digit, <math>x_{0}</math> is referred to as the '''least significant digit''', or '''LSD'''. It is ''least significant'' because in terms of the overall value of the entire number, this digit will always have the least impact. Conversely, the leftmost digit, <math>x_{n}</math> is referred to as the '''most significant digit''', or '''MSD'''. It is ''most significant'' because in terms of the overall value of the entire number, this digit will always have the most impact. | ||
<noinclude>{{MerlinMultipageExperienceNavBar}}</noinclude> | <noinclude>{{MerlinMultipageExperienceNavBar}}</noinclude> |
Latest revision as of 17:16, 6 December 2021
Within these castle walls be forged Mavens of Computer Science ...
— Merlin, The Coder
Let x be a string of digits, such that:
Then, the value of in any particular base, , is calculated as:
The rightmost digit, is referred to as the least significant digit, or LSD. It is least significant because in terms of the overall value of the entire number, this digit will always have the least impact. Conversely, the leftmost digit, is referred to as the most significant digit, or MSD. It is most significant because in terms of the overall value of the entire number, this digit will always have the most impact.