[cairo] 128-bit arithmetic

Keith Packard keithp at keithp.com
Tue May 25 14:28:19 PDT 2004


I've finished the basic binary operators (+,-,*,/,%,<<,>>) for 64 and 128 
bit unsigned numbers; I suspect we'll need signed versions of at least 
some of these operations.  I'll see if I can't manage that in a while.

Please let me know what other operations are needed; almost any thing is 
easy now that we've got a well debugged division function.

I borrowed the algorithm from GCC (but not the code, of course).

-keith


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/cairo/attachments/20040525/eeb64d57/attachment.pgp


More information about the cairo mailing list