AbsInt32: This function should take a single parameter of type int32 and return its absolute value as an int32. The function must behave as follows:
If the input is positive or zero, return the input unchanged.
If the input is negative, return the positive equivalent of the input.
Example behavior:
AbsInt32(10) should return 10
AbsInt32(0) should return 0
AbsInt32(-10) should return 10
AbsInt64: This function should take a single parameter of type int64 and return its absolute value as an int64. The function must behave similarly to the AbsInt32 function:
If the input is positive or zero, return the input unchanged.
If the input is negative, return the positive equivalent of the input.
Example behavior:
AbsInt64(10) should return 10
AbsInt64(0) should return 0
AbsInt64(-10) should return 10
Make sure to write the implementation in such a way that all provided tests in the test file pass successfully.
Important: declare your solution in package math (the test file uses package math, so the implementation must use the matching package name).