Subj : Re: Any help on why? To : borland.public.cpp.borlandcpp From : Bob Gonder Date : Wed Jul 07 2004 08:36 am Wayne A. King wrote: >On Wed, 7 Jul 2004 02:53:38 -0400, "Stan DeGroff" wrote: > >>I wanted to look at the data as a Hexadecimal floating pt. number. > >As I said: %X is for use with *integer* arguments, not with floats/doubles. What if you want to see how a float works? Hex output is quite reasonable for such. %X takes BYTES off the stack and displays them. It doesn't care what type they were before they got put on the stack. And, there is no difference on the stack between an int and a float (other than perhaps the number of bytes, a size issue). Poster could have used %lX for float or double as %X is int, whatever size that is (target dependant).. .