Annotate noexcept and constexpr with HEDLEY, and add interval containment, ChaCha, and the dyadic range tables.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Ryan Henry 2026-09-24 20:44:07 -06:00
parent 875f09fec1
commit 0d8a5a8131
97 changed files with 9212 additions and 1159 deletions

View file

@ -67,8 +67,10 @@ struct alignas(utils::max_align_v) dpf_output
subtractive_share<OutputT, Party>>;
dpf_output(const dpf_output &) = default;
HEDLEY_NO_THROW
dpf_output(dpf_output &&) noexcept = default;
dpf_output & operator=(const dpf_output &) = default;
HEDLEY_NO_THROW
dpf_output & operator=(dpf_output &&) noexcept = default;
~dpf_output() = default;
@ -156,6 +158,7 @@ auto make_eval_dpf_output(const Node & node, Input x)
/// Wrap a raw comparison `Beta` value as an additive share when `KeyT` is a
/// `party_key`.
template <typename KeyT, typename Beta>
HEDLEY_NO_THROW
auto make_eval_cmp_result(Beta raw) noexcept
{
if constexpr (is_party_key_v<KeyT>)