Back to Aurora Vision Library Lite website

You are here: Start » All Functions » Integer » Modulo

Modulo


This is Filter Equivalent. This function may be present in generated code, but should not be used in hand-written code.

Header: STD.h
Namespace: avl

Computes remainder of integer division of two numbers.

Syntax

void avl::Modulo
(
	int inA,
	int inB,
	int& outRemainder
)

Parameters

Name Type Default Description
Input value inA int 0
Input value inB int 1
Output value outRemainder int&

Errors

List of possible exceptions:

Error type Description
DomainError Divisor is equal to zero on input in Modulo.