uint icon indicating copy to clipboard operation
uint copied to clipboard

`lib`: BLOCKED) Many functions could be made `const` if a number of

Open github-actions[bot] opened this issue 2 years ago • 0 comments

On 2022-05-28 @recmo wrote in 1ec2e50 “Recognize new tags”:

BLOCKED) Many functions could be made const if a number of features land. This requires feature(const_mut_refs)] feature(const_float_classify)] feature(const_fn_floating_point_arithmetic)] feature(const_float_bits_conv)] and more.

    ///
    /// See [`Uint`] for more information.
    pub type Bits<const BITS: usize> = crate::Bits<BITS, { crate::nlimbs(BITS) }>;
}

// FEATURE: (BLOCKED) Many functions could be made `const` if a number of
// features land. This requires
// #![feature(const_mut_refs)]
// #![feature(const_float_classify)]
// #![feature(const_fn_floating_point_arithmetic)]
// #![feature(const_float_bits_conv)]
// and more.

/// The ring of numbers modulo $2^{\mathtt{BITS}}$.
///
/// [`Uint`] implements nearly all traits and methods from the `std` unsigned
/// integer types, including most nightly only ones.

From src/lib.rs:79

github-actions[bot] avatar May 28 '22 20:05 github-actions[bot]