-
Notifications
You must be signed in to change notification settings - Fork 35
T_CodeJam_Arithmetic_OperatorsFactory
Andrew Koryavchenko edited this page Jun 17, 2018
·
6 revisions
Helper class to emit operators logic
System.Object
CodeJam.Arithmetic.OperatorsFactory
Namespace: CodeJam.Arithmetic
Assembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0
C#
public static class OperatorsFactoryVB
Public NotInheritable Class OperatorsFactoryF#
[<AbstractClassAttribute>]
[<SealedAttribute>]
type OperatorsFactory = class endThe OperatorsFactory type exposes the following members.
| Name | Description | |
|---|---|---|
![]()
|
BinaryOperator(T) | Binary operator factory method. |
![]()
|
ClearFlagOperator(T) | Emits code for (value & ~flag) operator. |
![]()
|
Comparison(T) | Comparison factory method.. |
![]()
|
ComparisonOperator(T) | Compare operator factory method.. |
![]()
|
GetNaN(T) | Returns the NaN value. |
![]()
|
GetNegativeInfinity(T) | Returns the negative infinity value. |
![]()
|
GetPositiveInfinity(T) | Returns the positive infinity value. |
![]()
|
HasNaN(T) | Determines whether the type has NaN value. |
![]()
|
HasNegativeInfinity(T) | Determines whether the type has negative infinity value. |
![]()
|
HasPositiveInfinity(T) | Determines whether the type has positive infinity value. |
![]()
|
IsAnyFlagSetOperator(T) | Emits code for (flag == 0) || ((value & flag) != 0) check. |
![]()
|
IsFlagSetOperator(T) | Emits code for (value & flag) == flag check. |
![]()
|
SetFlagOperator(T) | Emits code for (value | flag) operator. |
![]()
|
UnaryOperator(T) | Unary operator factory method. |
