Skip to Content
The Alchemy Project

src/system/number_text.c

The digit characters and place values numbers are written with.

Variables

NameDescription
const Uint8StringHexDigits []The hexadecimal digit characters, indexed by a nibble's value.
const Sint32StringPowersOfTen [9]Place values for decimal display, 10^9 down to 10, which syStringFormatDecimal divides by; the ones digit is what remains.

Description

The digit characters and place values numbers are written with.

Variables in detail

StringHexDigits

const Uint8 StringHexDigits[]

The hexadecimal digit characters, indexed by a nibble's value.

Referenced by syStringFormatHex().

Definition at line 6 of file number_text.c.

StringPowersOfTen

const Sint32 StringPowersOfTen[9]

Place values for decimal display, 10^9 down to 10, which syStringFormatDecimal divides by; the ones digit is what remains.

References Sint32.

Referenced by syStringFormatDecimal().

Definition at line 11 of file number_text.c.