MSiCeil


Routine

int MSiCeil (int n, int m)

Purpose

Ceiling function for the ratio of two integers

Description

This routine calculates the ceiling function of the ratio n/m. It returns the smallest integer that is greater than or equal to the quotient.

Parameters

<- int MSiCeil
Returned integer value
-> int n
Input value (numerator)
-> int m
Input value (denominator)

Author / revision

P. Kabal / Revision 1.8 2003/05/09

See Also

MSiFloor, MSlCeil, MSlFloor


Main Index libtsp