/*------------------------------------------------------------------*/ /* mymath.h (Version 4) */ /*------------------------------------------------------------------*/ #ifndef MYMATH_INCLUDED #define MYMATH_INCLUDED int MyMath_gcd(int iFirst, int iSecond); /* Return the greatest common divisor of iFirst and iSecond. It is a checked runtime error for iFirst or iSecond to be negative or zero. */ int MyMath_lcm(int iFirst, int iSecond); /* Return the least common multiple of iFirst and iSecond. It is a checked runtime error for iFirst or iSecond to be negative or zero. */ #endif