operator | method - BigInt class - dart:core library (original) (raw)

description

operator | abstract method

BigInt operator |(

  1. BigInt other )

Bit-wise or operator.

Treating both this and other as sufficiently large two's component integers, the result is a number with the bits set that are set in either of this and other

If both operands are non-negative, the result is non-negative, otherwise the result is negative.

Implementation

BigInt operator |(BigInt other);