Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
int_t.h File Reference
#include <stdint.h>
#include <limits.h>
Include dependency graph for int_t.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

union  twords
 
union  utwords
 
union  udwords
 
union  double_bits
 

Typedefs

typedef __int128 ti_int
 

Functions

__int128 __clzti2 (__int128 a)
 

Typedef Documentation

◆ ti_int

typedef __int128 ti_int

Definition at line 43 of file int_t.h.

Function Documentation

◆ __clzti2()

__int128 __clzti2 ( __int128 a)
inline

Definition at line 45 of file int_t.h.

46{
47 twords x;
48 x.all = a;
49 const int64_t f = -(x.s.high == 0);
50 return __builtin_clzll((x.s.high & ~f) | (x.s.low & f)) +
51 ((int32_t)f & ((int32_t)(sizeof(int64_t) * CHAR_BIT)));
52}
const GenericPointer< typename T::ValueType > T2 T::AllocatorType & a
Definition pointer.h:1181
signed __int64 int64_t
Definition stdint.h:135
signed int int32_t
Definition stdint.h:123
Definition int_t.h:7
struct twords::@0 s
__int128 all
Definition int_t.h:8
Here is the caller graph for this function: