Quote Originally Posted by CodeMonkey View Post
Well take a look in float.h

It'll tell you the bit-space of a float's different components. You could build a fairly safe method that way.
Thanks, had a quick look but couldn't find anything I understand to use. Might need to read up on bit operations a bit.