pub const NUMBER_OF_CHARS: u32 = (1 << 20) + (1 << 16) - NUMBER_OF_SURROGATE_CODE_POINTS; // 1_112_064u32
Expand description

The number of Unicode scalar values.

$2^{20}+2^{16}-2^{11} = \mathrm{0x10\,f800} = 1,\!112,\!064$.