Gustavo's IEEE-754 Brain Teaser

1 · · Aug. 5, 2013, midnight
Back in June, Gustavo Niemeyer posted the following question on his Labix.org blog: Assume uf is an unsigned integer with 64 bits that holds the IEEE-754 representation for a binary floating point number of that size. How can you tell if uf represents an integer number? I can’t talk for you, but I write business applications. I just don’t have the background to quickly knock out an answer for a question like this....