codex
Loading...
Searching...
No Matches
bit.cpp File Reference
#include <bit>
Include dependency graph for bit.cpp:

Namespaces

namespace  n0
 
namespace  n1
 

Typedefs

using u8 = std::uint8_t
 

Functions

u8 to_mask (bool b)
 
u8 to_mask_u8 (u8 x)
 
u8 n0::set (u8 x)
 
u8 n1::set (u8 x, u8 f0, u8 f1)
 
template<std::unsigned_integral T>
int tzcnt (T n)
 
void print (u8 x)
 
void test (u8 x)
 
int main (void)
 

Typedef Documentation

◆ u8

using u8 = std::uint8_t

Function Documentation

◆ main()

int main ( void )
Here is the call graph for this function:

◆ print()

void print ( u8 x)
Here is the caller graph for this function:

◆ test()

void test ( u8 x)
Here is the call graph for this function:

◆ to_mask()

u8 to_mask ( bool b)
Here is the caller graph for this function:

◆ to_mask_u8()

u8 to_mask_u8 ( u8 x)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ tzcnt()

template<std::unsigned_integral T>
int tzcnt ( T n)