Why do you ask? If you need to perform I/O of floating point values in binary IEEE format, there are already functions for that in sprintf/sscanf (which take advantage of the native format being IEEE when applicable, also taking endianness into consideration) which could be broken out for use elsewhere.