Finite f64 only — serde_json renders NaN/Inf as `null`, which would not round-trip. We deliberately stay in the finite range so the stability property holds.
(&mut self)
| 93 | /// not round-trip. We deliberately stay in the finite range so the |
| 94 | /// stability property holds. |
| 95 | fn f64_finite(&mut self) -> f64 { |
| 96 | (self.below(1_000_000) as f64) / 100.0 |
| 97 | } |
| 98 | /// A string drawn from a pool of round-trip hazards: empty, unicode, |
| 99 | /// embedded quotes/newlines, and JSON-looking text (the last is the |
| 100 | /// trap for the untagged `ToolResultContentField` — a string that |
no test coverage detected