Skip to content

fmckeogh/littlebigint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

littlebigint

Build Status codecov Dependabot Status

Zero allocation big integer library for no_std Rust, borrowing heavily in terms of code and algorithms from num-bigint.

Honestly, you're probably much better off using num-bigint. Only use this library if you absolutely need to be zero allocation because it just doesn't have the same breadth of functionality nor the extensive testing of num-bigint.

Quite the pep talk, I know.

To Do

  • Basic operations

    • Addition
    • Subtraction
    • Multiplication
    • Division/Remainder
    • Power
  • fmt::Display

  • Modulo operations

  • Signed operations

  • Documentation

    • Document required buffer and slice sizes

Contributing

Issues and PRs very welcome :)

License

Distributed under the same license as num-bigint, Apache 2.0/MIT.

About

Zero allocation big integer library for `no_std` Rust

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages