Fun with bits , booleans , and bitwise operations 位运算、布尔运算和逐位运算的乐趣
This article also offers a set of udfs that perform bitwise operations between integer arguments 本文还提供了一组在整型变量之间执行逐位运算的udf 。
As i mentioned in the introduction , pl sql and t - sql supports bitwise operations between arguments declared as integer 正如简介中提到的, pl / sql和t - sql支持声明为integer的变量之间的逐位运算。
Bitwise operations perform logical and , or , exlusive or , and not operations on binary representations of their integer arguments 逐位运算在其二进制形式的整型变量上执行逻辑and 、 or 、 exlusive or和not运算。
Now that we understand the definition for bitwise operations and argument conversion , we can offer db2 udfs to support such operations 既然已经了解了逐位运算和变量转换的定义,那么我们现在就可以提供db2 udf来支持这些操作了。
逐: pursue; chase; run after位: place; location运算: operation; arithmetic; opera ...位运算: bit arithmetic按位运算: bitwise operation; bitwiseoperation单位运算: unit-distance code双倍位运算: double-length arithmetic位运算符: bitwise operators位运算子: bitwise operators; bitwise operator移位运算: shift operation有效位运算: significant digit arithmetic循环移位运算: cycle shift operation有效数位运算: significant digit arithmetic位元移位运算子: shift operator向左移位运算符: left shift operator逐位: bit by bit; bitwise小数点自动定位运算: automatic decimal point arithmetic逐位法: digit by digit method逐位码: bit by bit code运算: [数学] operation; arithmetic; operating 四则运算 the four fundamental operations of arithmetic; 每秒钟运算一千万次 capable of 10,000,000 calculations per second; 运算器 arithmetic unit; arithmetic device; arithmetical unit; arithmetic-logic unit; logic unit; logic-arithmetic unit逐位比较: bit by bit compare逐位操作: bitwise operation逐位处理: bit stepped逐位传送: bit by bit transfer逐位存储: point-by-point storage