Vector Addition (Subtraction)

Kevin Ryde user42 at zip.com.au
Sun Jun 6 00:56:29 CEST 2004


Josh Liu <zliu2 at student.gsu.edu> writes:
>
> Is there a way to compute rather a number is greater than
> another number using only subtractions, additions, shifts, and simple
> bitwise operations?

mpn/cray/add_n.c, sub_n.c

> The good news is that if we can implement this method
> efficiently, we can do four limb operations in two passes on the
> Pentium 4.

Alas, unlikely.


More information about the gmp-devel mailing list