1 unstable release

0.4.0 Oct 9, 2021

#1046 in Math

Zlib license

33KB
528 lines

Rust port of libdivide

For the purpose of original libdivide, see libdivide.com.

This is port of libdivide 4.0 with scalars support.

Cargo crate name is libdivide

Example

use libdivide::Divider;

let d = Divider(5);  // this is slow
let r = 100 / &d;  // this is fast

Dependencies

~0.4–1MB
~21K SLoC