|
Dynamic Fraction Library 1.0.0
Reference-counted arbitrary precision rational number library (MIT OR Unlicense)
|
Bitwise operations for arbitrary precision integers. More...
Functions | |
| di_int | di_and (di_int a, di_int b) |
| Bitwise AND of two integers. | |
| di_int | di_or (di_int a, di_int b) |
| Bitwise OR of two integers. | |
| di_int | di_xor (di_int a, di_int b) |
| Bitwise XOR of two integers. | |
| di_int | di_not (di_int a) |
| Bitwise NOT (complement) of an integer. | |
| di_int | di_shift_left (di_int a, size_t bits) |
| Left shift an integer by specified bits. | |
| di_int | di_shift_right (di_int a, size_t bits) |
| Right shift an integer by specified bits. | |
Bitwise operations for arbitrary precision integers.
Bitwise AND of two integers.
| a | First integer (may be NULL) |
| b | Second integer (may be NULL) |
Definition at line 2064 of file dynamic_int.h.
Bitwise NOT (complement) of an integer.
| a | Integer to complement (may be NULL) |
Definition at line 2133 of file dynamic_int.h.
Bitwise OR of two integers.
| a | First integer (may be NULL) |
| b | Second integer (may be NULL) |
Definition at line 2087 of file dynamic_int.h.
Left shift an integer by specified bits.
| a | Integer to shift (may be NULL) |
| bits | Number of bits to shift left |
Definition at line 2155 of file dynamic_int.h.
Right shift an integer by specified bits.
| a | Integer to shift (may be NULL) |
| bits | Number of bits to shift right |
Definition at line 2197 of file dynamic_int.h.
Bitwise XOR of two integers.
| a | First integer (may be NULL) |
| b | Second integer (may be NULL) |
Definition at line 2110 of file dynamic_int.h.