@ -14,6 +14,13 @@ block0(v0: f32):
; run: %nearest_f32(0x1.5) == 0x1.0
; run: %nearest_f32(0x2.9) == 0x1.8p1
; run: %nearest_f32(0x1.1p10) == 0x1.1p10
; run: %nearest_f32(0x1.400000p1) == 0x1.0p1
; run: %nearest_f32(0x1.4cccccp0) == 0x1.0
; run: %nearest_f32(0x1.800000p0) == 0x1.0p1
; run: %nearest_f32(0x1.b33334p0) == 0x1.0p1
; run: %nearest_f32(0x1.99999ap-2) == 0x0.0
; run: %nearest_f32(0x1.333334p-1) == 0x1.0
; run: %nearest_f32(0x1.666666p1) == 0x1.8p1
; Negatives
; run: %nearest_f32(-0x0.5) == -0x0.0
@ -21,6 +28,13 @@ block0(v0: f32):
; run: %nearest_f32(-0x1.5) == -0x1.0
; run: %nearest_f32(-0x2.9) == -0x1.8p1
; run: %nearest_f32(-0x1.1p10) == -0x1.1p10
; run: %nearest_f32(-0x1.333334p-1) == -0x1.0
; run: %nearest_f32(-0x1.99999ap-2) == -0x0.0
; run: %nearest_f32(-0x1.4cccccp0) == -0x1.0
; run: %nearest_f32(-0x1.800000p0) == -0x1.0p1
; run: %nearest_f32(-0x1.b33334p0) == -0x1.0p1
; run: %nearest_f32(-0x1.400000p1) == -0x1.0p1
; run: %nearest_f32(-0x1.666666p1) == -0x1.8p1
; Specials
; run: %nearest_f32(0x0.0) == 0x0.0
@ -71,6 +85,13 @@ block0(v0: f64):
; run: %nearest_f64(0x1.5) == 0x1.0
; run: %nearest_f64(0x2.9) == 0x1.8p1
; run: %nearest_f64(0x1.1p10) == 0x1.1p10
; run: %nearest_f64(0x1.4000000000000p1) == 0x1.0p1
; run: %nearest_f64(0x1.4cccccccccccdp0) == 0x1.0
; run: %nearest_f64(0x1.8000000000000p0) == 0x1.0p1
; run: %nearest_f64(0x1.b333333333333p0) == 0x1.0p1
; run: %nearest_f64(0x1.999999999999ap-2) == 0x0.0
; run: %nearest_f64(0x1.3333333333333p-1) == 0x1.0
; run: %nearest_f64(0x1.6666666666666p1) == 0x1.8p1
; Negatives
; run: %nearest_f64(-0x0.5) == -0x0.0
@ -78,6 +99,13 @@ block0(v0: f64):
; run: %nearest_f64(-0x1.5) == -0x1.0
; run: %nearest_f64(-0x2.9) == -0x1.8p1
; run: %nearest_f64(-0x1.1p10) == -0x1.1p10
; run: %nearest_f64(-0x1.3333333333333p-1) == -0x1.0
; run: %nearest_f64(-0x1.999999999999ap-2) == -0x0.0
; run: %nearest_f64(-0x1.4cccccccccccdp0) == -0x1.0
; run: %nearest_f64(-0x1.8000000000000p0) == -0x1.0p1
; run: %nearest_f64(-0x1.b333333333333p0) == -0x1.0p1
; run: %nearest_f64(-0x1.4000000000000p1) == -0x1.0p1
; run: %nearest_f64(-0x1.6666666666666p1) == -0x1.8p1
; Specials
; run: %nearest_f64(0x0.0) == 0x0.0