Function core::num::dec2flt::extract_sign [] [src]

fn extract_sign(s: &str) -> (Sign, &str)
Unstable (dec2flt)

: internal routines only exposed for testing

Split decimal string into sign and the rest, without inspecting or validating the rest.