[Pixman] [cairo] Floating point API in Pixman

Andrea Canciani ranma42 at gmail.com
Thu Aug 12 01:06:22 PDT 2010


On Thu, Aug 12, 2010 at 10:02 AM, Mathieu Lacage
<mathieu.lacage at sophia.inria.fr> wrote:
> On Thu, 2010-08-12 at 09:54 +0200, Andrea Canciani wrote:
>> (I would *really* love if int128_t was actually available!)
>
> It's available on most 64bit systems (at least x86_64) with gcc as
> __int128_t and __uint128_t. I use this:
>
> #if defined(HAVE___UINT128_T) and !defined(HAVE_UINT128_T)
> typedef __uint128_t uint128_t;
> typedef __int128_t int128_t;
> #endif
If we can't assume that we have a (fast) FPU, we probably can't assume
that we are on a 64 bits architecture (even less on x86_64).
:(
Andrea


More information about the Pixman mailing list