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
tolhs
.Declaration
Swift
public func += (lhs: inout BigDecimal, rhs: BigDecimal)
Parameters
lhs
lhs operand.
rhs
rhs operand.
-
Assigns
lhs - rhs
tolhs
.Declaration
Swift
public func -= (lhs: inout BigDecimal, rhs: BigDecimal)
Parameters
lhs
lhs operand.
rhs
rhs operand.
-
Assigns
lhs * rhs
tolhs
.Declaration
Swift
public func *= (lhs: inout BigDecimal, rhs: BigDecimal)
Parameters
lhs
lhs operand.
rhs
rhs operand.
-
Assigns
lhs / rhs
tolhs
.Declaration
Swift
public func /= (lhs: inout BigDecimal, rhs: BigDecimal)
Parameters
lhs
lhs operand.
rhs
rhs operand.
-
Assigns
lhs % rhs
tolhs
.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
tolhs
.Declaration
Swift
public func += (lhs: inout BigInteger, rhs: BigInteger)
Parameters
lhs
lhs operand.
rhs
rhs operand.
-
Assigns
lhs - rhs
tolhs
.Declaration
Swift
public func -= (lhs: inout BigInteger, rhs: BigInteger)
Parameters
lhs
lhs operand.
rhs
rhs operand.
-
Assigns
lhs * rhs
tolhs
.Declaration
Swift
public func *= (lhs: inout BigInteger, rhs: BigInteger)
Parameters
lhs
lhs operand.
rhs
rhs operand.
-
Assigns
lhs / rhs
tolhs
.Declaration
Swift
public func /= (lhs: inout BigInteger, rhs: BigInteger)
Parameters
lhs
lhs operand.
rhs
rhs operand.
-
Assigns
lhs % rhs
tolhs
.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
. -
Undocumented
Declaration
Swift
public func xs_immortalize<T>(_ o: T) -> T where T : AnyObject