Add Num.withoutDecimalPoint

This commit is contained in:
Fabian Schmalzried 2024-03-14 23:59:06 +01:00
parent 62cc19c64b
commit 9c664172dd
No known key found for this signature in database
GPG key ID: D691D5DA4CEF42E7
9 changed files with 25 additions and 4 deletions

View file

@ -2029,6 +2029,11 @@ trait Backend<'a> {
}
}
LowLevel::DecWithoutDecimalPoint => {
let intrinsic = bitcode::DEC_TO_I128.to_string();
self.build_fn_call(sym, intrinsic, args, arg_layouts, ret_layout)
}
x => todo!("low level, {:?}", x),
}
}