tags:

views:

24

answers:

1

I am new to using the PARI C library.

How can I perform bitwise ('and' or 'or') operations on the GEN type variables?

A: 

using gbitand and gbitor ?

Declared in arith2.c see this link (sorry for the not so direct link):

GEN     gbitand(GEN x, GEN y)
GEN     gbitor(GEN x, GEN y)
RC