Artificial intelligent assistant

Understanding int() and mod() functions as used in this formula **Context:** SCOM metric to measure software class cohesion **Paper:** A SENSITIVE METRIC OF CLASS COHESION by Luis Fernández and Rosalía Peña. The equation in question is on page 86: $S(m,a) = \frac 12[1 + int(\frac {m-1}a)][mod(\frac {m-1}a) + m -1]$ Where `m` is the number of methods of a class and `a` is the number of attributes of the class. I believe the `int()` function used here is the Integer Part function. **But what is the meaning of the`mod()` function?** I can't find a reference to the modulus function where it takes just one argument therefore I can't say for sure that that's what it means.

By comparing with the line immediately above it in the paper, and assuming the authors didn't make a typo, it must be the fractional part, which is sometimes considered as "modulo 1". I suppose for these authors, the second argument of "mod" can be dropped when it is 1.

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy 499426f32b866cb089d26b624150a29b