2020-06-14 21:53:18 +02:00

20 lines
370 B
Rust

#![feature(specialization)]
#![feature(core_intrinsics)]
#[cfg(feature = "f32")]
pub type Float = f32;
#[cfg(not(feature = "f32"))]
pub type Float = f64;
pub mod consts {
#[cfg(feature = "f32")]
pub use std::f32::consts::*;
#[cfg(not(feature = "f32"))]
pub use std::f64::consts::*;
}
pub mod grid;
pub mod integrate;
pub mod operators;
pub mod utils;