Addition

object Addition: BinaryMathFunction

Implementation of '+'/2 arithmetic functor

Methods

mathFunction

protected fun mathFunction(integer1: Integer, integer2: Integer, context: ExecutionContext): Numeric

The actual math function implementation, for Integers

Parameters

Name Description
integer1: Integer
integer2: Integer
context: ExecutionContext

ReturnValue

Name Description
Numeric

mathFunction

protected 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 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 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