rust/src/libstd
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
..
fmt remove the float type 2013-10-01 14:54:10 -04:00
num remove the float type 2013-10-01 14:54:10 -04:00
rand remove the float type 2013-10-01 14:54:10 -04:00
rt std: Remove usage of fmt! 2013-09-30 23:21:18 -07:00
str Some work on std::ascii: Marked unsafe function unsafe, added moving implementations 2013-09-09 15:07:22 +02:00
task auto merge of #9576 : FlaPer87/rust/issue/9125, r=alexcrichton 2013-10-01 02:06:32 -07:00
unstable remove the float type 2013-10-01 14:54:10 -04:00
at_vec.rs std: Remove usage of fmt! 2013-09-30 23:21:18 -07:00
bool.rs rustdoc: Change all code-blocks with a script 2013-09-25 14:27:42 -07:00
borrow.rs std::borrow: Use raw pointer comparison for ref_eq 2013-09-18 06:05:06 +02:00
c_str.rs std: Remove usage of fmt! 2013-09-30 23:21:18 -07:00
cast.rs rustdoc: Change all code-blocks with a script 2013-09-25 14:27:42 -07:00
cell.rs std: Remove usage of fmt! 2013-09-30 23:21:18 -07:00
char.rs std: Remove usage of fmt! 2013-09-30 23:21:18 -07:00
cleanup.rs librustc: Remove &const and *const from the language. 2013-08-27 18:46:51 -07:00
clone.rs remove the float type 2013-10-01 14:54:10 -04:00
cmp.rs Now inline default 'ne' methods 2013-08-30 22:02:24 -04:00
comm.rs Add SharedPort wrapper around rt::comm::SharedPort 2013-09-14 22:50:28 +02:00
condition.rs std: Remove usage of fmt! 2013-09-30 23:21:18 -07:00
container.rs container: inline contains_key default method 2013-08-20 22:05:03 -04:00
default.rs std: Add a bunch of Default impls 2013-09-12 18:54:13 -07:00
either.rs std: Remove usage of fmt! 2013-09-30 23:21:18 -07:00
from_str.rs Add from_str docs 2013-09-05 00:58:12 -04:00
hash.rs std: Remove usage of fmt! 2013-09-30 23:21:18 -07:00
hashmap.rs std: Remove usage of fmt! 2013-09-30 23:21:18 -07:00
io.rs std: Remove usage of fmt! 2013-09-30 23:21:18 -07:00
iter.rs remove the float type 2013-10-01 14:54:10 -04:00
kinds.rs kinds: update documentation 2013-08-15 21:12:34 -04:00
libc.rs errfunc ptr is nullable, so use Option as part of interface to glob (#7752). 2013-09-25 23:38:59 +02:00
local_data.rs std: Remove usage of fmt! 2013-09-30 23:21:18 -07:00
logging.rs Register new snapshots 2013-09-27 00:44:32 -07:00
macros.rs std: Remove usage of fmt! 2013-09-30 23:21:18 -07:00
managed.rs std: implement Total{Ord,Eq} for pointers. 2013-08-04 19:46:52 +10:00
ops.rs switch Drop to &mut self 2013-09-16 22:19:23 -04:00
option.rs std: Remove usage of fmt! 2013-09-30 23:21:18 -07:00
os.rs Merge fall out of removing fmt! 2013-10-01 00:06:51 -07:00
owned.rs std: implement Total{Ord,Eq} for pointers. 2013-08-04 19:46:52 +10:00
path.rs std: Remove usage of fmt! 2013-09-30 23:21:18 -07:00
prelude.rs std: Replace CloneableTuple with Tuple, which takes self by-val. 2013-09-25 19:00:08 +10:00
ptr.rs std: Remove usage of fmt! 2013-09-30 23:21:18 -07:00
reflect.rs remove the float type 2013-10-01 14:54:10 -04:00
repr.rs remove the float type 2013-10-01 14:54:10 -04:00
result.rs std: Remove usage of fmt! 2013-09-30 23:21:18 -07:00
routine.rs libsyntax: Introduce routines and remove all @fns from libsyntax save the old visitor 2013-09-23 18:23:21 -07:00
run.rs std: Remove usage of fmt! 2013-09-30 23:21:18 -07:00
select.rs std: Remove usage of fmt! 2013-09-30 23:21:18 -07:00
send_str.rs Corrected a few small style issues 2013-09-16 17:45:24 +02:00
std.rs remove the float type 2013-10-01 14:54:10 -04:00
str.rs std: Remove usage of fmt! 2013-09-30 23:21:18 -07:00
sys.rs std: Remove usage of fmt! 2013-09-30 23:21:18 -07:00
to_bytes.rs remove the float type 2013-10-01 14:54:10 -04:00
to_str.rs std: Remove usage of fmt! 2013-09-30 23:21:18 -07:00
trie.rs std: Remove usage of fmt! 2013-09-30 23:21:18 -07:00
tuple.rs std: Replace CloneableTuple with Tuple, which takes self by-val. 2013-09-25 19:00:08 +10:00
unicode.rs rename std::iterator to std::iter 2013-09-09 03:21:46 -04:00
unit.rs std: Add a bunch of Default impls 2013-09-12 18:54:13 -07:00
util.rs auto merge of #9354 : thestinger/rust/cleanup, r=alexcrichton 2013-09-21 01:35:59 -07:00
vec.rs std: Remove usage of fmt! 2013-09-30 23:21:18 -07:00