// Constructors
int BB_from_uint64(BB** r, uint64_t number);
int BB_from_str(BB** r, const char *str);
int BB_random(BB** r, size_t size);
int BB_zero(BB** r, size_t size);
void BB_srandom(size_t seed);
// Destructor
void BB_free(BB* a);
// Misc
int BB_copy(BB** to, BB* from);
int BB_shrink(BB** r);
// To string
char* BB_to_str(BB* a);
// Operations
int BB_shl_fs(BB** r, BB* a, size_t n);
int BB_shr(BB** r, BB* a, size_t n);
int BB_shl(BB** r, BB* a, size_t n);
int BB_ror(BB** r, BB* a, size_t n);
int BB_rol(BB** r, BB* a, size_t n);
int BB_and(BB** r, BB* a, BB* b);
int BB_xor(BB** r, BB* a, BB* b);
int BB_or(BB** r, BB* a, BB* b);
int BB_not(BB** r, BB* a);
-
Notifications
You must be signed in to change notification settings - Fork 0
Cravtos/big-bool
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Big boolean vector library
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published