#float #numbers #number

nightly levitate

Just works solution to numbers, mainly aimed at floats and mathematical use cases

3 releases

Uses new Rust 2021

0.1.2 Sep 30, 2022
0.1.1 Apr 27, 2022
0.1.0 Apr 12, 2022

#646 in Math

37 downloads per month
Used in slas

MIT license

21KB
549 lines

Numbers GitHub Workflow Status

Example

Bellow an example of eulers identity is shown.

e^(i * pi) = -1

use levitate::*;

assert_eq!(
    im(std::f32::consts::PI).exp_().re,
    -1.
);

Thanks

Heavy inspiration has been taken from crates listed bellow.

License: MIT


lib.rs:

Numbers GitHub Workflow Status

Example

Bellow an example of eulers identity is shown.

e^(i * pi) = -1

use levitate::*;

assert_eq!(
    im(std::f32::consts::PI).exp_().re,
    -1.
);

Thanks

Heavy inspiration has been taken from crates listed bellow.

Dependencies