mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 21:39:07 +00:00
Implement builtins for Num.isNan, Num.isInfinite, and Num.isFinite
Closes #5310 and closes #5309
This commit is contained in:
parent
d84a9fa8ba
commit
b8aaaaabda
12 changed files with 202 additions and 1 deletions
|
@ -1254,6 +1254,9 @@ define_builtins! {
|
|||
153 NUM_COUNT_TRAILING_ZERO_BITS: "countTrailingZeroBits"
|
||||
154 NUM_COUNT_ONE_BITS: "countOneBits"
|
||||
155 NUM_ABS_DIFF: "absDiff"
|
||||
156 NUM_IS_NAN: "isNaN"
|
||||
157 NUM_IS_INFINITE: "isInfinite"
|
||||
158 NUM_IS_FINITE: "isFinite"
|
||||
}
|
||||
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