fixed tgmath.h for functions with integral result