view libgsmefr/pow2.tab @ 561:cf62fe9fac3a

gsmhr-cod2hex: read native endian by default Let's change gsmhr-* utilities to read *.cod and *.dec files in the local machine's native byte order by default, and support both -b and -l override options. This approach is the only sane one when we write *.cod and *.dec files in the local endian.
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 12 Feb 2025 00:04:33 +0000
parents 37e39cad5838
children
line wrap: on
line source

/*-----------------------------------------------------*
 | Table for routine Pow2().                           |
 -----------------------------------------------------*/

static const Word16 table[33] =
{
    16384, 16743, 17109, 17484, 17867, 18258, 18658, 19066, 19484, 19911,
    20347, 20792, 21247, 21713, 22188, 22674, 23170, 23678, 24196, 24726,
    25268, 25821, 26386, 26964, 27554, 28158, 28774, 29405, 30048, 30706,
    31379, 32066, 32767
};