2

I am new to using the PARI C library.

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

p.campbell
  • 98,673
  • 67
  • 256
  • 322
siri
  • 713
  • 3
  • 11
  • 24

1 Answers1

1

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)