55 for (
int i = 0; i < 0x100; i++)
57 int e = (i & 0x0ff) - (127 - 15);
59 if (e <= 0 || e >= 30)
75 eLut[i | 0x100] = ((e << 10) | 0x8000);
88 const int tableSize = 1 << 9;
89 unsigned short eLut[tableSize];
93 "// This is an automatically generated file.\n"
99 for (
int i = 0; i < tableSize; i++)
101 cout << setw (5) << eLut[i] <<
", ";
107 if (i < tableSize - 1)