IntegersBinaryMathFunction

abstract class IntegersBinaryMathFunction: BinaryMathFunction

Base class to implement math functions accepting only integers

Constructors

<init>

constructor(name: String)

Base class to implement math functions accepting only integers

Parameters

Name Description
name: String

the function name

Methods

mathFunction

protected open fun mathFunction(real: Real, integer: Integer, context: ExecutionContext): Numeric

The actual math function implementation, for Real and Integer

Parameters

Name Description
real: Real
integer: Integer
context: ExecutionContext

ReturnValue

Name Description
Numeric

mathFunction

protected open fun mathFunction(integer: Integer, real: Real, context: ExecutionContext): Numeric

The actual math function implementation, for Integer and Real

Parameters

Name Description
integer: Integer
real: Real
context: ExecutionContext

ReturnValue

Name Description
Numeric

mathFunction

protected open fun mathFunction(real1: Real, real2: Real, context: ExecutionContext): Numeric

The actual math function implementation, for Reals

Parameters

Name Description
real1: Real
real2: Real
context: ExecutionContext

ReturnValue

Name Description
Numeric