math: more correct tgmath.h type cast logic
authorSzabolcs Nagy <nsz@port70.net>
Wed, 19 Dec 2012 09:57:54 +0000 (10:57 +0100)
committerSzabolcs Nagy <nsz@port70.net>
Wed, 19 Dec 2012 09:57:54 +0000 (10:57 +0100)
commit3c4214db727ed6300b34be28a5428b7abd6598df
tree1247b544ae159f7e48358ee7b145e84773b073d0
parente9e2b66e687bc0b4d07305a2b288ed8ff4ae5b4b
math: more correct tgmath.h type cast logic

__IS_FP is a portable integer constant expression now
(uses that unsigned long long is larger than float)
the result casting logic should work now on all compilers
supporting typeof
include/tgmath.h