mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-31 09:07:21 +00:00
f32FromParts and f64FromParts for repl
This commit is contained in:
parent
473b8ef2d3
commit
11998b9cc8
12 changed files with 48 additions and 4 deletions
|
@ -106,6 +106,8 @@ pub enum LowLevel {
|
|||
NumWithDecimalPoint,
|
||||
NumF32ToParts,
|
||||
NumF64ToParts,
|
||||
NumF32FromParts,
|
||||
NumF64FromParts,
|
||||
I128OfDec,
|
||||
Eq,
|
||||
NotEq,
|
||||
|
@ -345,6 +347,8 @@ map_symbol_to_lowlevel! {
|
|||
NumWithDecimalPoint <= NUM_WITH_DECIMAL_POINT;
|
||||
NumF32ToParts <= NUM_F32_TO_PARTS;
|
||||
NumF64ToParts <= NUM_F64_TO_PARTS;
|
||||
NumF32FromParts <= NUM_F32_FROM_PARTS;
|
||||
NumF64FromParts <= NUM_F64_FROM_PARTS;
|
||||
Eq <= BOOL_STRUCTURAL_EQ;
|
||||
NotEq <= BOOL_STRUCTURAL_NOT_EQ;
|
||||
And <= BOOL_AND;
|
||||
|
|
|
@ -1272,6 +1272,8 @@ define_builtins! {
|
|||
160 NUM_WITH_DECIMAL_POINT: "withDecimalPoint"
|
||||
161 NUM_F32_TO_PARTS: "f32ToParts"
|
||||
162 NUM_F64_TO_PARTS: "f64ToParts"
|
||||
163 NUM_F32_FROM_PARTS: "f32FromParts"
|
||||
164 NUM_F64_FROM_PARTS: "f64FromParts"
|
||||
}
|
||||
4 BOOL: "Bool" => {
|
||||
0 BOOL_BOOL: "Bool" exposed_type=true // the Bool.Bool type alias
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue