• SinAdjetivos@lemmy.world
    link
    fedilink
    arrow-up
    10
    ·
    9 hours ago

    Base 16 is used all the time in computer science. The symbols for 9+ aren’t arcane or unrecognizable it’s 0 1 2 3 4 5 6 7 8 9 A B C D E F. It’s often written with an 0X in front to indicate hexadecimal or something like 'h for hex and 'd for decimal.

    Examples:

    • 'h7 = 'd7
    • 'hC = 'd12
    • 'hF = 'd15
    • 'h7CF = 'd(7 × 162) + (12 × 161) + (15 × 160) = 'd1792 + 'd192 + 'd15 = 'd1999