mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-31 09:07:21 +00:00
f32/f64toParts in repl only
This commit is contained in:
parent
64e9899cad
commit
473b8ef2d3
12 changed files with 72 additions and 6 deletions
|
@ -104,6 +104,8 @@ pub enum LowLevel {
|
|||
NumCountOneBits,
|
||||
NumWithoutDecimalPoint,
|
||||
NumWithDecimalPoint,
|
||||
NumF32ToParts,
|
||||
NumF64ToParts,
|
||||
I128OfDec,
|
||||
Eq,
|
||||
NotEq,
|
||||
|
@ -341,6 +343,8 @@ map_symbol_to_lowlevel! {
|
|||
I128OfDec <= I128_OF_DEC;
|
||||
NumWithoutDecimalPoint <= NUM_WITHOUT_DECIMAL_POINT;
|
||||
NumWithDecimalPoint <= NUM_WITH_DECIMAL_POINT;
|
||||
NumF32ToParts <= NUM_F32_TO_PARTS;
|
||||
NumF64ToParts <= NUM_F64_TO_PARTS;
|
||||
Eq <= BOOL_STRUCTURAL_EQ;
|
||||
NotEq <= BOOL_STRUCTURAL_NOT_EQ;
|
||||
And <= BOOL_AND;
|
||||
|
|
|
@ -1270,6 +1270,8 @@ define_builtins! {
|
|||
158 NUM_REM_UNCHECKED: "remUnchecked" // traps on division by zero
|
||||
159 NUM_WITHOUT_DECIMAL_POINT: "withoutDecimalPoint"
|
||||
160 NUM_WITH_DECIMAL_POINT: "withDecimalPoint"
|
||||
161 NUM_F32_TO_PARTS: "f32ToParts"
|
||||
162 NUM_F64_TO_PARTS: "f64ToParts"
|
||||
}
|
||||
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