Files
RedBear-OS/recipes/tools/gnu-binutils/source/ld/testsuite/ld-scripts/log2.t
T
vasilito ff4ff35918 feat: track all source trees in git — full fork offline-first model
Red Bear OS is a full fork. All sources must be available from git clone
with zero network access. Removed gitignore rules that excluded fetched
source trees under recipes/*/source/, local/recipes/kde/*/source/,
local/recipes/qt/*/source/, and vendor source trees.

Build artifacts (target/, build/, source.tar, *.o, *.so) remain excluded.

127291 files added — kernel, relibc, base, bootloader, pkgar, all KDE/Qt
frameworks, mesa, wayland, DRM drivers, and every other recipe source.
2026-05-14 10:55:53 +01:00

9 lines
420 B
Perl

ASSERT(LOG2CEIL(0) == 0, "LOG2CEIL(0) == 0");
ASSERT(LOG2CEIL(1) == 0, "LOG2CEIL(1) == 0");
ASSERT(LOG2CEIL(2) == 1, "LOG2CEIL(2) == 1");
ASSERT(LOG2CEIL(3) == 2, "LOG2CEIL(3) == 2");
ASSERT(LOG2CEIL(4) == 2, "LOG2CEIL(4) == 2");
ASSERT(LOG2CEIL(0x0ff) == 8, "LOG2CEIL(0x0ff) == 8");
ASSERT(LOG2CEIL(0x100) == 8, "LOG2CEIL(0x100) == 8");
ASSERT(LOG2CEIL(0x1ff) == 9, "LOG2CEIL(0x1ff) == 9");