# Other Functions

The following functions are available globally.

• ``` +(_:_:) ```

#### Declaration

Swift

``public func + (lhs: BigDecimal, rhs: BigDecimal) -> BigDecimal``

#### Parameters

 ``` lhs ``` lhs operand. ``` rhs ``` rhs operand.

#### Return Value

`lhs + rhs`.

• ``` -(_:_:) ```

#### Declaration

Swift

``public func - (lhs: BigDecimal, rhs: BigDecimal) -> BigDecimal``

#### Parameters

 ``` lhs ``` lhs operand. ``` rhs ``` rhs operand.

#### Return Value

`lhs - rhs`.

• ``` *(_:_:) ```

#### Declaration

Swift

``public func * (lhs: BigDecimal, rhs: BigDecimal) -> BigDecimal``

#### Parameters

 ``` lhs ``` lhs operand. ``` rhs ``` rhs operand.

#### Return Value

`lhs * rhs`.

• ``` /(_:_:) ```

#### Declaration

Swift

``public func / (lhs: BigDecimal, rhs: BigDecimal) -> BigDecimal``

#### Parameters

 ``` lhs ``` lhs operand. ``` rhs ``` rhs operand.

#### Return Value

`lhs / rhs`.

• ``` %(_:_:) ```

#### Declaration

Swift

``public func % (lhs: BigDecimal, rhs: BigDecimal) -> BigDecimal``

#### Parameters

 ``` lhs ``` lhs operand. ``` rhs ``` rhs operand.

#### Return Value

`lhs % rhs`.

• ``` +=(_:_:) ```

Assigns `lhs + rhs` to `lhs`.

#### Declaration

Swift

``public func += (lhs: inout BigDecimal, rhs: BigDecimal)``

#### Parameters

 ``` lhs ``` lhs operand. ``` rhs ``` rhs operand.
• ``` -=(_:_:) ```

Assigns `lhs - rhs` to `lhs`.

#### Declaration

Swift

``public func -= (lhs: inout BigDecimal, rhs: BigDecimal)``

#### Parameters

 ``` lhs ``` lhs operand. ``` rhs ``` rhs operand.
• ``` *=(_:_:) ```

Assigns `lhs * rhs` to `lhs`.

#### Declaration

Swift

``public func *= (lhs: inout BigDecimal, rhs: BigDecimal)``

#### Parameters

 ``` lhs ``` lhs operand. ``` rhs ``` rhs operand.
• ``` /=(_:_:) ```

Assigns `lhs / rhs` to `lhs`.

#### Declaration

Swift

``public func /= (lhs: inout BigDecimal, rhs: BigDecimal)``

#### Parameters

 ``` lhs ``` lhs operand. ``` rhs ``` rhs operand.
• ``` %=(_:_:) ```

Assigns `lhs % rhs` to `lhs`.

#### Declaration

Swift

``public func %= (lhs: inout BigDecimal, rhs: BigDecimal)``

#### Parameters

 ``` lhs ``` lhs operand. ``` rhs ``` rhs operand.
• ``` >(_:_:) ```

#### Declaration

Swift

``public func > (lhs: BigDecimal, rhs: BigDecimal) -> Bool``

#### Parameters

 ``` lhs ``` lhs operand. ``` rhs ``` rhs operand.

#### Return Value

`lhs > rhs`.

• ``` >=(_:_:) ```

#### Declaration

Swift

``public func >= (lhs: BigDecimal, rhs: BigDecimal) -> Bool``

#### Parameters

 ``` lhs ``` lhs operand. ``` rhs ``` rhs operand.

#### Return Value

`lhs >= rhs`.

• ``` <(_:_:) ```

#### Declaration

Swift

``public func < (lhs: BigDecimal, rhs: BigDecimal) -> Bool``

#### Parameters

 ``` lhs ``` lhs operand. ``` rhs ``` rhs operand.

#### Return Value

`lhs < rhs`.

• ``` <=(_:_:) ```

#### Declaration

Swift

``public func <= (lhs: BigDecimal, rhs: BigDecimal) -> Bool``

#### Parameters

 ``` lhs ``` lhs operand. ``` rhs ``` rhs operand.

#### Return Value

`lhs <= rhs`.

• ``` !=(_:_:) ```

#### Declaration

Swift

``public func != (lhs: BigDecimal, rhs: BigDecimal) -> Bool``

#### Parameters

 ``` lhs ``` lhs operand. ``` rhs ``` rhs operand.

#### Return Value

`lhs != rhs`.

• ``` ==(_:_:) ```

#### Declaration

Swift

``public func == (lhs: BigDecimal, rhs: BigDecimal) -> Bool``

#### Parameters

 ``` lhs ``` lhs operand. ``` rhs ``` rhs operand.

#### Return Value

`lhs == rhs`.

• ``` +(_:_:) ```

#### Declaration

Swift

``public func + (lhs: BigInteger, rhs: BigInteger) -> BigInteger``

#### Parameters

 ``` lhs ``` lhs operand. ``` rhs ``` rhs operand.

#### Return Value

`lhs + rhs`.

• ``` -(_:_:) ```

#### Declaration

Swift

``public func - (lhs: BigInteger, rhs: BigInteger) -> BigInteger``

#### Parameters

 ``` lhs ``` lhs operand. ``` rhs ``` rhs operand.

#### Return Value

`lhs - rhs`.

• ``` *(_:_:) ```

#### Declaration

Swift

``public func * (lhs: BigInteger, rhs: BigInteger) -> BigInteger``

#### Parameters

 ``` lhs ``` lhs operand. ``` rhs ``` rhs operand.

#### Return Value

`lhs * rhs`.

• ``` /(_:_:) ```

#### Declaration

Swift

``public func / (lhs: BigInteger, rhs: BigInteger) -> BigInteger``

#### Parameters

 ``` lhs ``` lhs operand. ``` rhs ``` rhs operand.

#### Return Value

`lhs / rhs`.

• ``` %(_:_:) ```

#### Declaration

Swift

``public func % (lhs: BigInteger, rhs: BigInteger) -> BigInteger``

#### Parameters

 ``` lhs ``` lhs operand. ``` rhs ``` rhs operand.

#### Return Value

`lhs % rhs`.

• ``` +=(_:_:) ```

Assigns `lhs + rhs` to `lhs`.

#### Declaration

Swift

``public func += (lhs: inout BigInteger, rhs: BigInteger)``

#### Parameters

 ``` lhs ``` lhs operand. ``` rhs ``` rhs operand.
• ``` -=(_:_:) ```

Assigns `lhs - rhs` to `lhs`.

#### Declaration

Swift

``public func -= (lhs: inout BigInteger, rhs: BigInteger)``

#### Parameters

 ``` lhs ``` lhs operand. ``` rhs ``` rhs operand.
• ``` *=(_:_:) ```

Assigns `lhs * rhs` to `lhs`.

#### Declaration

Swift

``public func *= (lhs: inout BigInteger, rhs: BigInteger)``

#### Parameters

 ``` lhs ``` lhs operand. ``` rhs ``` rhs operand.
• ``` /=(_:_:) ```

Assigns `lhs / rhs` to `lhs`.

#### Declaration

Swift

``public func /= (lhs: inout BigInteger, rhs: BigInteger)``

#### Parameters

 ``` lhs ``` lhs operand. ``` rhs ``` rhs operand.
• ``` %=(_:_:) ```

Assigns `lhs % rhs` to `lhs`.

#### Declaration

Swift

``public func %= (lhs: inout BigInteger, rhs: BigInteger)``

#### Parameters

 ``` lhs ``` lhs operand. ``` rhs ``` rhs operand.
• ``` >(_:_:) ```

#### Declaration

Swift

``public func > (lhs: BigInteger, rhs: BigInteger) -> Bool``

#### Parameters

 ``` lhs ``` lhs operand. ``` rhs ``` rhs operand.

#### Return Value

`lhs > rhs`.

• ``` >=(_:_:) ```

#### Declaration

Swift

``public func >= (lhs: BigInteger, rhs: BigInteger) -> Bool``

#### Parameters

 ``` lhs ``` lhs operand. ``` rhs ``` rhs operand.

#### Return Value

`lhs >= rhs`.

• ``` <(_:_:) ```

#### Declaration

Swift

``public func < (lhs: BigInteger, rhs: BigInteger) -> Bool``

#### Parameters

 ``` lhs ``` lhs operand. ``` rhs ``` rhs operand.

#### Return Value

`lhs < rhs`.

• ``` <=(_:_:) ```

#### Declaration

Swift

``public func <= (lhs: BigInteger, rhs: BigInteger) -> Bool``

#### Parameters

 ``` lhs ``` lhs operand. ``` rhs ``` rhs operand.

#### Return Value

`lhs <= rhs`.

• ``` !=(_:_:) ```

#### Declaration

Swift

``public func != (lhs: BigInteger, rhs: BigInteger) -> Bool``

#### Parameters

 ``` lhs ``` lhs operand. ``` rhs ``` rhs operand.

#### Return Value

`lhs != rhs`.

• ``` ==(_:_:) ```

#### Declaration

Swift

``public func == (lhs: BigInteger, rhs: BigInteger) -> Bool``

#### Parameters

 ``` lhs ``` lhs operand. ``` rhs ``` rhs operand.

#### Return Value

`lhs == rhs`.

• ``` xs_immortalize(_:) ```

Undocumented

#### Declaration

Swift

``public func xs_immortalize<T>(_ o: T) -> T where T : AnyObject``