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

Function parse_float32

src/repr/src/strconv.rs:333–335  ·  view source on GitHub ↗

Parses an `f32` from `s`.

(s: &str)

Source from the content-addressed store, hash-verified

331
332/// Parses an `f32` from `s`.
333pub fn parse_float32(s: &str) -> Result<f32, ParseError> {
334 parse_float("real", s)
335}
336
337/// Writes an `f32` to `buf`.
338pub fn format_float32<F>(buf: &mut F, f: f32) -> Nestable

Callers 5

cast_string_to_float32Function · 0.85
decode_textMethod · 0.85
decode_text_into_rowMethod · 0.85
bench_parse_float32Function · 0.85
evalMethod · 0.85

Calls 1

parse_floatFunction · 0.85

Tested by

no test coverage detected