dhcpd-pools  3.0
ISC dhcpd lease usage analyser
Macros
limits.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define _GL_LIMITS_H
 
#define _GL_INTEGER_WIDTH(min, max)   (((min) < 0) + _GL_COB128 (max))
 
#define _GL_COB128(n)   (_GL_COB64 ((n) >> 31 >> 31 >> 2) + _GL_COB64 (n))
 
#define _GL_COB64(n)   (_GL_COB32 ((n) >> 31 >> 1) + _GL_COB32 (n))
 
#define _GL_COB32(n)   (_GL_COB16 ((n) >> 16) + _GL_COB16 (n))
 
#define _GL_COB16(n)   (_GL_COB8 ((n) >> 8) + _GL_COB8 (n))
 
#define _GL_COB8(n)   (_GL_COB4 ((n) >> 4) + _GL_COB4 (n))
 
#define _GL_COB4(n)   (!!((n) & 8) + !!((n) & 4) + !!((n) & 2) + !!((n) & 1))
 

Macro Definition Documentation

◆ _GL_COB128

#define _GL_COB128 (   n)    (_GL_COB64 ((n) >> 31 >> 31 >> 2) + _GL_COB64 (n))

◆ _GL_COB16

#define _GL_COB16 (   n)    (_GL_COB8 ((n) >> 8) + _GL_COB8 (n))

◆ _GL_COB32

#define _GL_COB32 (   n)    (_GL_COB16 ((n) >> 16) + _GL_COB16 (n))

◆ _GL_COB4

#define _GL_COB4 (   n)    (!!((n) & 8) + !!((n) & 4) + !!((n) & 2) + !!((n) & 1))

◆ _GL_COB64

#define _GL_COB64 (   n)    (_GL_COB32 ((n) >> 31 >> 1) + _GL_COB32 (n))

◆ _GL_COB8

#define _GL_COB8 (   n)    (_GL_COB4 ((n) >> 4) + _GL_COB4 (n))

◆ _GL_INTEGER_WIDTH

#define _GL_INTEGER_WIDTH (   min,
  max 
)    (((min) < 0) + _GL_COB128 (max))

◆ _GL_LIMITS_H

#define _GL_LIMITS_H