From 93c4400a96e737c8ab001ca1bc8b9e6ad7da8624 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kat=20March=C3=A1n?= Date: Wed, 27 Nov 2024 01:01:35 -0800 Subject: [PATCH] clarify that numbers don't need to be IEEE 754 floats --- SPEC.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/SPEC.md b/SPEC.md index b21630b..0886d9e 100644 --- a/SPEC.md +++ b/SPEC.md @@ -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