rust/src/libstd
Alex Crichton ba0a984a86 core: Move intrinsic float functionality from std
The Float trait in libstd is quite a large trait which has dependencies on cmath
(libm) and such, which libcore cannot satisfy. It also has many functions that
libcore can implement, however, as LLVM has intrinsics or they're just bit
twiddling.

This commit moves what it can of the Float trait from the standard library into
libcore to allow floats to be usable in the core library. The remaining
functions are now resident in a FloatMath trait in the standard library (in the
prelude now). Previous code which was generic over just the Float trait may now
need to be generic over the FloatMath trait.

[breaking-change]
2014-05-15 23:22:06 -07:00
..
comm
fmt auto merge of #14133 : db48x/rust/ord-for-mut-refs, r=alexcrichton 2014-05-14 22:06:50 -07:00
hash
io std: Delete unused file 2014-05-15 13:50:50 -07:00
num core: Move intrinsic float functionality from std 2014-05-15 23:22:06 -07:00
path Add ToCStr impl for &Path and StrBuf 2014-05-14 22:42:46 -07:00
rt std: Remove run_in_bare_thread 2014-05-15 13:50:50 -07:00
sync core: Inherit the atomics module 2014-05-13 23:59:03 -07:00
unstable std: Remove run_in_bare_thread 2014-05-15 13:50:50 -07:00
ascii.rs
bitflags.rs Make from_bits in bitflags! safe; add from_bits_truncate 2014-05-15 13:50:33 -07:00
c_str.rs Add ToCStr impl for &Path and StrBuf 2014-05-14 22:42:46 -07:00
c_vec.rs
cleanup.rs
from_str.rs
gc.rs
lib.rs Register new snapshots 2014-05-15 13:50:34 -07:00
local_data.rs
macros.rs
option.rs
os.rs librand: Remove all uses of ~str from librand 2014-05-14 18:29:13 -07:00
owned.rs
prelude.rs
rc.rs
reflect.rs
repr.rs
result.rs
rtdeps.rs
slice.rs
str.rs auto merge of #14213 : kballard/rust/str_from_utf8_result, r=cmr 2014-05-15 21:41:29 -07:00
strbuf.rs Change StrBuf::from_utf8() to return Result 2014-05-14 17:35:55 -07:00
task.rs
to_str.rs
unicode.rs
vec.rs Make Vec.truncate() resilient against failure in Drop 2014-05-15 13:50:29 -07:00