Code Comments
Programming Forum and web based access to our favorite programming groups.How in a macro can one distinguish between binary and hexadecimal floating point? The type attribute returns the same value for both EB and EH and so does the length attribute. How can a macro tell the difference? TIA. Pierre.
Post Follow-up to this messagePierre, There doesn't appear to be a direct method for doing this. However, I notice that the scaling attribute S' is always zero for binary floating point constants. So, as long as you specify a non-zero scale modifier on your hex fp constants, you can do it. Yuck, it's horrible. Try to rethink what you want to achieve. Tom Grieve "Pierre Fichaud" <matrac@cam.org> wrote in message news:3FB12438.F9633F81@cam.org... > How in a macro can one distinguish between binary and hexadecimal > floating point? The type attribute returns the same value for both EB > and EH and so does the length attribute. How can a macro tell the > difference? > > TIA. Pierre. >
Post Follow-up to this messagePowered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.