`special`: Special functions
- Ngôn ngữ chính
- Rust
- Star
- 225
- Fork
- 70
- Merge trung bình
- 16 giờ 54 phút
- Pull request đã merge (30 ngày)
- 8
Mô tả
*On 2022-05-28 @recmo wrote in [`1ec2e50`](https://github.com/recmo/uint/commit/1ec2e50003548890260e8c06886f44fd826bc07b) “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
```rust
use crate::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-Functions
impl Uint {
/// Returns `true` if and only if `self == 2^k` for some `k`.
#[must_use]
pub fn is_power_of_two(self) -> bool {
```
*From [`src/special.rs:3`](https://github.com/recmo/uint/blob/1ec2e50003548890260e8c06886f44fd826bc07b/src/special.rs#L3)*
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.