]> git.proxmox.com Git - rustc.git/blame - src/test/ui/intrinsics/intrinsic-nearby.rs
Update unsuspicious file list
[rustc.git] / src / test / ui / intrinsics / intrinsic-nearby.rs
CommitLineData
f035d41b
XL
1// run-pass
2#![feature(core_intrinsics)]
3
4use std::intrinsics::*;
5
6fn main() {
7 unsafe {
8 assert_eq!(nearbyintf32(5.234f32), 5f32);
9 assert_eq!(nearbyintf64(6.777f64), 7f64);
10 }
11}