rufl/math/
mod.rs

1//! math mod contains several utility functions for handling mathematical calculations.
2//!
3
4mod float;
5mod integer;
6mod number;
7
8mod abs;
9pub use abs::*;
10
11mod sqrt;
12pub use sqrt::*;
13
14mod gcd;
15pub use gcd::*;
16
17mod lcm;
18pub use lcm::*;
19
20mod fib_nth;
21pub use fib_nth::*;
22
23mod fib_seq;
24pub use fib_seq::*;
25
26mod fib_sum;
27pub use fib_sum::*;
28
29mod round;
30pub use round::*;
31
32mod round_up;
33pub use round_up::*;
34
35mod round_down;
36pub use round_down::*;
37
38mod is_prime;
39pub use is_prime::*;
40
41mod factorial;
42pub use factorial::*;
43
44mod sum;
45pub use sum::*;
46
47mod average;
48pub use average::*;
49
50mod percent;
51pub use percent::*;
52
53mod truncate;
54pub use truncate::*;
55
56mod to_radian;
57pub use to_radian::*;
58
59mod to_angle;
60pub use to_angle::*;
61
62mod harmonic;
63pub use harmonic::*;