MSiFloor


Routine

int MSiFloor (int n, int m)

Purpose

Floor function for the ratio of two integers

Description

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

Parameters

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

Author / revision

P. Kabal / Revision 1.5 2003/05/09

See Also

MSiCeil, MSlCeil, MSlFloor


Main Index libtsp