f32FromParts and f64FromParts for repl

This commit is contained in:
Fabian Schmalzried 2024-03-16 15:10:29 +01:00
parent 473b8ef2d3
commit 11998b9cc8
No known key found for this signature in database
GPG key ID: D691D5DA4CEF42E7
12 changed files with 48 additions and 4 deletions

View file

@ -1349,7 +1349,9 @@ pub(crate) fn lowlevel_borrow_signature(op: LowLevel) -> &'static [Ownership] {
| NumWithoutDecimalPoint
| NumWithDecimalPoint
| NumF32ToParts
| NumF64ToParts => &[IRRELEVANT],
| NumF64ToParts
| NumF32FromParts
| NumF64FromParts => &[IRRELEVANT],
StrStartsWith | StrEndsWith => &[BORROWED, BORROWED],
StrFromUtf8 => &[OWNED],
StrToUtf8 => &[OWNED],