]> Git Repo - binutils.git/blob - ld/testsuite/ld-scripts/log2.t
Automatic date update in version.in
[binutils.git] / ld / testsuite / ld-scripts / log2.t
1 ASSERT(LOG2CEIL(0) == 0,      "LOG2CEIL(0) == 0");
2 ASSERT(LOG2CEIL(1) == 0,      "LOG2CEIL(1) == 0");
3 ASSERT(LOG2CEIL(2) == 1,      "LOG2CEIL(2) == 1");
4 ASSERT(LOG2CEIL(3) == 2,      "LOG2CEIL(3) == 2");
5 ASSERT(LOG2CEIL(4) == 2,      "LOG2CEIL(4) == 2");
6 ASSERT(LOG2CEIL(0x0ff) == 8,  "LOG2CEIL(0x0ff) == 8");
7 ASSERT(LOG2CEIL(0x100) == 8,  "LOG2CEIL(0x100) == 8");
8 ASSERT(LOG2CEIL(0x1ff) == 9,  "LOG2CEIL(0x1ff) == 9");
This page took 0.024333 seconds and 4 git commands to generate.