Function abs_i32

Source
pub extern "C" fn abs_i32(x: i32) -> i32
Expand description

计算绝对值(32位整数版本)

§参数

  • x - 输入值

§返回值

返回x的绝对值