make round return an integer

This commit is contained in:
Folkert 2022-05-06 20:17:40 +02:00
parent 1efe3e9929
commit 64b633bea6
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C
5 changed files with 21 additions and 8 deletions

View file

@ -554,7 +554,7 @@ trait Backend<'a> {
}
LowLevel::NumRound => self.build_fn_call(
sym,
bitcode::NUM_ROUND[FloatWidth::F64].to_string(),
bitcode::NUM_ROUND_F64[IntWidth::I64].to_string(),
args,
arg_layouts,
ret_layout,