Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
round.hpp
Go to the documentation of this file.
1
// === AUDIT STATUS ===
2
// internal: { status: not started, auditors: [], date: YYYY-MM-DD }
3
// external_1: { status: not started, auditors: [], date: YYYY-MM-DD }
4
// external_2: { status: not started, auditors: [], date: YYYY-MM-DD }
5
// =====================
6
7
#include <cstdint>
8
9
namespace
acir_format
{
10
11
// Rounds a number to the nearest multiple of 8
12
uint32_t
round_to_nearest_mul_8
(uint32_t num_bits);
13
14
// Rounds the number of bits to the nearest byte
15
uint32_t
round_to_nearest_byte
(uint32_t num_bits);
16
17
}
// namespace acir_format
acir_format
Definition
acir_format.cpp:34
acir_format::round_to_nearest_mul_8
uint32_t round_to_nearest_mul_8(uint32_t num_bits)
Definition
round.cpp:12
acir_format::round_to_nearest_byte
uint32_t round_to_nearest_byte(uint32_t num_bits)
Definition
round.cpp:23
src
barretenberg
dsl
acir_format
round.hpp
Generated by
1.9.8