- 
                Notifications
    You must be signed in to change notification settings 
- Fork 35
T_CodeJam_Arithmetic_Operators_1
        Andrew Koryavchenko edited this page Jun 17, 2018 
        ·
        10 revisions
      
    Callbacks for common arithmetic actions. Look at OperatorsPerformanceTest to see why.
Callbacks for common arithmetic actions. Look at OperatorsPerformanceTest to see why.
System.Object
  CodeJam.Arithmetic.Operators(T)
Namespace: CodeJam.Arithmetic
Assembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0
C#
public static class Operators<T>VB
Public NotInheritable Class Operators(Of T)F#
[<AbstractClassAttribute>]
[<SealedAttribute>]
type Operators<'T> =  class end
- T
- The type of the operands.
| Name | Description | |
|---|---|---|
|    | AreEqual | AreEqual operator. | 
|    | AreNotEqual | AreNotEqual operator. | 
|    | BitwiseAnd | BitwiseAnd operator. | 
|    | BitwiseOr | BitwiseOr operator. | 
|    | Compare | Comparison callback | 
|    | Div | Div operator. | 
|    | GreaterThan | GreaterThan operator. | 
|    | GreaterThanOrEqual | GreaterThanOrEqual operator. | 
|    | HasNaN | Check for the NaN value. | 
|    | HasNegativeInfinity | Check for the negative infinity value. | 
|    | HasPositiveInfinity | Check for the positive infinity value. | 
|    | LeftShift | LeftShift operator. | 
|    | LessThan | LessThan operator. | 
|    | LessThanOrEqual | LessThanOrEqual operator. | 
|    | Minus | Minus operator. | 
|    | Modulo | Modulo operator. | 
|    | Mul | Mul operator. | 
|    | NaN | NaN value | 
|    | NegativeInfinity | Negative infinity value | 
|    | OnesComplement | OnesComplement operator. | 
|    | Plus | Plus operator. | 
|    | PositiveInfinity | Positive infinity value | 
|    | RightShift | RightShift operator. | 
|    | UnaryMinus | UnaryMinus operator. | 
|    | Xor | Xor operator. |