[c] How to get absolute value from double - c-language