Open
Description
I see some inconsistency in the readme and the spec draft, let's clarify some edge cases.
NaN
- it's a valid value for the number
type, a valid output for Number#toString
, but it's not a number - should it be parsed?
Infinity
- almost the same.
-0
is a valid number, but not a valid output for Number#toString
, should it throw?
Should something like Number.fromString('20000000000001', 16)
throw an error? It's a valid mathematical number, but it can't be represented in the number
type / Number#toString
.
Metadata
Metadata
Assignees
Labels
No labels