mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-01 15:51:12 +00:00
make round return an integer
This commit is contained in:
parent
1efe3e9929
commit
64b633bea6
5 changed files with 21 additions and 8 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue