Scenario: You have a float and you need it to be Positive, but it could be Positive or Negative. What is the most efficient way to ensure that it is Positive?
I know you can multiply it by itself(square it). Is there a faster/better way?
Would checking to see if it is less than 1, setting a bool, and branching to either multiply by +1 or by -1 be more efficient than say, multiplying -1752 by -1752? Or multiplying -17523 by -17523?