#include <iostream>

/**
 * A floating class
 */
class floating
{
public:
  float value;
  
  floating(float val)
  { value = val; };
};

/// A floating operator
int operator%(floating lhs, int rhs)
{
  return int(lhs.value) % rhs;
}

/**
 * A Toy example
 */
int main(int argc, char ** argv)
{ 
  int result = floating(3.5) % 2;
  std::cout << "result==" << result << std::endl;
  return 0; 
}
