modulus

Determines the modulus of the first by the second argument and returns the result.

  template <class T> struct modulus : binary_function<T,T,T> 
  {
     T operator()(const T& x, const T& y) const;
  };  
Remarks

Returns x modulus y.