Efficiently importing/export GMP floats
Gabriel Dos Reis
gdr at integrable-solutions.net
Fri Jan 21 04:41:40 CET 2011
On Thu, Jan 20, 2011 at 6:32 AM, Vincent Lefevre <vincent at vinc17.net> wrote:
> On 2011-01-19 20:13:05 +0100, Torbjorn Granlund wrote:
>> > * "Network byte order" should be used, i.e., most significant byte first.
>> Do you have a practical example of why it is better?
>> It is not "better" in a way that allows one to produce an example. It
>> is the standard external byte order since epoch. Of course, standards
>> are ust standards, so if there are good reasons, one may choose to
>> deviate from them.
> Well, what you call the "most significant byte" depends on the
> topology. :) If an integer is seen as an element of Z_2, you may
> want to consider a different byte order.
if an integer is seen as an element of Z_2, I suspect you would use
the natural machine integer rather GMP :-)
More information about the gmp-discuss