clarify that numbers don't need to be IEEE 754 floats

This commit is contained in:
Kat Marchán 2024-11-27 01:01:35 -08:00
parent 1e924bcc7f
commit 93c4400a96
No known key found for this signature in database
GPG Key ID: AEB529C08A3C7E9E
1 changed files with 4 additions and 0 deletions

View File

@ -634,6 +634,10 @@ To go along with this and prevent foot guns, the bare [Identifier
Strings](#identifier-string) `inf`, `-inf`, and `nan` are considered illegal
identifiers and should yield a syntax error.
The existence of these keywords does not imply that any numbers be represented
as IEEE 754 floats. These are simply for clarity and convenience for any
implementation that chooses to represent their numbers in this way.
### Boolean
A boolean [Value](#value) is either the symbol `#true` or `#false`. These