Skip to content

Commit

Permalink
Update normative-conventions.md
Browse files Browse the repository at this point in the history
Co-authored-by: Michael Ficarra <[email protected]>
  • Loading branch information
bakkot and michaelficarra authored May 15, 2024
1 parent d7339d4 commit 89af963
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion normative-conventions.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ NB: This convention is new as of 2024, and most earlier parts of the language do

## Integral-Number-taking inputs should reject non-integral arguments

If an argument to a built-in function is expected to be a Number (including as an option in an options bag), receiving a non-integral Number should cause a `RangeError` to be thrown.
If an argument to a built-in function is expected to be an integral Number (including as an option in an options bag), receiving a non-integral Number should cause a `RangeError` to be thrown.

For the purposes of this guideline `-0` is considered to be an integral number (specifically, 0).

Expand Down

0 comments on commit 89af963

Please sign in to comment.