diff options
| author | bors <bors@rust-lang.org> | 2013-03-05 22:00:40 -0800 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2013-03-05 22:00:40 -0800 |
| commit | 959e483fb705e99097a85ce42371bd57b78bd180 (patch) | |
| tree | 3b4e83a1941021c7ec5f9c335698a1629e3cf82d /src/libsyntax/parse/parser.rs | |
| parent | 165cc9e2c424b674a9e6fc88cc7c86ebc7d55b98 (diff) | |
| parent | ce23c8c0cfc6aee3eae7d0287651ef7bcd9c6b9f (diff) | |
| download | rust-959e483fb705e99097a85ce42371bd57b78bd180.tar.gz rust-959e483fb705e99097a85ce42371bd57b78bd180.zip | |
auto merge of #5235 : yjh0502/rust/io_float, r=graydon
When parsing bytes from a wire, there is a need to parse floating-point bytes to float values ([u8*4] to f32, [u8*8] to f64). This can be done via cast::transmute, but there is no way to do it safely. It's quite common, so I think I't better to support it in core library.
Diffstat (limited to 'src/libsyntax/parse/parser.rs')
0 files changed, 0 insertions, 0 deletions
