While a number of commonly needed basic math functions can be used, such as qSin() or qSqrt(), how come Qt is not offering a qSgn() function to determin the sign of a real?