mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-23 20:12:27 +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
|
@ -184,6 +184,9 @@ map_symbol_to_lowlevel_and_arity! {
|
|||
NumLogUnchecked; NUM_LOG; 1,
|
||||
NumRound; NUM_ROUND; 1,
|
||||
NumToFrac; NUM_TO_FRAC; 1,
|
||||
NumIsNan; NUM_IS_NAN; 1,
|
||||
NumIsInfinite; NUM_IS_INFINITE; 1,
|
||||
NumIsFinite; NUM_IS_FINITE; 1,
|
||||
NumPow; NUM_POW; 2,
|
||||
NumCeiling; NUM_CEILING; 1,
|
||||
NumPowInt; NUM_POW_INT; 2,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue