DMath.abs(a);
a - { Value to determine the absolute value to be returned. }
Returns the absolute value of a scalar or vector.
The absolute value, or modulus, represents the distance from a scalar to 0
abs implementation for a float scalar.
float abs(float a)
{
return max(-a, a)
}
Abs is extremely inexpensive in coding.
