In mathematics, the absolute value of a number n is either −n if n is negative or n itself if otherwise.
Is there a single word or shorter description for the replacement of n with its absolute value?
In mathematics, the absolute value of a number n is either −n if n is negative or n itself if otherwise.
Is there a single word or shorter description for the replacement of n with its absolute value?
|n| is called taking its magnitude. That is the value without the sign, if you would.
It’s hard to say without having a context, but you might be able to use unsigned, as in Compute the absolute difference between unsigned integers using sse.
You can also just talk about ignoring the sign.
7 mod 3 is 1(because 3 goes into 7 twice with a remainder of 1), usually written7 % 3 == 1in C-derived programming languages. – tchrist Jul 22 '12 at 22:35abs(x), never modulus. I would just hate for a paired‑usand a‑oterm to be that different, because it’s just a different case ending to, or a different/later evolution of, the same Latin word. For a good time, try to find programming languages that allow you to actually writeabs(x)as|x|. – tchrist Jul 22 '12 at 22:41