public abstract static class MathArithTypeEnum.DivideBigDecConvComputerBase extends Object implements MathArithTypeEnum.Computer
Modifier and Type | Method and Description |
---|---|
CodegenExpression |
codegen(CodegenMethodScope codegenMethodScope,
CodegenClassScope codegenClassScope,
CodegenExpressionRef left,
CodegenExpressionRef right,
EPTypeClass ltype,
EPTypeClass rtype) |
Number |
compute(Number d1,
Number d2)
Computes using the 2 numbers a result number.
|
abstract Number |
doDivide(BigDecimal s1,
BigDecimal s2) |
abstract CodegenExpression |
doDivideCodegen(CodegenExpressionRef s1,
CodegenExpressionRef s2,
CodegenClassScope codegenClassScope) |
public abstract Number doDivide(BigDecimal s1, BigDecimal s2)
public abstract CodegenExpression doDivideCodegen(CodegenExpressionRef s1, CodegenExpressionRef s2, CodegenClassScope codegenClassScope)
public Number compute(Number d1, Number d2)
MathArithTypeEnum.Computer
compute
in interface MathArithTypeEnum.Computer
d1
- is the first numberd2
- is the second numberpublic CodegenExpression codegen(CodegenMethodScope codegenMethodScope, CodegenClassScope codegenClassScope, CodegenExpressionRef left, CodegenExpressionRef right, EPTypeClass ltype, EPTypeClass rtype)
codegen
in interface MathArithTypeEnum.Computer
Copyright © 2005–2022. All rights reserved.