BigNumCalc Namespace

Concepts

public concept BigValueType<T>

Classes

public class BigFloatValue
public class BigIntValue
public class BigRationalValue
public abstract class BigValue
public class EvaluationStack

Functions

public inline BigValue* Add<BigValueT>(BigValue* left, BigValue* right)
public BigValue* BinaryEvaluate<BigValueT, Op>(BigValue* left, BigValue* right, Op op)
public nothrow BigNumKind CommonType(BigNumKind left, BigNumKind right)
public inline BigValue* Div<BigValueT>(BigValue* left, BigValue* right)
public BigValue* Evaluate(BigValue* left, BigValue* right, uchar op)
public BigValue* Evaluate(BigValue* operand, uchar op)
public nothrow BinaryOperatorDelegate GetBinaryOperatorDelegate(uchar op, BigNumKind kind)
public nothrow UnaryOperatorDelegate GetUnaryOperatorDelegate(uchar op, BigNumKind kind)
public inline BigValue* Mul<BigValueT>(BigValue* left, BigValue* right)
public BigValue* ParseBigFloat(const Token& token)
public BigValue* ParseBigInteger(const Token& token)
public BigValue* ParseBigRational(const Token& token)
public inline BigValue* Sub<BigValueT>(BigValue* left, BigValue* right)
public BigValue* UnaryEvaluate<BigValueT, Op>(BigValue* operand, Op op)
public inline BigValue* UnaryMinus<BigValueT>(BigValue* operand)
public inline BigValue* UnaryPlus<BigValueT>(BigValue* operand)

Delegates

public delegate BigValue* BinaryOperatorDelegate(BigValue * left, BigValue * right)
public delegate BigValue* UnaryOperatorDelegate(BigValue * operand)

Enumerated Types

public enum BigNumKind

Function Details

Add Function

public inline BigValue* Add<BigValueT>(BigValue* left, BigValue* right)

Template Parameters
BigValueT
Constraint
BigValueT  is  BigValueType
Definition
Line 104 of BigNumCalc/Evaluator.cm


BinaryEvaluate Function

public BigValue* BinaryEvaluate<BigValueT, Op>(BigValue* left, BigValue* right, Op op)

Template Parameters
BigValueT
Op
Constraint
BigValueT  is  BigValueType  and  Op  is  BinaryFunction
Definition
Line 96 of BigNumCalc/Evaluator.cm


CommonType Function

public nothrow BigNumKind CommonType(BigNumKind left, BigNumKind right)

Definition
Line 11 of BigNumCalc/BigValue.cm


Div Function

public inline BigValue* Div<BigValueT>(BigValue* left, BigValue* right)

Template Parameters
BigValueT
Constraint
BigValueT  is  BigValueType
Definition
Line 119 of BigNumCalc/Evaluator.cm


Evaluate Function

public BigValue* Evaluate(BigValue* left, BigValue* right, uchar op)

Definition
Line 175 of BigNumCalc/Evaluator.cm


Evaluate Function

public BigValue* Evaluate(BigValue* operand, uchar op)

Definition
Line 75 of BigNumCalc/Evaluator.cm


GetBinaryOperatorDelegate Function

public nothrow BinaryOperatorDelegate GetBinaryOperatorDelegate(uchar op, BigNumKind kind)

Definition
Line 126 of BigNumCalc/Evaluator.cm


GetUnaryOperatorDelegate Function

public nothrow UnaryOperatorDelegate GetUnaryOperatorDelegate(uchar op, BigNumKind kind)

Definition
Line 46 of BigNumCalc/Evaluator.cm


Mul Function

public inline BigValue* Mul<BigValueT>(BigValue* left, BigValue* right)

Template Parameters
BigValueT
Constraint
BigValueT  is  BigValueType
Definition
Line 114 of BigNumCalc/Evaluator.cm


ParseBigFloat Function

public BigValue* ParseBigFloat(const Token& token)

Definition
Line 7 of BigNumCalc/BigNumParser.cm


ParseBigInteger Function

public BigValue* ParseBigInteger(const Token& token)

Definition
Line 22 of BigNumCalc/BigNumParser.cm


ParseBigRational Function

public BigValue* ParseBigRational(const Token& token)

Definition
Line 13 of BigNumCalc/BigNumParser.cm


Sub Function

public inline BigValue* Sub<BigValueT>(BigValue* left, BigValue* right)

Template Parameters
BigValueT
Constraint
BigValueT  is  BigValueType
Definition
Line 109 of BigNumCalc/Evaluator.cm


UnaryEvaluate Function

public BigValue* UnaryEvaluate<BigValueT, Op>(BigValue* operand, Op op)

Template Parameters
BigValueT
Op
Constraint
BigValueT  is  BigValueType  and  Op  is  UnaryFunction
Definition
Line 27 of BigNumCalc/Evaluator.cm


UnaryMinus Function

public inline BigValue* UnaryMinus<BigValueT>(BigValue* operand)

Template Parameters
BigValueT
Constraint
BigValueT  is  BigValueType
Definition
Line 39 of BigNumCalc/Evaluator.cm


UnaryPlus Function

public inline BigValue* UnaryPlus<BigValueT>(BigValue* operand)

Template Parameters
BigValueT
Constraint
BigValueT  is  BigValueType
Definition
Line 34 of BigNumCalc/Evaluator.cm