Difference between revisions of "Number Systems/Formal Representation"

From Coder Merlin
(Created page with "== Formal Representation == Let x be a string of digits, such that: <math>x = x_{n}x_{n-1}x_{n-2} \cdots x_{0}</math> Then, the value of <math>x</math> in any particular bas...")
 
Line 8: Line 8:


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>

Revision as of 09:48, 24 November 2021

Within these castle walls be forged Mavens of Computer Science ...
— Merlin, The Coder

Formal Representation[edit]

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.