UShortOperator

Ecng.Common

Implements arithmetic operations for unsigned short integers.

Inherits: BaseOperator<ushort>

Methods

Add
public override ushort Add(ushort first, ushort second)
result = uShortOperator.Add(first, second)

Adds two unsigned short integers.

Compare
public override int Compare(ushort first, ushort second)
result = uShortOperator.Compare(first, second)

Compares two unsigned short integers.

Divide
public override ushort Divide(ushort first, ushort second)
result = uShortOperator.Divide(first, second)

Divides the first unsigned short integer by the second.

Multiply
public override ushort Multiply(ushort first, ushort second)
result = uShortOperator.Multiply(first, second)

Multiplies two unsigned short integers.

Subtract
public override ushort Subtract(ushort first, ushort second)
result = uShortOperator.Subtract(first, second)

Subtracts the second unsigned short integer from the first.