简体   繁体   English

使用pari c库实现按位运算

[英]Implementing bitwise operations using pari c library

I am new to using the PARI C library. 我是使用PARI C库的新手。

How can I perform bitwise ('and' or 'or') operations on the GEN type variables? 如何在GEN类型变量上执行按位(“和”或“或”)操作?

using gbitand and gbitor ? 使用gbitandgbitor吗?

Declared in arith2.c see this link (sorry for the not so direct link): arith2.c声明,请参见以下链接 (对不起如此直接的链接):

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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