ludic/changes/text-to-float.md
Orkuncakilkaya c57eafcacc feat(text): Text.to_float; a void function's return <value> is an error
Text.to_float reads a leading decimal number (strtod), the twin of Text.to_int, for data files.
A return with a value in a function that returns nothing now says so where it is, instead of
reaching clang as 'store void'. Seed regenerated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-23 19:19:28 +03:00

5 lines
272 B
Markdown

bump: minor
type: feat
**`Text.to_float(s)`** - a leading decimal number read from a string as a `float` (`strtod`
underneath), the twin of `Text.to_int`. A game's data files carry fractions - an effect's
strength, a model's reach - and there was no way to read one back.