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
..
2014-05-07 08:16:42 -07:00
2014-05-07 08:16:42 -07:00
2014-05-07 08:16:42 -07:00
2014-05-07 08:16:42 -07:00
2014-05-07 08:16:42 -07:00
2014-05-07 08:16:42 -07:00
2014-05-07 08:16:42 -07:00
2014-05-07 08:16:42 -07:00
2014-05-07 08:16:42 -07:00
2014-05-07 08:16:42 -07:00
2014-05-07 08:16:42 -07:00