rust/src/libstd/num
Daniel Micay c9d4ad07c4 remove the float type
It is simply defined as `f64` across every platform right now.

A use case hasn't been presented for a `float` type defined as the
highest precision floating point type implemented in hardware on the
platform. Performance-wise, using the smallest precision correct for the
use case greatly saves on cache space and allows for fitting more
numbers into SSE/AVX registers.

If there was a use case, this could be implemented as simply a type
alias or a struct thanks to `#[cfg(...)]`.

Closes #6592

The mailing list thread, for reference:

https://mail.mozilla.org/pipermail/rust-dev/2013-July/004632.html
2013-10-01 14:54:10 -04:00
..
cmath.rs librustc: Disallow "unsafe" for external functions 2013-08-02 21:57:59 -07:00
f32.rs std: Remove usage of fmt! 2013-09-30 23:21:18 -07:00
f64.rs std: Remove usage of fmt! 2013-09-30 23:21:18 -07:00
i8.rs Moved checked trait impls out of std::num 2013-09-08 13:48:15 +10:00
i16.rs Moved checked trait impls out of std::num 2013-09-08 13:48:15 +10:00
i32.rs Moved checked trait impls out of std::num 2013-09-08 13:48:15 +10:00
i64.rs Fix unused import warnings on 32bit systems 2013-09-09 03:51:29 +10:00
int_macros.rs rustdoc: Change all code-blocks with a script 2013-09-25 14:27:42 -07:00
int.rs Moved checked trait impls out of std::num 2013-09-08 13:48:15 +10:00
num.rs remove the float type 2013-10-01 14:54:10 -04:00
strconv.rs remove the float type 2013-10-01 14:54:10 -04:00
u8.rs Moved checked trait impls out of std::num 2013-09-08 13:48:15 +10:00
u16.rs Moved checked trait impls out of std::num 2013-09-08 13:48:15 +10:00
u32.rs Moved checked trait impls out of std::num 2013-09-08 13:48:15 +10:00
u64.rs Fix unused import warnings on 32bit systems 2013-09-09 03:51:29 +10:00
uint_macros.rs Implement a web backend for rustdoc_ng 2013-09-20 22:49:03 -07:00
uint.rs std::num: Add uint::next_power_of_two_opt 2013-09-16 15:04:48 +02:00