国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 學院 > 開發(fā)設計 > 正文

glibc的幾個有用的處理二進制位的內置函數

2019-11-10 22:22:59
字體:
來源:轉載
供稿:網友
— Built-in Function: int __builtin_ffs (unsigned int x)Returns one plus the index of the least significant 1-bit of x, or if x is zero, returns zero.返回右起第一個‘1’的位置。— Built-in Function: int __builtin_clz (unsigned int x)Returns the number of leading 0-bits in x, starting at the most significant bit position. If x is 0, the result is undefined.返回左起第一個‘1’之前0的個數。— Built-in Function: int __builtin_ctz (unsigned int x)Returns the number of trailing 0-bits in x, starting at the least significant bit position. If x is 0, the result is undefined.返回右起第一個‘1’之后的0的個數。— Built-in Function: int __builtin_popcount (unsigned int x)Returns the number of 1-bits in x.返回‘1’的個數。— Built-in Function: int __builtin_parity (unsigned int x)Returns the parity of x, i.e. the number of 1-bits in x modulo 2.返回‘1’的個數的奇偶性。— Built-in Function: int __builtin_ffsl (unsigned long)Similar to __builtin_ffs, except the argument type is unsigned long. — Built-in Function: int __builtin_clzl (unsigned long)Similar to __builtin_clz, except the argument type is unsigned long. — Built-in Function: int __builtin_ctzl (unsigned long)Similar to __builtin_ctz, except the argument type is unsigned long. — Built-in Function: int __builtin_popcountl (unsigned long)Similar to __builtin_popcount, except the argument type is unsigned long. — Built-in Function: int __builtin_parityl (unsigned long)Similar to __builtin_parity, except the argument type is unsigned long. — Built-in Function: int __builtin_ffsll (unsigned long long)Similar to __builtin_ffs, except the argument type is unsigned long long. — Built-in Function: int __builtin_clzll (unsigned long long)Similar to __builtin_clz, except the argument type is unsigned long long. — Built-in Function: int __builtin_ctzll (unsigned long long)Similar to __builtin_ctz, except the argument type is unsigned long long. — Built-in Function: int __builtin_popcountll (unsigned long long)Similar to __builtin_popcount, except the argument type is unsigned long long. — Built-in Function: int __builtin_parityll (unsigned long long)Similar to __builtin_parity, except the argument type is unsigned long long.來源:點擊打開鏈接
上一篇:linux命令行

下一篇:藍橋杯之移動距離

發(fā)表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發(fā)表
主站蜘蛛池模板: 安溪县| 楚雄市| 武定县| 和田县| 芦溪县| 富民县| 兴隆县| 吉木乃县| 湾仔区| 青川县| 桃园县| 德兴市| 吉首市| 柳江县| 贵港市| 齐齐哈尔市| 黔南| 千阳县| 舒城县| 临洮县| 泰来县| 昌都县| 晋城| 卢氏县| 南岸区| 广汉市| 马公市| 泸水县| 云南省| 鹤壁市| 柘城县| 宣城市| 长白| 科尔| 白山市| 定陶县| 达孜县| 自贡市| 平罗县| 临城县| 沁源县|