diff options
author | Doug Moore <dougm@FreeBSD.org> | 2024-06-12 09:26:42 +0000 |
---|---|---|
committer | Doug Moore <dougm@FreeBSD.org> | 2024-06-12 10:00:48 +0000 |
commit | f0a0420dfd36ae90f86cc9bfb1342b8862b8c9ec (patch) | |
tree | 2913ef162c93f32b62298a10ae5882167292e1a3 /contrib/ncurses/test/lrtest.c | |
parent | a880104a21bf41ebbb4ead26e6d4adda32bad76c (diff) | |
download | src-main.tar.gz src-main.zip |
In several places, a loop tests for powers of two, or iterates through
powers of two. In those places, replace the loop with an invocation
of fls or ilog2 without changing the meaning of the code.
Reviewed by: alc, markj, kib, np, erj, avg (previous version)
Differential Revision: https://reviews.freebsd.org/D45494
Diffstat (limited to 'contrib/ncurses/test/lrtest.c')
0 files changed, 0 insertions, 0 deletions