We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df17bbd commit 5fba679Copy full SHA for 5fba679
src/internal_math.rs
@@ -25,6 +25,9 @@ struct Barrett {
25
impl Barrett {
26
/// # Arguments
27
/// * `m` `1 <= m`
28
+ /// (Note: `m <= 2^31` should also hold, which is undocumented in the original library.
29
+ /// See the [pull reqeust commment](https://github.com/rust-lang-ja/ac-library-rs/pull/3#discussion_r484661007)
30
+ /// for more details.)
31
fn new(m: u32) -> Barrett {
32
Barrett {
33
_m: m,
0 commit comments