Skip to content

Commit 36cd4fa

Browse files
Add round_ties_even to f32 and f64
1 parent 34336b8 commit 36cd4fa

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/intrinsics/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,8 @@ fn codegen_float_intrinsic_call<'tcx>(
297297
sym::truncf64 => ("trunc", 1, fx.tcx.types.f64),
298298
sym::roundf32 => ("roundf", 1, fx.tcx.types.f32),
299299
sym::roundf64 => ("round", 1, fx.tcx.types.f64),
300+
sym::roundevenf32 => ("roundevenf", 1, fx.tcx.types.f32),
301+
sym::roundevenf64 => ("roundeven", 1, fx.tcx.types.f64),
300302
sym::sinf32 => ("sinf", 1, fx.tcx.types.f32),
301303
sym::sinf64 => ("sin", 1, fx.tcx.types.f64),
302304
sym::cosf32 => ("cosf", 1, fx.tcx.types.f32),

0 commit comments

Comments
 (0)