This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Bytes order and words order
>>>>> "Daniel" == Daniel Jacobowitz <drow@mvista.com> writes:
>> Well, what mostly is annoying me in my proposed scheme is that it
>> would somehow duplicate some information mostly with real.[ch].
>> That really makes me uneasy. On a previous attempt, I tried to
>> have real.[ch] act like part of the C++ library, that was way too
>> invasive and too tighly coupled with GCC's internals. I'm open to
>> suggestions.
Daniel> Libiberty has a file in it called floatformat.c. You'd need
Daniel> to play some licensing games to use it but it should have
Daniel> everything you need; that's how GDB understands target
Daniel> floats.
Correct me if I missed something, but from a cursory scan of that file
it looks like it only supports one of the four formats (IEEE) that
real.c supports.
paul