SByteOperator

Ecng.Common

Implements arithmetic operations for signed byte values.

Inherits: BaseOperator<sbyte>

Methods

Add
public override sbyte Add(sbyte first, sbyte second)
result = sByteOperator.Add(first, second)

Adds two sbyte values.

Compare
public override int Compare(sbyte first, sbyte second)
result = sByteOperator.Compare(first, second)

Compares two sbyte values.

Divide
public override sbyte Divide(sbyte first, sbyte second)
result = sByteOperator.Divide(first, second)

Divides the first sbyte value by the second.

Multiply
public override sbyte Multiply(sbyte first, sbyte second)
result = sByteOperator.Multiply(first, second)

Multiplies two sbyte values.

Subtract
public override sbyte Subtract(sbyte first, sbyte second)
result = sByteOperator.Subtract(first, second)

Subtracts the second sbyte value from the first.