Claude Code v2.1.228 ·
Numbers in exponent notation tokenize as one value
Numbers like 1e-9 are now read as a single value instead of being split.
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
InternalsArea: what it touches
Bug FixesKind: in v2.1.228,
Bug FixesSection of the release
What
The number scanner previously stopped at digits, - and ., splitting a value like 1e-9. It now also consumes e/E and a sign directly after it.
Evidence
type: "number"
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
See this entry in the whole of v2.1.228 →