From aaf8dc790f27b1364fe43c9a841b478fb123f5eb Mon Sep 17 00:00:00 2001 From: Myun2 Date: Sat, 16 Oct 2010 00:31:16 +0900 Subject: [PATCH] math/gcd_lcm.hpp Add. --- roast/include/roast/math/gcd_lcm.hpp | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 roast/include/roast/math/gcd_lcm.hpp diff --git a/roast/include/roast/math/gcd_lcm.hpp b/roast/include/roast/math/gcd_lcm.hpp new file mode 100644 index 00000000..1b4a63cf --- /dev/null +++ b/roast/include/roast/math/gcd_lcm.hpp @@ -0,0 +1,20 @@ +// Roast+ License + +/* + +*/ +#ifndef __SFJP_ROAST__math__gcd_lcm_HPP__ +#define __SFJP_ROAST__math__gcd_lcm_HPP__ + +namespace roast +{ + template + T gcd_(T a, T b) + { + } + + int gcd(int a, int b){ return gcd_(a,b); } + +}//end of namespace roast + +#endif//__SFJP_ROAST__math__gcd_lcm_HPP__ -- 2.11.0