Is there an abs() for integer types?

I can only find @fabs and std.math.fabs(). Is there a version for signed integers as well?

1 Like

std.math.absInt()?

1 Like

I was blind. Thanks!