tgmath implemented to solve 64bit conversion issues. majority related to format strings.