develooper Front page | perl.perl5.porters | Postings from September 2014

Re: new long doubles option: gcc libquadmath

Thread Previous | Thread Next
Reini Urban
September 19, 2014 18:46
Re: new long doubles option: gcc libquadmath
Message ID:
> Do you think things like Sereal and Storable should support this?

All serializers should support all possible number formats. There are dozens.
From the standardized float and double to the varying versions of long double:
double-double as on ppc, the two intel variants with 10 or 12 extended prec.,
the hw or sw quad math standards, and several more hw specific variants,
little and big-endian.

If you transport them as strings you need to do nothing, as blob you need to
mark the variant in the header and do something like the parrot native_pbc
translators (fast, but not recommended).
Reini Urban

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About