You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
usecrate::Uint;// FEATURE: Special functions// * Factorial// * Extended GCD and LCM// * https://en.wikipedia.org/wiki/Euler%27s_totient_function// * https://en.wikipedia.org/wiki/Carmichael_function// * https://en.wikipedia.org/wiki/Jordan%27s_totient_function// * Feature parity with GMP:// * https://gmplib.org/manual/Integer-Functions.html#Integer-Functionsimpl<constBITS:usize,constLIMBS:usize>Uint<BITS,LIMBS>{/// Returns `true` if and only if `self == 2^k` for some `k`.#[must_use]pubfn is_power_of_two(self) -> bool{
On 2022-05-28 @recmo wrote in
1ec2e50
“Recognize new tags”:Special functions
Factorial
Extended GCD and LCM
https://en.wikipedia.org/wiki/Euler%27s_totient_function
https://en.wikipedia.org/wiki/Carmichael_function
https://en.wikipedia.org/wiki/Jordan%27s_totient_function
Feature parity with GMP:
https://gmplib.org/manual/Integer-Functions.html#Integer-Functions
From
src/special.rs:3
The text was updated successfully, but these errors were encountered: