Add round_ties_even to f32 and f64

This commit is contained in:
Jules Bertholet 2022-03-25 02:44:16 -04:00 committed by Jules Bertholet
parent e1c91213ff
commit be681fefed
No known key found for this signature in database
GPG key ID: 32034DAFC38C1BFC
12 changed files with 127 additions and 0 deletions

View file

@ -68,6 +68,8 @@ fn get_simple_intrinsic<'gcc, 'tcx>(cx: &CodegenCx<'gcc, 'tcx>, name: Symbol) ->
sym::nearbyintf64 => "nearbyint",
sym::roundf32 => "roundf",
sym::roundf64 => "round",
sym::roundevenf32 => "roundevenf",
sym::roundevenf64 => "roundeven",
sym::abort => "abort",
_ => return None,
};