#odd #blazingly #determine #numbers #light-weight #i64 #u64

isodd

A blazingly fast Light Weight rust library for determining if numbers are odd

2 releases

0.1.1 Dec 6, 2024
0.1.0 Dec 4, 2024

#1 in #odd

Download history 251/week @ 2024-12-02 50/week @ 2024-12-09

301 downloads per month

GPL-3.0 license

4KB
103 lines

IsOdd

A Blazingly Fast Light Weight Rust library that provides an IsOdd trait to determine whether various types of numbers are odd.


Features

  • Generic Trait Implementation👍: Works seamlessly with various numeric types (i32, u32, i64, u64, ect.).
  • Simple and Intuitive🍃: Provides an easy-to-use API with the is_odd method.
  • Blazingly Fast🚀: Uses modular arithmetic for fast oddness checks.
  • AI Powered✨: Uses an AI algorithm to determine if a number is odd.

Installation

Add the following to your Cargo.toml file:

[dependencies]
isodd = "0.1.0"

Or with:

cargo install isodd

No runtime deps