(b76ad15ed0da636161de0243c547ee1e6fc95681)
Go to the source code of this file.
◆ bit_length
Value:    (unsigned int) \
    (
sizeof(x) <= 
sizeof(int32_t) ? 32 - nlz_int32((
uint32_t)(x)) : \
Definition at line 36 of file bits.h.
 
 
◆ MUL_OVERFLOW_SIGNED_INTEGER_P
      
        
          | #define MUL_OVERFLOW_SIGNED_INTEGER_P | ( |  | a, | 
        
          |  |  |  | b, | 
        
          |  |  |  | min, | 
        
          |  |  |  | max | 
        
          |  | ) |  |  | 
      
 
Value:    ( \
    (a) == 0 ? 0 : \
    (a) == -1 ? (b) < -(max) : \
    (a) > 0 ? \
      ((b) > 0 ? (max) / (a) < (b) : (min) / (a) > (b)) : \
      ((b) > 0 ? (min) / (a) < (b) : (max) / (a) > (b)))
Definition at line 22 of file bits.h.
 
 
◆ numberof
      
        
          | #define numberof | ( |  | array | ) | ((int)(sizeof(array) / sizeof((array)[0]))) | 
      
 
 
◆ roomof
      
        
          | #define roomof | ( |  | x, | 
        
          |  |  |  | y | 
        
          |  | ) |  | (((x) + (y) - 1) / (y)) | 
      
 
 
◆ type_roomof
      
        
          | #define type_roomof | ( |  | x, | 
        
          |  |  |  | y | 
        
          |  | ) |  | roomof(sizeof(x), sizeof(y)) |