开发者

Implementing bitwise operations using pari c library

开发者 https://www.devze.com 2023-01-11 21:05 出处:网络
I am new to using the PARI C library. How can I perform bitwise (\'and\' or \'or\') operations开发者_StackOverflow on the GEN type variables?using gbitand and gbitor ?

I am new to using the PARI C library.

How can I perform bitwise ('and' or 'or') operations开发者_StackOverflow 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)
0

精彩评论

暂无评论...
验证码 换一张
取 消