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>
5 lines
272 B
Markdown
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.
|