barretenberg
Loading...
Searching...
No Matches
round.hpp
1#include <cstdint>
2
3namespace acir_format {
4
5// Rounds a number to the nearest multiple of 8
6uint32_t round_to_nearest_mul_8(uint32_t num_bits);
7
8// Rounds the number of bits to the nearest byte
9uint32_t round_to_nearest_byte(uint32_t num_bits);
10
11} // namespace acir_format