This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Robust detection of endianness at compile time.


Nick Maclaren <nmm1@cus.cam.ac.uk> writes:

> If you are faced with doing this for a system with integers that
> don't match C99's model, or with floating-point that doesn't have
> a base of 2 or 16, real numbers that are not floating-point or
> anything similar, then please contact me by Email before I retire.
> That isn't entirely a joke :-)

In that case, you may interested in the decimal floating point work
which has been put into gcc and some new Intel and PowerPC
processors.  This is floating point which uses base 10.

Ian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]