mirror of
git://git.sv.gnu.org/coreutils.git
synced 2026-04-09 21:53:55 +02:00
<stdbit.h> is in C23 and should be more portable in the long run, now that Gnulib supports it. * bootstrap.conf (gnulib_modules): Remove count-leading-zeros. Add stdc_leading_zeros. * gl/lib/randperm.c, src/ioblksize.h: Include stdbit.h instead of count-leading-zeros.h. * gl/lib/randperm.c (floor_lg): Remove; no longer needed. (randperm_bound): Use stdc_bit_width instead of floor_lg; * gl/modules/randperm (Depends-on): Remove count-leading-zeros. Add stdc_bit_width. * src/ioblksize.h (io_blksize): Use stdc_leading_zeros_ull instead of count_leading_zeros_ll.
29 lines
273 B
Plaintext
29 lines
273 B
Plaintext
Description:
|
|
Generate random permutations.
|
|
|
|
Files:
|
|
lib/randperm.c
|
|
lib/randperm.h
|
|
|
|
Depends-on:
|
|
assert-h
|
|
randint
|
|
stdc_bit_width
|
|
stdint
|
|
xalloc
|
|
hash
|
|
|
|
configure.ac:
|
|
|
|
Makefile.am:
|
|
lib_SOURCES += randperm.c randperm.h
|
|
|
|
Include:
|
|
"randperm.h"
|
|
|
|
License:
|
|
GPL
|
|
|
|
Maintainer:
|
|
Paul Eggert
|