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.

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&

Hints

  • This is a primitive mathematical filter. It is recommended to use Formula Blocks instead.

Errors

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