rust/tests/compile-fail
bors 45113eb6a4 Auto merge of #1325 - RalfJung:float_to_int_unchecked, r=RalfJung
implement float_to_int_unchecked

@hanna-kruppe would be great if you could have a look at this.

`float.rs` tests legal casts. `test_cast` checks that both `as` casts and unchecked casts work (i.e., these are not saturating). The `compile-fail` tests should ensure that illegal casts via the intrinsic are detected as such.

Fixes https://github.com/rust-lang/miri/issues/1264
2020-04-18 08:13:24 +00:00
..
2020-03-22 08:55:39 +01:00
2020-03-21 10:54:56 +01:00
2019-12-13 13:19:48 +01:00
2020-03-27 19:39:35 +01:00
2020-03-27 19:39:35 +01:00
2020-03-19 08:25:08 +01:00
2020-03-19 08:25:08 +01:00
2020-03-09 17:03:39 +01:00
2020-03-19 08:25:08 +01:00
2020-03-25 09:32:15 +01:00
2020-03-19 08:25:08 +01:00
2019-06-24 14:50:27 +02:00