This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Using GMP for BigIntegers.
- To: <java at gcc dot gnu dot org>
- Subject: Re: Using GMP for BigIntegers.
- From: "Mark J. Roberts" <mjr at statesmean dot com>
- Date: Tue, 30 Jan 2001 16:53:13 -0500 (EST)
On 30 Jan 2001, Per Bothner wrote:
> > Anyway, this (the former) approach is the one I'm going to take.
>
> Cool.
You use Java's unsigned right shift operator (>>> and >>>=) about 12 times
in your code. How should I translate this to C++?
Also,
rshift (jintArray idest, jintArray ix, jint x_start, jint len, jint count)
and
lshift (jintArray idest, jint d_offset, jintArray ix, jint len, jint count)
don't have GMP counterparts AFAIK.
--
Mark Roberts
mjr@statesmean.com