ggidev-triple-int

Langue: en

Version: 65749 (mandriva - 22/10/07)

Section: 7 (Divers)

NAME

ggidev-triple-int : triple-int General Information

SYNOPSIS

 #include <ggi/internal/triple-int.h>
 

DESCRIPTION

triple-int is a collection of math routines that operates on an array of 3 unsigned integers, treating them as a single integer with triple precision.

triple-int uses a 2-complement representation for negative values.

The most significant part of the triple-int is stored at the highest index in the array representation.

A triple-int is typically declared as follows:

 unsigned x[3];
 

Don't let the above unsigned keyword fool you, all the routines operate as if the triple-int is signed.

SEE ALSO

ggidev-assign_3(3), ggidev-assign_int_3(3), ggidev-assign_unsigned_3(3), ggidev-sign_3(3), ggidev-bits_3(3), ggidev-eq0_3(3), ggidev-gt0_3(3), ggidev-ge0_3(3), ggidev-lt0_3(3), ggidev-le0_3(3), ggidev-eq_3(3), ggidev-ge_3(3), ggidev-invert_3(3), ggidev-lshift_3(3), ggidev-rshift_3(3), ggidev-inc_3(3), ggidev-dec_3(3), ggidev-negate_3(3), ggidev-abs_3(3), ggidev-add_3(3), ggidev-sub_3(3), ggidev-mul_3(3), ggidev-divmod_3(3)