1
Fork 0

Moved all numeric modules in core into own directory

Reason: Better grouping of related modules, future-proving for a more extensive math library.
This commit is contained in:
Marvin Löbel 2013-01-19 22:41:25 +01:00 committed by Brian Anderson
parent 2846e033d7
commit 40f0b45f8e
18 changed files with 15 additions and 10 deletions

View file

@ -60,30 +60,33 @@ pub mod prelude;
/* Primitive types */ /* Primitive types */
#[path = "int-template.rs"] #[merge = "int-template/int.rs"] #[path = "num/int-template.rs"] #[merge = "num/int-template/int.rs"]
pub mod int; pub mod int;
#[path = "int-template.rs"] #[merge = "int-template/i8.rs"] #[path = "num/int-template.rs"] #[merge = "num/int-template/i8.rs"]
pub mod i8; pub mod i8;
#[path = "int-template.rs"] #[merge = "int-template/i16.rs"] #[path = "num/int-template.rs"] #[merge = "num/int-template/i16.rs"]
pub mod i16; pub mod i16;
#[path = "int-template.rs"] #[merge = "int-template/i32.rs"] #[path = "num/int-template.rs"] #[merge = "num/int-template/i32.rs"]
pub mod i32; pub mod i32;
#[path = "int-template.rs"] #[merge = "int-template/i64.rs"] #[path = "num/int-template.rs"] #[merge = "num/int-template/i64.rs"]
pub mod i64; pub mod i64;
#[path = "uint-template.rs"] #[merge = "uint-template/uint.rs"] #[path = "num/uint-template.rs"] #[merge = "num/uint-template/uint.rs"]
pub mod uint; pub mod uint;
#[path = "uint-template.rs"] #[merge = "uint-template/u8.rs"] #[path = "num/uint-template.rs"] #[merge = "num/uint-template/u8.rs"]
pub mod u8; pub mod u8;
#[path = "uint-template.rs"] #[merge = "uint-template/u16.rs"] #[path = "num/uint-template.rs"] #[merge = "num/uint-template/u16.rs"]
pub mod u16; pub mod u16;
#[path = "uint-template.rs"] #[merge = "uint-template/u32.rs"] #[path = "num/uint-template.rs"] #[merge = "num/uint-template/u32.rs"]
pub mod u32; pub mod u32;
#[path = "uint-template.rs"] #[merge = "uint-template/u64.rs"] #[path = "num/uint-template.rs"] #[merge = "num/uint-template/u64.rs"]
pub mod u64; pub mod u64;
#[path = "num/float.rs"]
pub mod float; pub mod float;
#[path = "num/f32.rs"]
pub mod f32; pub mod f32;
#[path = "num/f64.rs"]
pub mod f64; pub mod f64;
pub mod nil; pub mod nil;
@ -116,6 +119,7 @@ pub mod managed;
/* Common traits */ /* Common traits */
pub mod from_str; pub mod from_str;
#[path = "num/num.rs"]
pub mod num; pub mod num;
pub mod iter; pub mod iter;
pub mod to_str; pub mod to_str;
@ -232,6 +236,7 @@ pub mod private;
/* For internal use, not exported */ /* For internal use, not exported */
mod unicode; mod unicode;
#[path = "num/cmath.rs"]
mod cmath; mod cmath;
mod stackwalk; mod stackwalk;