Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make sure the value in abs() does not get truncated if it is greater …
…than 2^32 abs() will truncate the input if is it outside the 2^32 range. Fix that by assuming `long' input. This might generate worse code in the common case. Signed-off-by: Rolf Eike Beer <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
- Loading branch information