From 545e25de5b3ca2658c7d2676d28e5168f88ded76 Mon Sep 17 00:00:00 2001 From: pommicket Date: Tue, 9 Sep 2025 13:52:49 -0400 Subject: Clarify that overflowing floats are allowed --- site/spec.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/site/spec.html b/site/spec.html index d5da143..5ff5146 100644 --- a/site/spec.html +++ b/site/spec.html @@ -494,8 +494,9 @@ and for my.nephews.car.id is String (no schema key matches, so the default of St
  • Float — A floating-point number, written in ordinary decimal (e.g. -1.234, 7., 265) or in scientific notation - (e.g. 3e5, 3.E-5, -3.7e+5). + (e.g. 3e5, 3.E-5, -3.7e+005). Excessive leading zeroes are not permitted (0.0 is allowed, but not 00.0). + Values which overflow are allowed (e.g. 1e999), but NaN and explicit Infinity are not. White space around the number is not permitted. The decimal point (if one is present) must be preceded by a digit. A leading + (or, of course, -) is permitted. -- cgit v1.2.3