128 bit signed and unsigned integer types

Walter Bright newshound1 at digitalmars.com
Sat Dec 27 23:19:18 PST 2008


dsimcha wrote:
> == Quote from Walter Bright (newshound1 at digitalmars.com)'s article
>> You know, the unimplemented 128 bit integer types.
>> Does anyone have a use for these?
> 
> Well, we've got bigints in both Phobos and Tango now.  Given the clumsiness or
> downright impossibility of manipulating 128-bit ints in hardware on x86-32, would
> they even be much faster than bigints?  I mean, you couldn't even fit 2 128-bit
> ints plus a stack pointer in the general-purpose registers of an x86.

It can be done (not impractical at all), the issue is is it worth while?



More information about the Digitalmars-d mailing list