diff options
| author | Robin Kruppe <robin.kruppe@gmail.com> | 2015-09-20 18:34:33 +0200 |
|---|---|---|
| committer | Robin Kruppe <robin.kruppe@gmail.com> | 2015-09-20 18:39:08 +0200 |
| commit | cd67ec306fda0e3d39ead0eda3de2c0b3dd696e2 (patch) | |
| tree | 1459eb0fbae698a695e0adb7e8d94f561d5fe42f /src/libcore/num/mod.rs | |
| parent | cff04117064ddee95f425c49f22c8aa5a3a665d4 (diff) | |
| download | rust-cd67ec306fda0e3d39ead0eda3de2c0b3dd696e2.tar.gz rust-cd67ec306fda0e3d39ead0eda3de2c0b3dd696e2.zip | |
Reorganize core::num internals
Move private bignum module to core::num, because it is not only used in flt2dec. Extract private 80-bit soft-float into new core::num module for the same reason.
Diffstat (limited to 'src/libcore/num/mod.rs')
| -rw-r--r-- | src/libcore/num/mod.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libcore/num/mod.rs b/src/libcore/num/mod.rs index 127f8d3b5a2..6507bb7bf8c 100644 --- a/src/libcore/num/mod.rs +++ b/src/libcore/num/mod.rs @@ -43,8 +43,12 @@ use slice::SliceExt; pub struct Wrapping<T>(#[stable(feature = "rust1", since = "1.0.0")] pub T); pub mod wrapping; + +// All these modules are technically private and only exposed for libcoretest: pub mod flt2dec; pub mod dec2flt; +pub mod bignum; +pub mod diy_float; /// Types that have a "zero" value. /// |
