It's abs(x) only over the reals, for complex numbers it's more complicated.