MCPcopy Create free account
hub / github.com/LibertyOS-Development/kernel / from_str_radix

Method from_str_radix

src/math/float/fl.rs:469–472  ·  view source on GitHub ↗
(str: &str, radix: u32)

Source from the content-addressed store, hash-verified

467{
468 type FromStrRadixErr = num_traits::ParseFloatError;
469 fn from_str_radix(str: &str, radix: u32) -> Result<Self, Self::FromStrRadixErr>
470 {
471 f32::from_str_radix(str, radix).map(Self)
472 }
473}
474
475impl One for FL32

Callers

nothing calls this directly

Calls 1

mapMethod · 0.45

Tested by

no test coverage detected