crates.io / num-integer / 0.1.47

num-integer 0.1.47

Source
https://github.com/rust-num/num-integer
Artifact scanned
num-integer-0.1.47.crate (crate · 23.0 KB · SHA-256 7ce2d95d4b37…)
Compared with
num-integer-0.1.46.crate (1 signals introduced since)
Files
10 scanned, 7 skipped (binary, oversized, or unrecognised)
Signals
0 critical · 0 warn · 7 info
Scan time
0.2 s
LLM review
LLM review by claude-haiku-5-5 (Anthropic): nothing at warn or critical to review.
Disclude version
4.3.0
Scanned (UTC)
2026-10-24 08:00

Signals

Ordered by severity, then signals introduced in this release. Hidden characters are shown as ⟨U+…⟩.

  1. info unicode-mixed-script src/roots.rs:207:21 new in this release

    identifier `aᵢ` mixes scripts: Latin + Other (in string/comment) (raw pass, confidence 0.40)

        // Algorithm SqrtRem(n = a₃b³ + a₂b² + a₁b + a₀)
        // Input: 0 ≤ aᵢ < b with a₃ ≥ b/4
        // Output: (s,r) such that s² ≤ n = s² + r < (s+1)²
        debug_assert!(n.leading_zeros() < 2);
  2. info unicode-mixed-script src/roots.rs:11:37

    identifier `rⁿ` mixes scripts: Latin + Other (in string/comment) (raw pass, confidence 0.40)

        ///
        /// This is solving for `r` in `rⁿ = x`, rounding toward zero.
        /// If `x` is positive, the result will satisfy `rⁿ ≤ x < (r+1)ⁿ`.
        /// If `x` is negative and `n` is odd, then `(r-1)ⁿ < x ≤ rⁿ`.
  3. info unicode-mixed-script src/roots.rs:12:54

    identifier `rⁿ` mixes scripts: Latin + Other (in string/comment) (raw pass, confidence 0.40)

        /// This is solving for `r` in `rⁿ = x`, rounding toward zero.
        /// If `x` is positive, the result will satisfy `rⁿ ≤ x < (r+1)ⁿ`.
        /// If `x` is negative and `n` is odd, then `(r-1)ⁿ < x ≤ rⁿ`.
        ///
  4. info unicode-mixed-script src/roots.rs:13:67

    identifier `rⁿ` mixes scripts: Latin + Other (in string/comment) (raw pass, confidence 0.40)

        /// If `x` is positive, the result will satisfy `rⁿ ≤ x < (r+1)ⁿ`.
        /// If `x` is negative and `n` is odd, then `(r-1)ⁿ < x ≤ rⁿ`.
        ///
        /// # Panics
  5. info unicode-mixed-script src/roots.rs:265:41

    identifier `hiⁿ` mixes scripts: Latin + Other (in string/comment) (raw pass, confidence 0.40)

                                // 128-bit `checked_mul` also involves division, but we can't always
                                // compute `hiⁿ` without risking overflow.  Try to avoid it though...
                                if hi.next_power_of_two().trailing_zeros() * n >= bits::<$T>() {
  6. info unicode-mixed-script tests/roots.rs:14:32

    identifier `rⁿ` mixes scripts: Latin + Other (in string/comment) (raw pass, confidence 0.40)

    ///
    /// If `x` is positive, check `rⁿ ≤ x < (r+1)ⁿ`.
    /// If `x` is negative, check `(r-1)ⁿ < x ≤ rⁿ`.
    fn check<T>(v: &[T], n: u32)
  7. info unicode-mixed-script tests/roots.rs:15:49

    identifier `rⁿ` mixes scripts: Latin + Other (in string/comment) (raw pass, confidence 0.40)

    /// If `x` is positive, check `rⁿ ≤ x < (r+1)ⁿ`.
    /// If `x` is negative, check `(r-1)ⁿ < x ≤ rⁿ`.
    fn check<T>(v: &[T], n: u32)
    where

Reproduce This Scan

Run disclude locally to verify. These commands scan the published file; the "new in this release" marks come from comparing it with the previous release's file, which they don't repeat. Add --format sarif for SARIF output. Add --llm (with an API key in the environment) to include the LLM review.

cargo install disclude --version 4.3.0
curl -fsSL -o num-integer-0.1.47.crate 'https://static.crates.io/crates/num%2Dinteger/num%2Dinteger-0%2E1%2E47.crate'
printf '%s  %s\n' 7ce2d95d4b3734dc35aa2f45e1aa22cd416814592a4f9d9205e11affd5b8e10b num-integer-0.1.47.crate | shasum -a 256 -c -
mkdir pkg && tar -xzf num-integer-0.1.47.crate -C pkg --strip-components 1
disclude scan --untrusted --severity info pkg