简体   繁体   中英

Implementing bitwise operations using pari c library

I am new to using the PARI C library.

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

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)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM