I am studying Computational Mathematics, more specifically Numbering Systems and their conversion.
Numeration Systems are widely used in programming and computing in general, so my study focused more on the four essential types used in computing:Is my question limited to how to do basic conversion faster and more effectively?
Is there a method or methodology to perform basic conversion faster and more effectively?
Knowing that to convert a number from one base to another requires a large calculation and specific rules.
Conversão de Hexadecimal para Decimal
A regra é a mesma da conversão de qualquer sistema de numeração para o decimal.
AFC0.7D =?
Ax16³ + Fx16² + Cx16¹ + 0x16 ° + 7x16-¹ + Dx16-²
10x16³ + 15x16² + 12x16¹ + 0x16 ° + 7x16-¹ + 13x16-²
44992,4882810
Note that the hexadecimal system shown above is positional starting from right to left, so the base is raised to (16¹, 16 °, 16-¹) and you also notice that each digit was multiplied by 16 because the hexadecimal numbering is composed of base equal to 16. Therefore 16 different digits.