File: stdc_bit_width

package info (click to toggle)
gnulib 20251215-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 180,904 kB
  • sloc: ansic: 393,155; sh: 30,853; python: 8,371; cpp: 2,918; yacc: 1,847; perl: 920; makefile: 642; lisp: 328; sed: 11; java: 5
file content (29 lines) | stat: -rw-r--r-- 409 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
Description:
stdc_bit_width macro, stdc_bit_width_* functions:
Return the minimum number of bits required to represent an unsigned integer
value.

Files:
lib/stdc_bit_width.c

Depends-on:
stdbit-h
stdc_leading_zeros

configure.ac:
AC_REQUIRE([gl_STDBIT_H])
GL_STDC_BIT_WIDTH=1

Makefile.am:
if GL_GENERATE_STDBIT_H
lib_SOURCES += stdc_bit_width.c
endif

Include:
<stdbit.h>

License:
LGPLv2+

Maintainer:
all