mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 21:39:07 +00:00
Merge pull request #5348 from basile-henry/basile/num-is-nan
Implement builtins for Num.isNan, Num.isInfinite, and Num.isFinite
This commit is contained in:
commit
df0ab01128
80 changed files with 697 additions and 258 deletions
|
@ -1259,6 +1259,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