2020-08-24 16:08:58 +00:00
|
|
|
#![feature(min_specialization)]
|
2020-05-14 17:39:19 +00:00
|
|
|
#![feature(core_intrinsics)]
|
2020-04-12 17:27:18 +00:00
|
|
|
|
2020-02-27 19:26:43 +00:00
|
|
|
#[cfg(feature = "f32")]
|
|
|
|
pub type Float = f32;
|
|
|
|
#[cfg(not(feature = "f32"))]
|
|
|
|
pub type Float = f64;
|
|
|
|
|
2020-05-01 22:22:59 +00:00
|
|
|
pub mod consts {
|
2020-02-27 21:27:11 +00:00
|
|
|
#[cfg(feature = "f32")]
|
2020-05-01 22:22:59 +00:00
|
|
|
pub use std::f32::consts::*;
|
2020-02-27 21:27:11 +00:00
|
|
|
#[cfg(not(feature = "f32"))]
|
2020-05-01 22:22:59 +00:00
|
|
|
pub use std::f64::consts::*;
|
2020-02-27 21:27:11 +00:00
|
|
|
}
|
|
|
|
|
2020-01-30 17:28:22 +00:00
|
|
|
pub mod grid;
|
|
|
|
pub mod integrate;
|
|
|
|
pub mod operators;
|
2020-02-22 16:45:28 +00:00
|
|
|
pub mod utils;
|