Jorijn van der Graaf
6987033d6b
fix(core): encode a float as its shortest decimal
...
A float was widened to double before encoding, so every float watch,
argument default and result read as the double nearest it: gravity
-9.81 showed as -9.8100004196167, a radius of 0.1 as 0.10000000149011612,
in `get`, `help` and call results alike. Agents read these, and copy
them back into `set` and `call`.
Codec<float> now encodes the shortest decimal that reads back as the
same float (std::to_chars), as a double. Decoding is unchanged, and so
is every value: 0.1 decodes to the float 0.1f came from. A double is
encoded as before.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 03:21:41 +01:00
..
Crafter.Debug-Condition.cppm
feat(registry): commands, watches, samples, the timeline and conditions
2026-11-01 01:40:59 +01:00
Crafter.Debug-Registry.cppm
feat(session): serve requests without blocking a thread, pause and step
2026-11-01 01:53:15 +01:00
Crafter.Debug-Session.cppm
feat(session): serve requests without blocking a thread, pause and step
2026-11-01 01:53:15 +01:00
Crafter.Debug-Timeline.cppm
feat(session): serve requests without blocking a thread, pause and step
2026-11-01 01:53:15 +01:00
Crafter.Debug-Transport.cppm
feat(transport): serve the session over QUIC on loopback
2026-11-01 03:06:56 +01:00
Crafter.Debug.Cli-Client.cppm
feat(cli): crafter-debug, the client agents drive an app with
2026-11-01 02:03:38 +01:00
Crafter.Debug.Cli-Quic.cppm
feat(cli): reach instances over QUIC
2026-11-01 03:07:09 +01:00
Crafter.Debug.Cli.cppm
feat(cli): reach instances over QUIC
2026-11-01 03:07:09 +01:00
Crafter.Debug.Core-BuildInfo.cppm
feat(discovery): find live instances across sandboxes; build info
2026-11-01 01:56:31 +01:00
Crafter.Debug.Core-Codec.cppm
fix(core): encode a float as its shortest decimal
2026-11-01 03:21:41 +01:00
Crafter.Debug.Core-Discovery.cppm
feat(discovery): find live instances across sandboxes; build info
2026-11-01 01:56:31 +01:00
Crafter.Debug.Core-Protocol.cppm
feat(session): serve requests without blocking a thread, pause and step
2026-11-01 01:53:15 +01:00
Crafter.Debug.Core-Reflect.cppm
feat(core): Value, reflection, codecs and results, shared by app and client
2026-11-01 01:31:58 +01:00
Crafter.Debug.Core-Result.cppm
feat(core): Value, reflection, codecs and results, shared by app and client
2026-11-01 01:31:58 +01:00
Crafter.Debug.Core-Value.cppm
feat(core): Value, reflection, codecs and results, shared by app and client
2026-11-01 01:31:58 +01:00
Crafter.Debug.Core.cppm
feat(discovery): find live instances across sandboxes; build info
2026-11-01 01:56:31 +01:00
Crafter.Debug.cppm
feat(transport): serve the session over QUIC on loopback
2026-11-01 03:06:56 +01:00