MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / format_float32

Function format_float32

src/repr/src/strconv.rs:338–343  ·  view source on GitHub ↗

Writes an `f32` to `buf`.

(buf: &mut F, f: f32)

Source from the content-addressed store, hash-verified

336
337/// Writes an `f32` to `buf`.
338pub fn format_float32<F>(buf: &mut F, f: f32) -> Nestable
339where
340 F: FormatBuffer,
341{
342 format_float(buf, f)
343}
344
345/// Parses an `f64` from `s`.
346pub fn parse_float64(s: &str) -> Result<f64, ParseError> {

Callers 3

stringify_datumFunction · 0.85
cast_float32_to_stringFunction · 0.85
encode_textMethod · 0.85

Calls 1

format_floatFunction · 0.85

Tested by

no test coverage detected