Skip to content
/ divrem Public

Division and modulus variants in Rust

License

Notifications You must be signed in to change notification settings

letheed/divrem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DivRem

Documentation

Rust library providing division and modulus variants:

  • Floored division and remainder.
  • Ceiled division and remainder.
  • Euclidean division and remainder.

For every definition, we provide a Div, a Rem and a DivRem trait.

A DivRem variant of std’s truncated division is also provided for convenience.

This crate is no_std.

About

Division and modulus variants in Rust

Resources

License

Stars

Watchers

Forks

Languages