Back to Adaptive Vision Library website

You are here: Start » Function Reference » 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
inA int 0
inB int 1
outRemainder int&

Errors

List of possible exceptions:

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