Currently ::std::i64::MIN.abs() returns ::std::i64::MIN.
I don't think this is absolutely "wrong", but then at least it should be specified that "abs() method can return negative values".
Currently std::num::abs() says it can return NaN for floats, but no mention for general situation.
Currently
::std::i64::MIN.abs()returns::std::i64::MIN.I don't think this is absolutely "wrong", but then at least it should be specified that "abs() method can return negative values".
Currently
std::num::abs()says it can return NaN for floats, but no mention for general situation.