diff options
| author | Daniel Micay <danielmicay@gmail.com> | 2014-04-01 05:11:23 -0400 |
|---|---|---|
| committer | Daniel Micay <danielmicay@gmail.com> | 2014-04-01 06:54:26 -0400 |
| commit | 5e12e1b1a49134f578e1778f4a1216221417bc5e (patch) | |
| tree | 4e2f766c9b6171137c55037631e1bec835fd7ff3 /src/libstd/lib.rs | |
| parent | 8ca5caf4d936e3193c81c7e9cfa1c6a99717b14a (diff) | |
| download | rust-5e12e1b1a49134f578e1778f4a1216221417bc5e.tar.gz rust-5e12e1b1a49134f578e1778f4a1216221417bc5e.zip | |
remove the cmath module
This is an implementation detail of the `f32` and `f64` modules and it should not be public. It renames many functions and leaves out any provided by LLVM intrinsics, so it is not a sensible binding to the C standard library's math library and will never be a stable target. This also removes the abuse of link_name so that this can be switched to using automatically generated definitions in the future. This also removes the `scalbn` binding as it is equivalent to `ldexp` when `FLT_RADIX` is 2, which must always be true for Rust.
Diffstat (limited to 'src/libstd/lib.rs')
| -rw-r--r-- | src/libstd/lib.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/libstd/lib.rs b/src/libstd/lib.rs index c130b89b6d4..d98ceaf9832 100644 --- a/src/libstd/lib.rs +++ b/src/libstd/lib.rs @@ -204,8 +204,6 @@ pub mod raw; /* For internal use, not exported */ mod unicode; -#[path = "num/cmath.rs"] -mod cmath; // FIXME #7809: This shouldn't be pub, and it should be reexported under 'unstable' // but name resolution doesn't work without it being pub. |
