Converts a signed integer to its unsigned magnitude. For positive numbers, returns the number unchanged. For negative numbers, returns the absolute value (wrapping for MIN values).
This matches Rust's wrapping_abs() behavior.
Converts a signed integer to its unsigned magnitude. For positive numbers, returns the number unchanged. For negative numbers, returns the absolute value (wrapping for MIN values).
This matches Rust's wrapping_abs() behavior.